My requirement is, on click of a link I need to display a harness in a new window(like a modal dialog) where user enters details and submits. Once the user closes that window, immediately I want to run an activity. So I configured a click event and gave two actions 1) Harness 2) Refresh this section and I gave the activity under this. But when I execute I could see the activity runs even before I close the harness window. So anyone can suggest me how can I achieve my requirement in Pega 7.2. Any help is much appreciated.
Thanks. But In my case, on clicking submit in the same window, a message like "you have successfully submitted" will be displayed. So after that, I will be closing that window. So I want the activity to run after I close the window. Is there any way to achieve this?