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
sfdcjoeysfdcjoey 

which trigger to use

What trigger we have to use if we want to insert, update any record into “Account”?
JeffreyStevensJeffreyStevens
Think this way....

A trigger is a program that run because of an action on a specific record.  So, if you want to INSERT a record to Account - what "triggers" that event?  A Lead conversion?  A closed-won Opportunity?  - In that case the trigger would be on those objects.  If you want to do something to the Account record when the account record is updated - then you would have an Update trigger on Account.

Hope that helps