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

Unable to refresh parent window from child window

SA-31461

Summary




The user has opened the child window by using open url in new window action. While closing child window, the user is refreshing the parent window. So after refreshing the parent window it is throwing 

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

 

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 and on click Run activity and Run script.
  3. In the script function implement self.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



The user should remove the parent window reload api in script method and on the Button. This refresh of the parent window should be done upon demand by configuring a button with refresh this section action.

Published December 22, 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