Discussion

5
Replies
7384
Views
Close popover
Ravindra Mandya Girigowda (MGR007)
Coforge Tech
Pega Lead System Architect
Coforge Tech
US
MGR007 Member since 2008 55 posts
Coforge Tech
Posted: January 21, 2016
Last activity: April 6, 2018
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.

System Administration Upgrades
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Discussion, please write a new Discussion.