Posted: 25 Oct 2016 9:49 EDT Last activity: 13 Jul 2017 3:59 EDT
Screen Flow Required Fields validation preventing on navigating back
We are on PRPC v 7.2 and currently when Navigating out of a section by clicking on the tab or the circles in either TabScreenFlow or TabScreenFlow7, the required fields validation would fire and prevent you from going back, this behaviour is NOT the same as clicking the back button where you can go back without filling this information. See attached screenshots.
Query: How to check 'Allow errors' option on the start shape?
Answer: Right click on the start shape of the Screen flow. Under Harness name, enable/check the checkbox 'Save on last step'. This will show the 'Allow errors' checkbox. Refer the attached screenshot (from Pega 7.2.2) for your quick reference. This is same for Pega 7.2.
Could you share the screenshots of the use case showing the actual behavior. Also, share the configuration made for the screen flow. It will help me to replicate the use case at my end in order to verify the OOTB(out of the box) behavior.
From the screenshot snippets, I see that you are using TabbedScreenFlow7 and have 3 assignments(Medicare, Applicant and Product/Plan) configured for the screen flow. While user keeps the required fields blank for the assignment Applicant(2nd screen) and moves back to Medicare(1st screen), then the validation errors are displayed on 1st screen. So, here the user clicks on the back button. Is my understanding correct? If yes, I do not see this behavior in Pega 7.2.2 with TabbedScreenFlow7. However, with TabbedScreenFlow harness, I see the validation errors on the 3rd screen when the user clicks on the next button.
Flow configured at my end is as below:
Start > DisplayInfo > CollectInfo > DisplayInfo > End
Start > Approve > CollectInfo > DisplayInfo > End
If I modify the screen flow to add Assignment (having FlowAction as Approve) instead of the 3rd screen, then I do not see the error on the next screen
While navigating back from second screen i.e. Applicant assignment, the user is clicking on Medicare (Assignment). When we are clicking on next button, we are getting the required alert for the mandatory fields.For the same required fields we are getting errors on the top of the page while moving back.
Tried by changeing the screenflow as well. It didn't work.