Support Article
GoBack flow action is not auto submitting when message exist
SA-9572
Summary
In Pega 7.1.5, when the 'Go Back' flow action is used, irrespective of whether it is having page message or not, always used to auto submit. With Pega 7 it is displaying the flow action with 'Submit' and 'Cancel' and requires manual intervention to go back.
Error Messages
No error message but waiting at Go Back flow action rather than auto submitting.
Steps to Reproduce
1\ In a flow have 2 assignments. Define a flow action F1 in first assignment.
2\ In the second assignment, configure two flow actions at the same assignment, define one of the flow action as 'Go Back'.
3\ In the other flow action F2, define an input field. In the validation part of this flow action perform the validation for the input field.
4\ In the input field enter some value which fires the validation and sets message.
5\ Try to Go Back to the first assignment F1, which is displaying 'Go Back' flow action rather than auto submitting.
Root Cause
There were changes in ActionAutoSubmit HTML which allows the flowaction to get subbmitted only once the pages messages are cleared
Resolution
Created another HTML which includes code from 7.1.5 ActionAutoSubmit and refrenced it in the GoBack flowaction HTML, Which resolved the issue.
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.