Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

pzPega_ui_roboticAutomation pzFromFrame transaction JSON error



A JSON parsing error occurs on opening a Case or a Claim from the Recent Items sidebar. This occurs at Line 28 of the pzPega_ui_roboticAutomation.js JavaScript file where the response.responseText is not a JSON string and an error message displays instead.

Error Messages

Unexpected token T in JSON at position 0. 

Error message: This action is not allowed as it is outside the current transaction”.

Steps to Reproduce

Invoke the pega.ui.roboticAutomation.runAutomation with pzFromFrame including a value.

Root Cause

An issue in the custom application code  or rules.
The customized JavaScript launched two requests in parallel. The first request is submitModalFlowAction:InvokeEmulator and the second request (which fails) attempted to execute the pzGetRDAURLWithToken activity. The first request changed the pzTransactionID because of a commit. However, the second request still used the old pzTransactionID and it failed. The application originally launched an actual modal window which required a user input and this sequence is successful. At the request of the user, the modal popup is suppressed with the custom JavaScript.


Perform the following local-change:

Modify the customized JavaScript such that the requests are not launched in parallel.
Suggest Edit

Published December 2, 2021

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us