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

Error message coming on screen when uploading file

SA-23640

Summary



When user attempts to attach a file, "This action is not allowed as it is outside the current transaction." message appears on the screen.


Error Messages



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


Steps to Reproduce



1) Create a FilePath custom control using tools api.
2) Create a AttachFile Button custom control using tools api.
3) Add the FilePath and AttachFile controls in section.
4) Run the use case and try uploading file to see the error message.


Root Cause



A software use or operation error : The custom controls created by the user in pre Pega 7 (PRPC 5.5) for the application. This custom controls has unhandled Save operations and Commits. So the error occurs.

Resolution



Perform the following local-change:

1) Replace the custom FilePath control with Out-of-the-box (OOTB) FilePath control.
2) Replace AttachFile Button with OOTB pxButton and configured  onclick to RunActivity to run the custom activity to upload the file.



 

Published May 25, 2016 - Updated October 8, 2020

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