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.
Question 29 of 141
Free Preview · 141 of 467 · questions 1–141 of 467 are free. Sign up free to sync your progress across devices.
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
An approval process cannot trigger apex. The answer should be C. It is about permission and getting a field update on the status. Maybe through a dynamic action the deletion can be achieved when a certain status is reached after approval process. But just for getting a permission an approval process, preferable 2 step process would be most relevant.
We are not deleting the record we are triggering an approval process before the record can be deleted which means we need to stop the user from deleting the record by having an approval process when they try to delete the opportunity. Process builder and workflow and just the two step approval process alone can not be initiated before a record is deleted.
C Boris Boris answer below is dead on correct. Two step approval process is the best answer.