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

Outside Current Transaction error (sporadic)



Error message  is observed randomly when performing through the flow.

Error Messages

'This Action is not allowed as it is outside the current transaction'

Steps to Reproduce

  1. Log in to the system.
  2. Run the search (Randomly occurs).
  3. Navigate to Interaction Manager.
  4. Switch contracts (Randomly occurs).
  5. Launch Intents.
  6. Process Intents (Randomly occurs).

Root Cause

The root cause of this problem is a defect in your custom application code or rules.

A comparison of the Tracers (both of working and non-working case) found that refresh of the ToDo list was not happening for the scenario described here. Your custom control is the root cause of the issue because the COMMIT statement definitely changes the transaction ID and User. It is not refreshing the ToDo list while handling the response, which otherwise should have been taken care. 


Perform the following local change:

Insert the following code snippet in the success callback of the JavaScript menthod in the custom control. 

                         ------- code-snippet ---------
                        /* Fix for error on screen 'This Action is not allowed as it is outside the current transaction' */
                        var divActionArea = pega.u.d.getSectionByName("CPMTakeActionArea","", parent.document);
                        pega.u.d.reloadSection(divActionArea, '', '', false, false, '-1', false);
                        /* End of fix */


Published July 8, 2015 - Updated December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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