Support Article

ActionAutoSubmit HTML does not work



Auto submit functionality that uses the out-of-the-box ActionAutoSubmit HTML fragment in a flow action, generates an error in Internet Explorer (IE) browser.

Error Messages

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

Steps to Reproduce

  1. Add ActionAutoSubmit HTML in a flow action
  2. Execute the flow in IE

Root Cause

An issue in the custom application code or rules. Using out-of-the-box ActionAutoSubmit HTML fragment is deprecated for a flow action. Additionally, in IE browser, the scripts and the CSS take additional time to load and before the screen is rendered completely, the autosubmit action is triggered as it is used in the flow action.


Perform the following local-change:

Create a new HTML rule with the below script and use this in the flow action:

vardoActionAutoSubmit = function(){



String strMessages = tools.getPrimaryPage().getMessagesAll();
if(strMessages.length() == 0)
tools.appendString("if( != null && typeof( != \"undefined\" && == \"actionIFrame\" ){");
/*BUG-168564: Updated doSubmit to call after loading all files. */
tools.appendString("pega.u.d.attachOnload(doActionAutoSubmit, true);}");

Published June 29, 2017 - Updated August 4, 2017

100% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.