Discussion

5
Replies
7354
Views
MGR007 Member since 2008 54 posts
Incessant Technologies
Posted: 4 years ago
Last activity: 4 years 4 months ago
Closed

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

Hi,

After upgrading from v5.5 to 7.1.9, some of our flow action reference ActionAutoSubmit HTML to submit flow action as soon they are selection from OtherAction option. After upgrade they are not working, getting error "This action is not allowed as it is outside the current transaction." When i further checked the html rule i see it is final rule in ruleset Pega-EndUserUI:07-10-19.

To try some other test, in my flow i included goback OOB flowaction to do Autosubmit, that is also throwing same error. I saw in some forum topic it says this issue was addressed in 7.1.7. But for us not working. This HTMl has following code.... any idea or help why it is not working as expected please ?

<SCRIPT>
<%
String strMessages = tools.getPrimaryPage().getMessagesAll();
if(strMessages.length() == 0)
{
tools.appendString("if(window.name != null && typeof(window.name) != \"undefined\" && window.name == \"actionIFrame\" ){");
tools.appendString("pega.util.Event.addListener(window,\"load\",doSubmit);");
tools.appendString("}else{");
/*BUG-168564: Updated doSubmit to call after loading all files. */
tools.appendString("pega.u.d.attachOnload(doSubmit, true);}");
}
%>
</SCRIPT>

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Low-Code App Development Upgrades
Moderation Team has archived post
Share this page LinkedIn