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

Modal dialog for OnChange-LocalAction action-set does not work

SA-59751

Summary



Modal dialog for OnChange-LocalAction action-set does not work.


Error Messages



Not Applicable.


Steps to Reproduce

  1. Configure maximum characters for a Text Area field. For example, 4000 characters
  2. Configure an action-set for OnChange event and 3 actions in the below order on the same Text Area field:
        - Post Value
        - Run data transform
        - Local action (launch modal dialog) with a When Condition. The condition is 'if length of the text entered is greater than 3999 characters, launch the local action in modal; if false, modal dialog should not display'
  3. Enter maximum limit of characters in the Text Area field
  4. Click out of the Text Area. Modal dialog does not display even though the Text Area content length is 4000 characters
  5. Remove few characters in the Text Area field and click outside the form. The modal dialog displays


Root Cause



A software use or operation error. 

The property which is checked in the When condition should be a part of the section UI and the value of the property should be available to the user. Other Property When condition is evaluated at the user side and so values of the properties in the expression should exist in the section UI. 



Resolution

Perform the following local-change to make the value available to the user:

Configure either a hidden property that is used as part of the When condition of the local action properties in the action-set or any other control (No server side when conditions), which bounds to the When condition property. 


 

Published August 24, 2018 - 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