Routing and assigning customer service cases
Summarize
Summary of Routing and assigning customer service cases
The case routing feature in ServiceNow enables automatic identification and routing of customer service cases to appropriate agents based on predefined conditions. By creating matching rules that specify case attributes and agent criteria, and assignment rules that specify how to assign cases to users or groups, you can streamline case handling and ensure cases are routed to agents with the right expertise and availability.
Show less
Matching Rules
Matching rules define the conditions a case must meet to qualify for routing and determine which agents are best suited to handle those cases. These rules are created using the Matching Rule form, where you:
- Select the task table (e.g., Case table) and specify case attribute conditions such as account, product, or priority.
- Choose a resource matching method to identify suitable agents:
- Simple: Select users directly from a list.
- Advanced: Use conditions based on roles, groups, skills, workload, or availability.
- Scripted: Write custom scripts for specialized resource identification.
- Use Selection Criteria for integration with the assignment workbench.
Assignment Rules
Assignment rules automatically assign cases to users or groups when matching rule conditions are met, provided the case is not already assigned. Key points include:
- Assignment rules are created from matching rules via a related link on the Matching Rule form.
- They specify the task table, conditions, and target user or group for assignment.
- Custom scripts can be used for more granular assignment logic.
- Matching rules and assignment rules are independent; changes in one do not synchronize to the other.
MatchingRuleProcessor API
After defining matching rules, you can invoke the MatchingRuleProcessor API to execute these rules and retrieve a list of suitable agents (identified by sysids) for a given case.
Reverse Matching
This feature allows matching tasks to resources instead of resources to tasks, using the same matching rules framework.
The case routing feature uses matching rules and assignment rules to identify customer service cases that meet certain conditions and then route those cases to customer service agents.
Overview
Create one or more matching rules that establish specific conditions that a case must meet before it can be routed to an agent. Then use an assignment rule to route those cases to agents based on product knowledge and availability. You can also invoke the MatchingRuleProcessor API to execute the matching rules and return a list of users (sys_ids).
Matching Rules
Matching rules are based on two defined sets of conditions, one that identifies specific case attributes and another that identifies the agent resources best suited to handle cases with these attributes. Matching rules are created using the Matching Rule form.
To identify case attributes, select a table that stores the task type (for example, the Case table) and then use a condition builder to create one or more conditions that a case must meet before being routed. For example, you can build conditions for a specific account and product or for a specific product and priority level.
- Simple: Select the resource name from a list of users.
- Advanced: Build conditions that filter the available agent resources. These conditions can be based on user role, agent group, specific skills, work load, or agent availability.
- Scripted: Create a customized script to identify agent resources.
Assignment Rules
- The table for the task type and the conditions that must be met before the task is assigned.
- The user or the group to which the task is assigned.