Which two actions may cause triggers to fire? Choose 2 answers

Which two actions may cause triggers to fire? Choose 2 answers
A . Cascading delete operations
B . Changing a user’s default division when the transfer division option is checked
C . Updates to FeedItem
D . Renaming or replacing a picklist entry

Answer: A, C

Explanation:

In Salesforce, triggers are executed in response to specific database events on standard objects (such as Account or Contact) and custom objects. The following actions can cause triggers to fire: Option A: Cascading delete operations

When a record is deleted, and it has child records in a master-detail relationship, the

child records are automatically deleted (cascade delete). This action fires the before delete and after

delete triggers on the child records.

Reference: "Deleting a parent record in a master-detail relationship deletes all the detail records. This deletion can fire any triggers on those detail records."

― Salesforce Developer Guide: Triggers and Order of Execution

Option C: Updates to FeedItem

FeedItem is the object that represents Chatter posts. Updates to FeedItem records can

fire triggers written on the FeedItem object.

Reference: "You can write triggers for certain standard objects, including FeedItem."

― Salesforce Developer Guide: Triggers Why Other Options Are Incorrect:

Option B: Changing a user’s default division does not fire triggers because it does not perform DML operations on records that would invoke triggers.

Option D: Renaming or replacing a picklist entry changes metadata and does not perform DML operations on records, so triggers are not fired.

Latest DEX-450 Dumps Valid Version with 456 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments