How to read a property value without firing its declare expression with change tracking as "whenever used"
Hi,
I have property "X" which has declare expression set on it with change tracking as "Whenever used". Now i want to read that property without firing the underlying declare expression rule(since i need capture the old value). I can see that assign this property to a temp property and use that value.
is there any other way to do that?
***Moderator Edit: Vidyaranjan | Updated Categories***
If whenever used is there, then no way you may skip calculating it. Whenever it will be used, the value will be recalculated. But from the requirement you mentioned, what I understood is, you have to keep the old value in a separate property and change the value of this property. Only Declare Trigger has that kind of an option. I have shown the exact field which does that in the highlighted area of the screen shot though I don't know I declare trigger will fit into your use case or not.