function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
MDXHikerMDXHiker 

PriorValue of a field

Is there a way I can get the priorvalue of a field and compare iwth the current value ?
Objective to fire a trigger when a value is changed on a particular field.
Thanks
HarmpieHarmpie
Use Trigger.new / Trigger.old or Trigger.newMap / Trigger.oldMap to compare before and after situations