Support Article
ActionAutoSubmit HTML rule doesn't auto-submit
SA-949
Summary
On testing a scenario as per https://pdn.pega.com/process/how-to-route-an-initial-screen-flow-to-a-workbasket ,the resulting UI does not actually auto-submit.
Error Messages
The following JavaScript error can be seen in Chrome.
Uncaught TypeError: undefined is not a function
Call stack: (anonymous function) -> doSubmit -> doFormSubmit
The anonymous function is the inline JavaScript that is configured in the ActionAutoSubmit HTML rule
Steps to Reproduce
1. Use a flow that is Start -> WorkBasket assignment -> Screenflow Subflow -> End
2. Create a new Flow Action that specifies "Reference HTML" for "HTML Generation" on the HTML tab. Set "HTML Reference" to "ActionAutoSubmit"
3. Apply the flow action to the connector between the WorkBasket assignment and the Screenflow subflow
4. Run the flow
5. Click on the WorkBasket assignment to perform it
Resolution
This issue is scheduled to be resolved in 7.1.7.
Published June 12, 2015 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.