Support Article

Error displaying in background screen instead of modal window

SA-11487

Summary



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

Resolution



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

 
 
Suggest Edit

Published July 7, 2015 - Updated October 8, 2020

Did you find this content helpful?

Have a question? Get answers now.

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