Certified Platform App Builder Exam QuestionsBrowse all questions from this exam

Certified Platform App Builder Exam - Question 379


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?

Show Answer
Correct Answer: D

To update a field on a parent record when a child record connected via lookup is deleted, Apex code is the best option. Process Builder and Workflow Rules do not handle record deletions effectively. Screen Flows are typically used for user interactions and do not directly handle record deletions or updates triggered by such events. Apex code provides the necessary flexibility and control to perform actions after a child record is deleted.

Discussion

2 comments
Sign in to comment
wlthornOption: D
Feb 1, 2023

D. The app builder should use Apex code to update a field on the parent record when a child record connected via lookup is deleted. Process Builder does not fire on Delete

JekCvntapayOption: D
May 21, 2024

D. Process builder, workflow and screen flow doesn't support record deletion, lightning flow and apex code does.

JekCvntapay
May 21, 2024

Field update after delete trigger.