hiexam
salesforce · Certified-Platform-Developer-II · Q603 · multiple_choice · topic_1

A company's support process dictates that any time a Case is closed with a Status of 'Could not fix', an Engineering Re…

A company's support process dictates that any time a Case is closed with a Status of 'Could not fix', an Engineering Review custom object record should be created and populated with information from the Case, the Contact, and any of the Products associated with the Case. What is the correct way to automate this using an Apex trigger?
  • A.An after update trigger that creates the Engineering Review record and inserts it
  • B.A before update trigger that creates the Engineering Review record and inserts it
  • C.An after upsert trigger that creates the Engineering Review record and inserts it
  • D.A before upsert trigger that creates the Engineering Review record and inserts it
Explanation
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.

Reference: examtopics_top_comment

Practice with progress tracking

Sign in to track wrong answers, get spaced-repetition reminders, and run timed exam mode.