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?
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?
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.
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
D. Process builder, workflow and screen flow doesn't support record deletion, lightning flow and apex code does.
Field update after delete trigger.