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

Declare OnChange invoked when property does not change

SA-54493

Summary



When the tracked property does not change, the Declare OnChange rules are invoked.


Error Messages



Not Applicable


Steps to Reproduce

  1. Create a Declare OnChange rule to track a property on an embedded page, such as .Customer.pyCustomerID.
  2. Create a step in the process that adds the embedded page.
  3. Run the process.


Root Cause



The Declare OnChange is executed because the tracked property is on an embedded page. Therefore, the page property and the individual property are both tracked.


Resolution



The Declare OnChange rule tracks the page property and the individual property, since the tracked properties are on an embedded page. This is necessary because the code tracks only that page property that has changed. A page copy need not be performed as it is expensive to iterate through all the properties just to check what changed.

 

Published July 23, 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