Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Flow in a modal dialog is not showing the Error messages

SA-4926

Summary



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.

Error Messages



N/A

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.


Root Cause



This is an expected behavior. It’s not feasible to display “Page-Set-Messages” in the modal dialog.

Resolution



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.

Published January 31, 2016 - Updated October 8, 2020

Was this useful?

50% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us