I have implemented some validations on flow action at two different places but nothing seems to work on my ScreenFlow.I'm validating the date and adding a message on the pyworkpage using Page-Set-Messages inside the post-processing activity. It is working for the first time but after that when the user clicks on submit again it is submitting with errors and same thing is happening when I add a validate rule on the flow action. I tried adding the same validation on the property itself using validate rule but even with errors it is getting submitting. How can I stop the process and show an error similar to the first time?
Note: When I enable the "look for an assignment to perform" option validation works fine but we are seeing an empty modal dialog after submission. which is not required
@MarcLasserre_GCS Yes, I was able to trace it. But It is behaving differently the second time, the first time processing gets stopped at the post-action validation and pzSUbmitAssignment gets stopped, and the second time it going ahead after that activity also. But when I enable to look for an assignment to perform the option It works correctly. Here are the screenshots
Posted: 1 year ago
Updated: 1 year ago
Posted: 23 Mar 2021 12:09 EDT Updated: 23 Mar 2021 12:10 EDT
SaiKishore Yagnamurthy (KishoreYagnamurthy)
Sai kishore Yagnamurthy
Solved this by adding on change refresh action and used validation activity to validate and set errors along with errors I'm setting a flag. Using this flag I have disabled the submit button and showing the error on the modal dialog.