Categories

Sep 24, 2019 in Salesforce

Q: What are The Types of Apex Triggers in Salesforce?

1 Answer

Sep 25, 2019
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

Syntax:

1

Trigger trigger_name on Object_Name(trigger_events) { Code_block } WHERE trigger_events can be comma separated list of events.
Click here to read more about Salesforce
Click here to read more about Insurance

Related questions

Madanswer
Sep 26, 2019 in Salesforce
Sep 24, 2019 in Salesforce
Sep 24, 2019 in Salesforce
...