Posted: 18 Mar 2021 4:43 EDT Last activity: 19 Mar 2021 11:04 EDT
Go back is triggering validation for screen flow
We have requirement to use the go back button in screen flow and not triggering the screen flow .
Reason is with the use of Go Back in screen flow it is triggering the activity GoToPreviousTask through screen flow. And in this activity at step 9 it will be calling the performFlowAction step and which is triggering all the validations.
Our requirement is to skip the validation in case of use of Go Back button in case of use with in the screen flow.
Please suggest and best approach for skipping the validation in screen flow with Go back button.
***Edited by Moderator: Pooja Gadige to change content format from Discussion to Question***
@VineetJ1 I don't remember if the "Allow errors" checkbox will do what you need, but it is worth a shot. Although I think one side effect even if it does work, is that it will allow validation errors while going forward as well, so this may be another point to consider.
@Rett_Hean_GCS : Yes for going front and back in case of screen flow and clicking the Go Back button is triggering the validation messages define at flow action. And requirement is is to skip these validations and the validation are getting fired only for confirm if you are moving to next screen and not on click of Go Back button in the screen flow.