Question
JP Morgan
IN
Last activity: 3 Nov 2016 9:15 EDT
Declare OnChange and Declare Triger
Hello All,
I was going through the "Declarative Processing" part of the course. There was a description about Declare OnChange and Declare Trigger. It states "Declare OnChange can track several properties that have been saved as part of the case" and for Declare Trigger an example is given that states "there is a scenario that the audit trail must contain information about the different values stored as part of discount. Whenever the values in the discount change, it causes the trigger to fire the standard activity which writes an entry to the audit trail".
I think that the description for both these rules are swaped/interchanged. For the example given for Declare Trigger, the changed values of the properties will not be captured unless the instance is saved. To track the change in values in audit trail- Using Declare On change should be the preffered approach. Kindly help if I missed something. Thank You.