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

OnClick of Cancel in popup screen the confirm harness displays



User is redirected to the confirm harness on clicking the Cancel button of the modal dialog. 

Error Messages

Not Applicable.

Steps to Reproduce

  1. Log in to the application
  2. Configure a button with two action sets
  3. In the first action, define a launch local action in modal action, and in the second action, configure a launch harness to show confirm harness
  4. Click the button. A popup displays with the Cancel button
  5. Click Cancel

Root Cause

An issue in the custom application code or rules.

The approach of setting two actions on click of a button is incorrect.
Since the first action launches the modal popup, and after closing the popup, the second action triggers which is the launch harness. Thus the user will always be redirected to the confirm harness irrespective of the action performed inside the modal window. 


Perform the following local-change: 
  1. OnClick of the button, remove the launch harness action
  2. Configure an action such that if user submits the modal window, an action is set to launch harness


Published August 19, 2019 - 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