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?
- The scheduled email action is automatically removed from the time-based workflow queue because the record no longer satisfies the rule criteria.Answer
- BThe scheduled email action remains in the queue and will execute on the 14th day despite the status change.
- CThe scheduled email action is executed immediately upon updating the record status to Cancelled.
- DThe 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
Key Concept
Time-Dependent Workflow Queue Lifecycle and Invalidation
Estimated Time:1m 30s