Question: Explain the difference between a before trigger and an after trigger in Salesforce.Answer: A before trigger in Salesforce runs before the record is saved to the database, allowing developers to modify the record before it is committed. An after trigger runs after the record is saved, enabling actions based on the final state of the record. |
Is it helpful?
Yes
No
Most helpful rated by users: