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.
Steps to Reproduce
- Create a harness with a link, on click of which a modal window opens
- From the flow action used on the modal window, call a post-processing activity
- In this activity, execute "Page-Set-Messages" on the primary page of the modal window
- Observe the error on submit of the modal window
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.