What is the benefit of using an after insert trigger over using a - ProProfs Discuss
Topics
Products
Follow Us:

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



A. An after insert trigger allows a developer to bypass validation rules when updating fields on\r\nthe new records
B. An after insert trigger allows a developer to make a callout to an external service.
C. An after insert trigger allows a developer to insert other objects that reference the new\r\nrecords
D. An after insert trigger allows a developer to modify fields in the new record without a query.

This question is part of Platform Dev I
Asked by Csouza, Last updated: Aug 10, 2020

+ Answer
Request

2 Answers

L. Hawkes

L. Hawkes, Teacher, Memphis

Answered Sep 19, 2018

The answer to this is C. Take note that a trigger is normally used in order to execute a certain event in the database server. OF trigger means that the trigger will be done before the trigger. This is most appropriate when you are doing views. AFTER triggers can be used in order to add some new records that may be necessary for whatever needs to be done.

The after triggers cannot be used in doing views. You need to know the differences of these triggers to be sure which one you are going to use. There are also some who use INSTEAD OF triggers.

 

csouza

Csouza

Answered Jul 27, 2018

An after insert trigger allows a developer to insert other objects that reference the new records
 

Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer

Email Sent
We have sent an email to your address "" with instructions to reset your password.