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

Error displaying in background screen instead of modal window



When doing Page-Set-Messages on submit of a modal dialog window, the error message displays in the background screen instead of the modal window. The primary page of the modal window and the background harness are different. The error message is specifically being set on the primary page of the modal window.

Error Messages

Not Applicable

Steps to Reproduce

  1. Create a harness with a link, on click of which a modal window opens
  2. From the flow action used on the modal window, call a post-processing activity
  3. In this activity, execute "Page-Set-Messages" on the primary page of the modal window
  4. Observe the error on submit of the modal window

Root Cause

This is an expected behavior based on user’s configuration. A local change is available


Local change : Call “Flow in Modal Dialog” action inside user’s button configuration for the click event.


Published July 7, 2015 - Updated October 8, 2020

Was this useful?

0% 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