Question

Difficulty: HardWorkflow Rules and Actions

A logistics firm configures automated communication for its order fulfillment process. When an Order record's status is changed to 'Processing', a workflow rule with evaluation criteria set to 'created, and any time it's edited to subsequently meet criteria' triggers a time-dependent Email Alert to be sent 14 days later if the order remains in 'Processing'. Five days after an order enters 'Processing' and the email is placed in the queue, an agent updates the Order status to 'Cancelled'. What happens to the scheduled email action in the time-based workflow queue?

  1. The scheduled email action is automatically removed from the time-based workflow queue because the record no longer satisfies the rule criteria.Answer
  2. B
    The scheduled email action remains in the queue and will execute on the 14th day despite the status change.
  3. C
    The scheduled email action is executed immediately upon updating the record status to Cancelled.
  4. D
    The scheduled email action triggers an automated record update flow prior to execution to revert the status change.

Answer

The scheduled email action is automatically removed from the time-based workflow queue because the record no longer satisfies the rule criteria.
In Salesforce, when a record is updated and no longer meets the workflow rule criteria, any associated pending time-dependent actions are automatically removed from the time-based workflow queue.

Step-by-Step Solution

1
Identify the workflow evaluation criteria and action type.
The rule uses 'created, and any time it's edited to subsequently meet criteria' with a time-dependent Email Alert delayed by 14 days.
Time-dependent actions are evaluated against the record state while resting in the queue.
2
Analyze the effect of updating the record status from 'Processing' to 'Cancelled'.
The record criteria (Status = 'Processing') is no longer met.
Salesforce continuously monitors queued items; if record field values change such that the rule criteria evaluate to false, Salesforce clears the pending actions.
3
Determine the outcome in the time-based workflow queue.
The pending Email Alert action is removed from the queue immediately upon saving the edit.
This behavior prevents invalid automated communications from firing after record state changes.

Key Concept

Time-Dependent Workflow Queue Lifecycle and Invalidation
Estimated Time:1m 30s
Rate this question