Support Article

Transaction not allowed as it is outside the current transaction

SA-28355

Summary



The application was upgraded from PRPC 6.2 to Pega 7.1.9. An error message appears on clicking Add all in modal dialog post upgrade.

Error Messages



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

Steps to Reproduce

  1. Create a button.
  2. Configure the button with Run Activity, Flow in modal dialog, Refresh other section, Save, and Refresh other section actions.
  3. In modal dialog, click Add All in modal dialog. Add All link is configured with Refresh other section with activity.

Root Cause



A defect in Pegasystems’ code or rules:
The actions configured in Step 2 has many commits to database. Hence, pzTransactionId is not in sync due to these actions.


Resolution



Perform the following local-change:
  1. Remove the commits in the activities.
  2. Select Disable submit on refresh check box for Refresh other Section actions.

Published September 30, 2016 - Updated October 8, 2020


100% found this useful

Have a question? Get answers now.

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