Support Article
Validation error does not display in a ScreenFlow
SA-89761
Summary
In a ScreenFlow, when a user submits a task, the Validation error generated by the Validation rule (configured in flow action) does not display. The error displays only when the user refreshes the screen. The error must display on the screen immediately after submit.
Error Messages
Not Applicable
Steps to Reproduce
- Create a case type.
- Create a ScreenFlow (with two steps).
- Invoke the ScreenFlow from the case type (first stage, first process). The harness used in the ScreenFlow is TabbedScreenFlow7.
- In the ScreenFlow, at the first step, attach a flow action with a simple Validation rule. This displays an error message always.
- Execute the case.
- Submit the first step of the ScreenFlow. Error does not display. However, on the Clipboard, the error is present on the pyWorkPage.
Root Cause
A defect in Pegasystems’ code or rules.
Resolution
Perform the following local-change:
- Save As the 'TabbedScreenFlow' harness in the layer.
- Modify the below configurations:
In the 'Display options' tab select 'In configurable section' option in the 'Form-level errors' field.
Refer the 'pyCaseErrorSection' screen in 'Custom error section' field.
Published October 17, 2019 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.