Flow in a modal dialog is not showing the Error messages
When user tries to launch a flow in modal dailog, error messages are not shown on the screen. However, error messages exist on the clipboard.
Steps to Reproduce
Step-1: Create an activity, call ‘Page-Set-Messages’ method and set error messages to display on fail of few conditions.
Step-2: Create a section with few fields. OnChange of any of the field, call above created activity. Drag the section into flow action.
Step-3: Create a flow and use the above created flow action in the flow.
Step-4: Launch the flow in the modal dialog, onClick of the button from the portal screen/ main flow
Step-5: When flow launched in modal dailog, if wrong data was entered for fields (which makes ‘page-set messages’ throw errors), error messages are not displayed on modal dailog. However error messages are displayed in clipboard.
This is an expected behavior. It’s not feasible to display “Page-Set-Messages” in the modal dialog.
User is performing validation based on single property and trying to display error message using ‘Page-Set-Messages’ method. As validation is based on single property, it was suggested to go with configuring error messages in ‘Property-Validate’ instead of “Page-Set-Messages”. User has implemented the same and confirmed that error messages are shown on modal dialog when ‘Property-Validate’ method is used.
50% found this useful