Câu 57: Certified Platform Developer II
A custom field Exec_Count_c of type Number is created on an Account object. An account record with value of "1" for a: Exec_Count_c is saved. A workflow field update is defined on the Exec_Count_c field, to increment its value every time an account record is created or updated. The following trigger is defined on the…
Nội dung câu hỏi
A custom field Exec_Count_c of type Number is created on an Account object. An account record with value of "1" for a: Exec_Count_c is saved. A workflow field update is defined on the Exec_Count_c field, to increment its value every time an account record is created or updated. The following trigger is defined on the account: trigger ExecOrderTrigger on Account (before insert, before update, after insert, after update){ for (Account accountInstance: Trigger.New){ if (Trigger . isBefore){ accountInstance Exec_Count_c += 1; } System. debug(accountInstance.Exec_Count_c); } }
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.
- A. 1, 2, 3, 3
- B. 1, 2, 3, 4
- C. 2, 2, 4, 4 — đáp án hiện tại
- D. 2, 2, 3, 3
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.