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
seshu.babu1.3923612903234636E12seshu.babu1.3923612903234636E12 

how to create custom audit fields for account?

Hi,

How can we create custom audit fields for account in salesforce?
Example: for every object there are system audit fields are there. those are Last Modified Date and Last modified By etc.

I want to create Last Modified Date and Last Modified By fields. Here Condition is if any body updated the particulatr section that user name and modified should be display.

Please if anybody have idea please let me know.

Thanks
Babu
Andy BoettcherAndy Boettcher
Sounds like a good use case for Process Builder or an Apex trigger.  You would just create the fields you talk about above and either use a cascading number of conditions in Process Builder or logic built into an Apex trigger to set the fields.