CertyRush
Đang tải...
C CertyRush
Câu hỏi free preview

Câu 66: Salesforce Certified Platform Developer I

A developer identifies the following triggers on the Expense__c object: deteleExpense, 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 practices are followe…

Nội dung câu hỏi

A developer identifies the following triggers on the Expense__c object: deteleExpense, 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 practices are followed? (Choose two.)

Các lựa chọn

Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.

  1. A. Unify the before insert and before update triggers and use Process Builder for the delete action.
  2. B. Create helper classes to execute the appropriate logic when a record is saved. — đáp án hiện tại
  3. C. Maintain all three triggers on the Expense__c object, but move the Apex logic out of the trigger definition.
  4. D. Unify all three triggers in a single trigger on the Expense__c object that includes all events. — đáp án hiện tại

Cộng đồng

0 bình luận công khai. Tên thành viên được ẩn một phần.

Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.

Câu hỏi liền kề