Queues and assignment rules

How a case assignment rule evaluates its entries in order, who can take a case from a queue, and what else runs on the case.

Who owns a case the instant it is created, before anyone has looked at it? A short, rigid chain decides: a case assignment rule evaluates its entries in order, stops at the first one that matches and, if none matches, the case falls to the default case owner. This page explains each piece of that chain, why the order of the entries decides the outcome, and what else runs on the case at the same moment. Pushing the case to an available rep instead of leaving it waiting is a different mechanism: Omni-Channel.

What a queue is and what it can hold

A queue prioritizes, distributes and assigns records to teams who share workloads, and it is worked from a list view. There is no limit to the number of queues. A record enters by hand, by changing its owner to the queue, or through an assignment rule, and it stays there until it has an owner.

Creating one fixes more than it looks.

What creating the queue fixes Detail
Label it is the name of the list view that users work from
Notifications whom to notify when new records are added
Objects the ones the queue holds; there are queues for cases, contact requests, leads, orders, custom objects, service contracts and knowledge article versions
Members an individual, a role, a public group — a named set of users —, a territory, a connection or a partner user; a guest user cannot be one

Work is routed to members only, never to their managers. And a queue with several objects carries a warning: when Omni-Channel routes work through a queue that holds both cases and messaging sessions, one object type can prevent the other from being routed, and the reps working that queue have to be online for all of its channels. This site’s Spanish pages say agente for the employee who answers; the English documentation writes service rep.

Who can take a case from a queue

Here Help contradicts itself. “Set Up Queues” states with no condition that any queue member, or any user higher in the role hierarchy — the tree of roles the platform uses to open access upwards —, can take ownership of the records in a queue. “Create Queues” and “Assign Cases” condition it on the object’s sharing model. This page writes the conditioned version, the one in the two more specific articles; none of the three prints a publication date.

Sharing model, or condition Who can take the record
Public Read/Write/Transfer any user, from any queue
Public Read/Write or Public Read Only any queue can be viewed, but records are taken only from the queues one is a member of or, depending on sharing settings, by being higher than a member in the role or territory hierarchy
Private only the records of those same queues can be viewed and accepted
Under any model the Edit permission is needed to take a record from a queue one is a member of
Admin, or Modify All Records on Case or on Lead, or Modify All Data takes records from any case or lead queue without being a member; Help scopes that sentence to those two objects and this page does not extend it

Taking the case is explicit: in the queue’s list view it is checked and Accept is clicked.

The queue’s Grant Access Using Hierarchies checkbox shares its records upwards in the hierarchy. It does not rule alone: disabling that same option for the object on the Sharing Settings page overrides it.

The rule and its entries

A case assignment rule defines conditions and assigns the case to the user or the queue it names. An org can have only one case rule active at a time, so the rule is not where the scenarios are separated: its entries are.

A rule entry is a row with an order number, criteria and a destination. The criteria are written as field filters, “Priority equals High”, or as a formula returning True or False. The destination is a user or a queue; the user cannot be inactive and needs the Read permission on cases. If a criterion uses a custom field, deleting the field deletes the entry.

What an entry fixes besides the destination What it does
Do Not Reassign Owner keeps the current owner when the case is updated
Email Template the template of the notification to the new owner; with no template no notification is sent, and if the destination is a queue the notification goes to its email address and to all its members
Predefined Case Teams the predefined case teams added to the case; a case team is a group of people who work together to solve cases
Replace any existing predefined case teams replaces the teams already assigned instead of adding to them

The published limits are wide on entries and narrow on active rules.

Limit Value
Entries per rule 3,000
Formula criteria entries per rule 300
Filter criteria per rule entry 25
Actions per rule 200
Active rules per object 50
Rules per object 500
Rules in total, across objects 2,000

The last three figures are not about assignment rules alone: they count Workflow Rules together with the assignment, auto-response and escalation rules, active and inactive, and the active-rules-per-object one also counts record change processes.

Why the order decides

Salesforce evaluates the entries in order, and as soon as one matches it assigns the case and stops evaluating the rest. If none matches, the case goes to the default case owner. The order is changed afterwards: in the rule, Reorder is selected and the number entered.

Two consequences follow. A generic entry placed at the top kills every entry behind it, because it matches before they do; Help explains it that way about escalation, which uses the same mechanism, and recommends putting the complex entries at the beginning and the generic ones at the end. And it recommends always creating the last entry with no criteria, as a net: an entry with no criteria matches everything that reaches it.

The path a case takes through the entries of a case assignment ruleA case goes through the rule's entries in one direction, top to bottom. The new case, created by a web form or by an email, enters the first entry. If its criteria match, Salesforce assigns the case to that entry's user or queue and stops evaluating: the later entries are not looked at. If they do not match, the case moves to the second entry, where the same thing happens. If they do not match there either, it moves to the final entry with no criteria, which always matches and acts as a net. Only when that final entry does not exist, and therefore no entry matches, does the case fall to the default case owner set on the Support Settings page.evaluatedno matchno matchif absentNew casefrom web or emailEntry 1if it matches:assign and stopEntry 2if it matches:assign and stopFinal entryno criteria:always matchesDefault case ownerSupport Settings

What the rule does not do on its own

In Professional, Enterprise, Unlimited, Performance and Developer Edition orgs, web- and email-generated cases are assigned automatically by the active case rule. When a case is created or edited by hand, by contrast, there is a checkbox that applies that rule and it has to be selected; the administrator can leave it selected by default on the page layout, or hide it and force the rule anyway. A case created from the Cases tab without that checkbox is owned by whoever created it.

One documented exception: in Experience Builder sites the rule works with the New button of the Record List component, and not with Create Case Form, Create Record Button or Contact Support & Ask Button. How the case arrives into the system — by email, by a web form, through the portal — is the subject of this category’s channels page.

The default case owner

Default Case Owner, on the Support Settings page in Setup, assigns a user or a queue to every case that matches no entry of the rule. That user has to be active, and Help recommends setting it so that a case reaches someone even when no rule applies. Three options on the same page go with the chain.

Support Settings option What it does
Notify Default Case Owner notifies that owner; if it is a queue, its email address. The notification is system-generated and cannot be modified
Automated Case User the user listed in the case feed and the case history for automated changes — those from assignment, auto-response and escalation rules, from On-Demand Email-to-Case or from the portal — and the name in the From field of an auto-response rule’s emails; it needs the System Administrator profile or the Modify All Data, Send Email and Access Activities permissions, and a verified email address
Record Type Setting decides whether a case created by applying the rule keeps the creator’s record type or takes the assignee’s

Auto-response and escalation: same mechanism, different effect

Auto-response rules and escalation rules are written like assignment rules — numbered entries with criteria — and they stop the same way, at the first match. What changes is what they do when one matches.

Rule type What a matching entry does How many active
Assignment assigns the case to a user or a queue one for cases
Auto-response sends an email with the entry’s template one for cases
Escalation runs the entry’s escalation actions one

An auto-response rule answers the cases that arrive through the portal, through a Web-to-Case form or as an Email-to-Case message. If no entry matches, Salesforce sends the default template set on the Web-to-Case settings page; but Email-to-Case has no default template, so there the final entry with no criteria is the only net. Its emails do not count towards the daily limit for outbound email, and its From address has to be different from the Email-to-Case routing addresses.

Escalation is the only thing on this page that depends on the clock, so its entry carries two more things: from which moment the time is counted, and under which business hours, the calendar that declares when the team is available.

When the clock starts Effect
When case is created the case escalates when the Age Over period expires
When case is created, and disable after case is first modified the clock stops if the case is modified before the period expires
Based on last modification time the clock counts from the last modification

The business hours are ignored, taken from the case, or set by hand; if they are set, the actions only run inside them.

The escalation action Detail
How many up to five per entry, to escalate over increasing periods
The period the Age Over field, in hours and either zero or thirty minutes; two actions of the same entry cannot carry the same period
What it does reassigns the case to another user or queue, which becomes the owner, and notifies the new assignee, the current owner and up to five more addresses, always with a template
Early the Early Triggers Enabled option in Support Settings fires the actions before the hour set in Age Over

The published execution order

Help publishes the order in which all of this is processed: validation rules, assignment rules, auto-response rules, Workflow Rules with immediate actions, and escalation rules. It is a list, with no further explanation in its article. A validation rule — this page’s gloss: the check of a condition on the data before the record is saved — comes first, and from that position it follows, this page’s reading, that a case that fails validation is never assigned.

Workflow Rules are still on that list and have to be read carefully. They are a legacy automation feature that defines conditions and actions on records, as an “if this, then that”, and their article opens by saying that support ended on 31 December 2025. Support ended, execution did not: existing rules keep running and can be activated, deactivated and edited, but Salesforce provides no customer support and fixes no bugs. The knowledge article on the end of support says the same, published on 29 September 2026 and this page’s only dated source. For a new automation the tool is Flow, the platform’s no-code automation tool.

Example: a private bank’s three segments

A private bank serves retail, corporate and private-banking clients, and no case may end up ownerless. The example is invented and every step uses only pieces this page documents. The order of the three entries is this page’s proposal; from Salesforce comes only the rule that the last one carry no criteria.

Step What is configured
Three queues one per segment, with Case among its objects and its team as members; the label is the list view they work from
Sharing model under a Private model each team only accepts the cases of its own queue, by being a member of it
One single rule the active case rule; the three segments are entries of it, not separate rules
Entry 1 a formula criterion on the account’s segment, destination the private-banking queue
Entry 2 a field filter for corporate, destination its queue
Entry 3 no criteria, destination the retail queue: the net
Default case owner set in Support Settings even with entry 3, because the rule does not run on its own for cases created by hand
Auto-response one rule whose last entry carries no criteria, because Email-to-Case has no default template
Escalation one entry per segment, with the team’s business hours and increasing Age Over periods; the action reassigns to the second-tier queue

When a queue and when a user

The need The entry’s destination
A team shares the load and anyone picks the case up a queue
The case has a named owner from the first second a user
No case may end up ownerless a final entry with no criteria, plus the default case owner
Giving access by team under a private model one queue per team, with its members
Pushing the case to an available rep instead of leaving it waiting Omni-Channel, not a rule
A contractual first-response deadline a different subject: entitlements and milestones

Help frames the choice as a planning question: do your users choose cases from a pool? This page’s reading, which no source states in these words: what separates the queue from the user is not the size of the team, it is whether the case can wait for someone to take it. When it cannot wait, the mechanism is not a rule but Omni-Channel.

Before production

  1. Check which case rule is active, because there can be only one (see “The rule and its entries”).
  2. Read the entries in their order and look for a generic one placed before a specific one (see “Why the order decides”).
  3. Confirm that the last entry carries no criteria (see “Why the order decides”).
  4. Set the default case owner and check that the user is active (see “The default case owner”).
  5. Check the sharing model before promising that a team will see the cases in its queue (see “Who can take a case from a queue”).
  6. Check whether the rule’s checkbox is on the Case page layout, for cases created by hand (see “What the rule does not do on its own”).
  7. Give the Automated Case User its permissions and a verified email address (see “The default case owner”).
  8. Check the business hours of every escalation entry before relying on a deadline (see “Auto-response and escalation”).

Official sources

Back to the knowledge base