Salesforce Certified Platform App Builder — Question 337

An app builder wants to update a field on the parent record when a child record connected via lookup is deleted.

What automation should the app builder use?

Answer options

Correct answer: D

Explanation

The correct answer is D, Apex code, as it allows for complex logic and operations during the delete event of a child record. Process Builder and Workflow rules do not trigger on record deletions, while Screen flows are not designed for this type of automation.