in Salesforce by
What are The Types of Apex Triggers in Salesforce?

► Click here to show 1 Answer

0 votes
Triggers are divided into 2 types

Before Triggers

After Triggers

Before Triggers: Before Triggers can be used to update or validate values of a record before they are saved to the database.

After Triggers: After Triggers Before Triggers can be used to access field values of the records that are stored in the database and use this value to make changes in other records.

Salesforce Certification Training!

Explore Curriculum



Trigger trigger_name on Object_Name(trigger_events) { Code_block } WHERE trigger_events can be comma separated list of events.
Learn More with Madanswer