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

When rule under actionset tab not working for dropdown control

SA-56127

Summary



User is reporting "when rule under actionset tab not working for dropdown control". On change of field for drop down, report definition is to be called condionally but even when rule returns false, report definition is getting executed.


Error Messages



Not applicable.


Steps to Reproduce



Create a section with drop down and add action set on change. Call report definition with a when rule. Verify if report definition should not be called if when rule returns false.


Root Cause



When rule will be picking the value from DOM, not from clipboard. Due to this onload of DOM when rule getting executed, but the actions to be triggered according to the when rule are getting posted to the DOM, but getting triggerd on the next action(Change of value in the drop down)

Resolution



Perform the following local-change: Instead of when rule, use the associated property to write the condition.

Published April 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