Support Article
Action is not allowed as it is outside the current transaction
SA-30280
Summary
Clicking on a button in the pop up window closes and the main window displays "This action is not allowed as it is outside the current transaction." error on the screen.
Error Messages
"This action is not allowed as it is outside the current transaction."
Steps to Reproduce
1.Configure a button to open popup.
2.In Popup, configure button with name "Sync" and on click Run activity and Run script.
3.In the script function implement selft.close() and parentwindow refresh API.
Root Cause
A software use or operation error.
While RunScript method is reloading the parent window, it has the old transaction id as the RunActivity action already updated the transaction id in the DB.
Resolution
Perform the following local-change:
User should remove the parent window reload api in script method and on the 'Sync' Button. This refresh of the parent window should be done upon demand.
Published November 18, 2016 - 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.