Support Article
Action outside current transaction error
SA-11720
Summary
An error is displayed when adding an attachment.
Error Messages
This action is not allowed as it is outside current transc+
OR
This action is not allowed as it is outside current transaction
Steps to Reproduce
Attach an item to a work item. Click Submit.
Root Cause
The root cause of this problem is a backward compatibility defect in Pegasystems’ code/rules.
The issue is because the wrong pzFromFrame value “ActionFrame” is used while attaching a document. On a working system, you would see the value being “pyWorkPage” for pzFromFrame instead of "ActionFrame".
A customized version of Work-.Action section dating from PRPC 5.5 SP1 is used.
The Work-.Action section is deprecated.
In PRPC 6, it is recommended to upgrade to the Work-.pyActionArea:
https://pdn.pega.com/node/1894
In Pega 7, it is recommended to upgrade to dynamic container:
https://pdn.pega.com/node/20831
Furthermore, the following PDN article document explains the kind of issue that could be experienced if the deprecated Work-.Action section is used.
https://pdn.pega.com/node/283321
Resolution
This issue is resolved through the following local-change:
Upgrade Work-.Action section to dynamic container component (ideally) or to Work-.pyActionArea.
Published August 10, 2015 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.