Unable to refresh parent window from child window
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.
"This action is not allowed as it is outside the current transaction."
Steps to Reproduce
- Configure a button to open popup.
- In Popup, configure button and on click Run activity and Run script.
- In the script function implement self.close() and parentwindow refresh API.
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.
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.