nerdexam
Salesforce

PDI · Question #68

As part of a data cleanup strategy, AW Computing wants to proactively delete associated opportunity records when the related Account is deleted. Which automation tool should be used to meet this busin

The correct answer is C. Record-Triggered Flow. To proactively delete associated opportunity records when an Account is deleted, a Record-Triggered Flow should be used, configured to run after the Account record is deleted.

Submitted by haru.x· Apr 18, 2026Logic and Process Automation

Question

As part of a data cleanup strategy, AW Computing wants to proactively delete associated opportunity records when the related Account is deleted. Which automation tool should be used to meet this business requirement?

Options

  • AWorkflow Rules
  • BScheduled job
  • CRecord-Triggered Flow
  • DProcess Builder

How the community answered

(25 responses)
  • A
    4% (1)
  • B
    8% (2)
  • C
    72% (18)
  • D
    16% (4)

Why each option

To proactively delete associated opportunity records when an Account is deleted, a Record-Triggered Flow should be used, configured to run after the Account record is deleted.

AWorkflow Rules

Workflow Rules cannot be triggered by record deletions and are limited in their ability to perform complex actions like deleting related records.

BScheduled job

A Scheduled Job runs at a predetermined time or interval and cannot be triggered proactively by a specific record deletion event.

CRecord-Triggered FlowCorrect

A Record-Triggered Flow configured to run 'After Delete' on the Account object can directly query and delete all associated Opportunity records. This automation tool is ideal for performing actions based on record deletion events, a capability not offered by Process Builder or Workflow Rules.

DProcess Builder

Process Builder cannot be triggered by record deletions, nor can it directly delete related records as an action.

Concept tested: Salesforce automation tools for record deletion events

Source: https://help.salesforce.com/s/articleView?id=sf.flow_ref_elements_delete.htm&type=5

Topics

#Record-Triggered Flow#data deletion#automation tools#cascading delete

Community Discussion

No community discussion yet for this question.

Full PDI Practice