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

pzModalButton actions are not executed



The system does not execute the pzModalButton actions.

Error Messages

Not Applicable

Steps to Reproduce

  1. Log in to the application. 
  2. Open any work object.
  3. Click the button to open the modal dialog.
  4. Enter the present or the past date.
  5. Submit the modal dialog.

Root Cause

Invoking the FinishAssignment from the modal dialog is not recommended. The FinishAssignment submits all the documents and refreshes the current tab. 
To launch any flow, use the 'Flow In Modal Dialog' Launch action.


Perform the following local-change:
  1. Create a Wrapper activity and add a Validation step on the first line. In the Validation step, add the below line of code:


    If this is true, exit the activity.
  2. In Step 2 of the Wrapper activity create a FinishAssignment call.
  3. Configure a Refresh this Section on click of a button.
  4. Pass this Wrapper activity to the parameter.
  5. Check the 'Disable submit on refresh' option.

Published August 19, 2019 - Updated December 2, 2021

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