Question

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.
-
Like (0)
-
Accepted Solution

Hi RobertoB6828,
On the Start shape of the Screen Flow, enable "Allow Errors" checkbox and try.

Hello Roberto,
Thanks for posting your query in PSC. :)
Are you trying to use/click browser back button? If yes, how about using the browser in kiosk mode(or disable these buttons through JavaScript) that restricts them to click browser back/refresh button. Does this help?
Regards,
Rincy

Hi,
The back button is the one that appears at the end of the screen, the "Back" and "Next" button that are part of the Screen Flow.

Hello Roberto,
Refer below Support article suggesting the local change.
https://community.pega.com/support/support-articles/block-browser-back-button-and-right-click-portal
Refer below URLs in this regard:
- http://www.encodedna.com/2014/07/restrict-or-disable-browser-back-button-using-javascript.htm
- https://www.codeproject.com/Questions/243851/How-to-disable-back-forward-and-Refresh- functional - Refer solution-3
Hope this helps.
Regards,
Rincy
Accepted Solution

Hi RobertoB6828,
On the Start shape of the Screen Flow, enable "Allow Errors" checkbox and try.

I am not getting the Allow errors option on the start shape for the Pega 7.2, please can you suggest the steps, as it have worked for you, I need this urgentlly

Hello Aileen,
Thanks for posting your query in PSC :)
Find answer to the below query:
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.
Regards,
Rincy

Hi Rincy,
Thanks for the help.
By checking these checkboxes, i am able to remove those mandatory field alerts but i am getting errors for those mandatory fields in previous screen at the top
PFA. If this is expected.
Thanks
Saurabh

Hi Rincy,
As per your suggestion, i tried with Allow errors.
But it is giving me errors on previous screen at top of the page.
Any suggestions.
Thanks
Saurabh

Hello Saurabh,
Thanks for your response.
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.
Regards,
Rincy

Hi Rincy,
PFA here the screenshot for the config. and issue.
While navigating back, getting the second screen issues on first screen.
THanks
Saurabh

Hello Saurabh,
Thanks for the response.
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
(OR)
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
Hello Saurabh,
Thanks for the response.
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
(OR)
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
Modified flow:
Start > DisplayInfo > CollectInfo > Approve > DisplayInfo > End
Does this help?
Regards,
Rincy

Hi Rincy,
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.
Thanks
Saurabh

Hello Saurabh,
Thanks for the update. Could you please raise a Support request reporting this behavior. We will investigate this further over a screen share.
Regards,
Rincy

Hi Rincy,
I have raised a SR for the above issue.
Can we discuss the same over a screen share sometime?
Thanks
Saurabh

Hello Saurabh,
Thanks for informing that you have raised the SR. Could you please share the SR number for tracking purpose.
Under the raised SR, assigned Support Engineer will coordinate with you for the requested screen share.
Regards,
Rincy

Hi,
Can you please provide a screenshot of the Strat Shape, where i need to enable allow errors.?
I am not getting the Allow errors option anywhere.
Thanks
Saurabh