Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Salesforce Certified Platform Developer II (PDII) · Salesforce
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
Direct "upsert" trigger context does not exists but can be reached by invoking the same snippet of code on insert and update trigger context. Question informs that every time Case is closed with particular status an action should happend. If someone insert Case with this particular status action will not be fired in option A. But as mentioned - upsert trigger context doesn't exists directly. Really tricky question.
The trigger should run only once the update to the Case record has been committed
Before Trigger: In case of validation check in the same object. Update the same object. After Trigger: Insert/Update related object, not the same object. Notification Email.