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
- Create a Declare OnChange rule to track a property on an embedded page, such as .Customer.pyCustomerID.
- Create a step in the process that adds the embedded page.
- 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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.