CRT-450 Exam QuestionsBrowse all questions from this exam

CRT-450 Exam - Question 39


What is a benefit of using an after insert trigger over using a before insert trigger?

Show Answer
Correct Answer: B

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.

Discussion

2 comments
Sign in to comment
danielVenturaOption: B
Dec 19, 2023

B - Correct

DhakedDevOption: B
Jun 14, 2024

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