Declare On Change Not Firing

I have a declare on change created in work class and there are around 17 properties from different pages. Each property is referred as "PageX.PropertyX" where PageX is a data class page.

Few of the pages have different name but same data class. For the last 3-4 properties the Declare On change is not firing consistently. Sometimes it does, sometimes it doesn't. Out of last four 2 have same class different page.

PropertyX (which is same across all pages) is being calculated via declare expression.

***Edited by Moderator Marissa to update platform capability tags****


Keep up to date on this post and subscribe to comments

August 22, 2019 - 11:33am

Can you please attach screen shots of your declare trigger and declare expression you have configured?

September 13, 2019 - 6:58am
Response to raavv

Please find attachements

September 19, 2019 - 2:38am

Hi Piyush,

Thanks for posting the query.

Could you please try to revalidate and save the particular declare on change rule and check the behaviour.

September 27, 2019 - 11:25am


For the scenario in which the declare on change is not triggered, could you please confirm from the tracer log that the required value is getting populated for the property?

Also could you please confirm that the property referred in declare on change is in the same ruleset as of the declare on change rule?


September 27, 2019 - 3:27pm
Response to sinhv1

In addition, for the change tracking tab, please use 'Whenver Used' and 'Regardless of any pages it is contained in' which will ensure that all properties are writtento/fired. If the above options do not work, there seems to be a visibility and/or context issue for the properties that are not firing.