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

Action not allowed since it is outside the current transaction

SA-71736

Summary



A transaction error occurs sporadically when attaching a document to a work object.


Error Messages



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


Steps to Reproduce



Attach a document.


Root Cause



An issue in the custom application code or rules.
Multiple Refresh Section calls are triggered from the same control. One of these Refresh Section calls, invokes an activity that triggers a commit.



Resolution



Perform either of the following local-changes:
  • Utilize an activity that does not perform a commit. When an action other than the work object or assignment absolutely must be persisted to the database without waiting for flow processing, use an Obj-Save with the Write-now option.
  • Perform an additional refresh section through other means, outside the scope of the control that triggers the refresh who's activity calls the commit.
Suggest Edit

Published April 12, 2019 - Updated 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