What is a benefit of using an after insert trigger over using a before insert trigger?
What is a benefit of using an after insert trigger over using a before insert trigger?
An after insert trigger allows a developer to insert other objects that reference the new record. This is because the new record's ID is only available after the record has been inserted into the database. Therefore, if you need to create or associate other objects with the newly inserted record, you must use an after insert trigger.
B - Correct
B Correct We use before to operate on same object. If we want to access or modify other object than triggering object we use After. I.e Fast field update = Before I.e Related Records = After