Question

Difficulty: Very hardCase Automation Rules (Assignment, Auto-Response, and Escalation)

Apex Financial Services processes high-priority customer service requests through automated case routing, auto-response emails, and strict SLA escalation rules. A Salesforce Administrator is configuring and testing the system's response when a customer submits a new case through Web-to-Case. To ensure all automation triggers as expected without conflicts, what is the exact order in which Salesforce processes these automated rules and record actions upon case creation? Place the execution steps in the correct chronological sequence from first to last.

  1. 1System checks and custom Case Validation Rules execute to verify field values.
  2. 2Active Case Assignment Rule entries are evaluated in sort order to assign Case ownership.
  3. 3Active Case Auto-Response Rule entries are evaluated in sort order to send an automated email to the customer.
  4. 4Workflow Rules and Record-Triggered Flows execute after-save automated field updates and tasks.
  5. 5Active Case Escalation Rule entries evaluate to schedule time-based escalation actions based on Business Hours.

Answer

The correct order of execution is: (1) System checks and Case Validation Rules execute, (2) Active Case Assignment Rules evaluate to assign ownership, (3) Active Case Auto-Response Rules evaluate to send customer emails, (4) Workflow Rules and Record-Triggered Flows execute after-save actions, and (5) Active Case Escalation Rules evaluate to schedule time-based SLA escalations.
In Salesforce record save execution for Cases, validation rules evaluate first to ensure record data integrity. Next, active Case Assignment Rules execute in entry order to assign ownership to a specific user or queue. Once ownership is set, active Case Auto-Response Rules evaluate to send the customer an acknowledgment email. Following auto-response rules, Workflow Rules and Record-Triggered Flows execute after-save actions such as tasks and field updates. Finally, active Case Escalation Rules evaluate the case to schedule time-based SLA escalations according to Business Hours.

Step-by-Step Solution

1
Evaluate record initialization and validation rules.
Field data integrity is established before automation rules execute.
Salesforce validates data prior to running post-save record automation rules.
2
Evaluate Case Assignment Rules.
The case is assigned to a user or queue based on the first matching rule entry.
Ownership must be resolved first so subsequent communications and workflows have owner context.
3
Evaluate Case Auto-Response Rules.
An appropriate email template is selected and dispatched to the case contact.
Auto-response rules execute immediately following assignment rules to notify the submitter.
4
Execute Workflow Rules and Record-Triggered Flows.
Field updates, email alerts, and task creations are executed.
After-save automation processes run after assignment and auto-response rules.
5
Evaluate Case Escalation Rules.
Escalation actions are scheduled in the time-based queue using configured business hours.
Escalation rules process last in the case automation sequence to set up SLA tracking.

Key Concept

Salesforce Case Automation Order of Execution
Rate this question