OBLYTECH Logo
OBLYTECH Logo

Customer Case Routing Rules

Case routing in ServiceNow uses case conditions to identify the right work and resource conditions to identify suitable agents. Matching rules define that fit; assignment rules assign qualifying cases to users or groups. For CRM Workspace inbox delivery, Advanced Work Assignment uses queues, routing conditions, and agent availability, capacity, and skills.

Choose the routing mechanism before writing rules

Start with the outcome the service team needs. A case may need ownership by a named user or assignment group. Alternatively, work may need to enter a queue and reach a qualified agent through the CRM Workspace inbox. These outcomes involve different configuration decisions, even when the same customer issue starts the process.

Matching rules describe which cases and resources belong together. Assignment rules provide automatic assignment to users and groups. Advanced Work Assignment, or AWA, routes work through work item queues using routing conditions and assignment criteria. For queue setup, continue with AWA queues, channels, and capacity.

The steps below use Brazil form labels for matching and assignment rules. Verify them against your instance and release before making changes. Treat a move between routing mechanisms as a design decision: document who should own the case, how agents receive it, and what happens when no suitable resource is available.

Define case routing in ServiceNow with clear conditions

Write a short routing decision before opening the form. Identify the case attributes that justify a destination and the resources allowed to handle that work. Keep those two condition sets separate. A product value describes the case; an agent skill describes the resource. Confusing them makes a rule difficult to inspect.

For example, a proposed rule could select cases for a particular account and product, then identify agents with the required product knowledge. This is a design example, rather than a supplied configuration. Use values present in your own records, and decide how to handle a missing account, an unknown product, or a case that meets several routing conditions.

Inspect the fields agents actually receive through the customer service cases list. A condition cannot reliably separate work when its underlying data is incomplete. Record the expected destination alongside representative cases so reviewers can compare the configured result with the service team’s intent.

For the guided setup entry point, the required role is csm_guided_setup_user or admin. Navigate to All > Customer Service > Administration > Guided Setup, select Get Started, and locate the tasks in Case Management. Select Configure for the relevant task. Creating matching and assignment rules requires the action-specific role described below.

Create the matching rule and resource filter

Creating a matching rule requires assignment_rule_admin. Navigate to All > Routing and Assignment > Matching Rules and select New. Give the rule a name that explains the intended case population and destination, rather than a name that merely records its creation sequence.

  1. Set Execution order. Matching rules are processed from lower values to higher values; review neighboring rules when choosing the value.
  2. Use Active to enable the rule when it is ready for evaluation.
  3. In Applies To, check Table. The default is Case [sn_customerservice_case].
  4. Build Conditions from fields, operators, and values. Use AND and OR deliberately, and inspect the combined logic.
  5. In Resource, choose the Matching method and configure the corresponding resource selection.
  6. Select Submit, then reopen the rule if you need to add matching criteria.

Simple matching selects a specific user through the Resource lookup. Choose a Table name and a Document, then select OK. This suits a decision that genuinely identifies one person; consider whether ownership should survive personnel changes before choosing it.

Advanced matching builds resource conditions. Supported considerations include role, agent group, skills, work load, and availability. Schedule based filtering applies to Advanced matching and filters for resources within their work hours at routing time. Check schedule assumptions with a case evaluated outside the intended team’s working hours.

Scripted matching uses a custom script to identify resources. Its expected return is an array of resource sys_ids. Reserve this approach for requirements that justify code review and maintenance. A script returning candidates still needs to be assessed within the complete routing design.

Set ranking criteria without confusing display with selection

The Selection Criteria matching method supports selected criteria for the assignment workbench. On a saved matching rule, use the Select Criteria related list and select New. Choose a Criterion, then decide how it should participate in the workbench.

The Use for options separate ranking from visibility. Ranking and display affects agent ranking and shows a workbench column. Display only shows the criterion without affecting ranking. Ranking only affects ranking without displaying the column. A visible value therefore does not, by itself, prove that it influenced the candidate order.

Choose More is better or Less is better under Ranking Method, according to the criterion’s meaning. Select Submit. You can optionally set a Threshold in the related list to establish a minimum requirement; personalize the list to expose that field if necessary. During review, explain why the direction and threshold fit the service policy.

Create the assignment rule and verify ownership

Creating an assignment rule requires assignment_rule_admin. Open the matching rule and select the Create assignment rule related link. Another entry point is Routing and Assignment > Assignment Rule, followed by New.

Complete Name, check Application, and set Order. The default application is Global; assignment rules are processed from lower order values to higher values. Enable Active for the rule to take effect. In Applies To, inspect Table and Conditions. The table choices are limited to tables and database views in the assignment rule’s scope.

Under Assign To, set the intended User or Group. Use Script when advanced assignment logic is required, then select Update. Review the stored destination against the routing decision before testing with cases.

Matching rules and assignment rules are separate records without synchronization. Changing the matching rule’s case conditions does not update the assignment rule. Review both records together after a change. Assignment also depends on existing ownership: the assignment rule applies when the task is not already assigned to another user or group.

When routing decisions cross several teams, see ServiceNow implementation for help planning the work.

Test exceptions before expanding coverage

Use a small acceptance set with an expected outcome for each case. Include a clear match, a near match that should be excluded, overlapping conditions, missing routing data, an unavailable resource, and a case with existing ownership. Check both the qualifying population and the resulting user or group; either side can be wrong independently.

If a result surprises you, inspect case values first, then the matching rule’s conditions and resource method. Next compare the assignment rule’s table, conditions, order, activation, and destination. Keep classification changes separate from assignment changes during diagnosis. If classification needs its own design, review Predictive Intelligence for customer service cases.

For overlapping cases, record the order values and the reason each rule qualifies. Do not assume that changing a number repairs a condition that admits the wrong population. Narrow the conditions where the business distinction is explicit, then repeat the same acceptance cases to see whether the change introduced a gap elsewhere.

For resource failures, separate eligibility from operational coverage. An agent may satisfy a skill requirement while falling outside the intended schedule. Have the service owner agree on an exception-handling procedure before expanding the rule to more case types. Keep that procedure alongside the test results so the team knows who investigates work that does not reach its expected destination.

Questions about maintaining case routing rules

How should a team hand over rule ownership?

Keep a short decision record naming the business owner, rule purpose, expected destinations, and acceptance cases. This gives a replacement administrator enough context to assess a change without reconstructing why the rule exists.

What should trigger a routing review?

Review routing when product responsibility, team membership, or service coverage changes. Use those operational events to revisit the decision record and acceptance cases, rather than waiting for repeated transfers to reveal an outdated assumption.

Should separate customer services share one rule?

Compare their decision logic first. Shared conditions can simplify maintenance, but different ownership policies deserve separate review. Choose a structure that lets the business explain which cases belong together and approve changes without affecting unrelated work.

How can agents report a wrong destination clearly?

Ask for the case identifier, expected destination, observed destination, and the business reason for the expectation. Avoid collecting unnecessary customer details in the routing review record. Concrete examples help distinguish a data problem from a rule change request.