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
PannarPannar 

Question on field updates! plz answer

Dear all,

I would like to know if it is possible to determine what fields were modified by a user when saving an object in Salesforce.  For example, a user accesses the Account object and updates the Description and Customer Group values.  When they click Save, can that action be captured and those 2 fields identified as modified for further processing in an easy fashion?

Thanks in advance
Pannar
dev_jhdev_jh

It is indeed possible to do this using triggers - If you use a trigger on UPDATES you can easily compare, for each field, the old value versus the new one. If there is a change then do X....

 

Hope this helps,

 

J