What are The Types of Apex Triggers in Salesforce?
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.