followed?

A developer identifies the following triggers on the Expense_c object:

✑ DeleteExpense,

✑ applyDefaultstoexpense

✑ validateexpenseupdate;

The triggers process before delete, before insert, and before update events respectively.

Which two techniques should the developer implement to ensure trigger best practice are

followed?
A . Unify the before insert and before update triggers and use Process Builder for the delete action.
B . Maintain all three triggers on the Expense__c object, but move the Apex logic out for the trigger definition.
C . Create helper classes to execute the appropriate logic when a record is saved.
D . Unify all three triggers in a single trigger on the Expense__c object that includes all events.

Answer: C,D

Latest PDI Dumps Valid Version with 191 Q&As

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

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments