|
Name
|
The name of the matching rule.
|
|
Execution order
|
The order in which this matching rule is to be executed. Similar to business rules, matching rules are processed based on execution order, from the lowest to the highest.
|
|
Active
|
Enable this check box to activate the matching rule.
|
|
Applies To
|
|
Table
|
The table that stores the task for which the matching rule is being created. The default is the Case \[sn\_customerservice\_case\] table.
|
|
Conditions
|
Use the buttons in this field to build one or more conditions on the selected table. A condition is made up of a selected field, an operator, and a value. Add conditions using the **AND** and **OR** buttons. Delete conditions by clicking the **X** to the right of a condition.
|
|
Resource
|
|
Matching
|
The type of resource matching method to use for this rule: Simple, Advanced, Scripted, Selection Criteria. Select **Simple** to assign a task to a specific user.
1. Click the lookup icon next to the **Resource** field.
2. Select a **Table name**.
3. Select a **Document** from the table.
4. Click **OK**.
Select **Advanced** to create a specific set of resource conditions. Then use the condition builder in the **Resource** field to identify these conditions.
Select **Scripted** to create a customized script for identifying resources, with the goal of returning a list of users that have the same skills as the task. The task under consideration is set in the context of the script. For example:
```
//current has the task record for which the rule is being executed.
var task = current;
var skills = task.getValue("skills");
var skillUtil = new global.SkillsUtils();
var skilledUsers = skillUtil.getAllSkilledUserIds(skills);
return skilledUsers;
```
|
|
Resource
|
This field changes depending on the resource matching type selected in the **Matching** field. For **Simple** matching, use this field to select a table and a user.
For **Advanced** matching, use the condition builder in this field to build one or more conditions to identify a resource. These conditions can be based on user role, agent group, specific skills, work load, or agent availability.
|
|
Schedule based filtering
|
This field applies to **Advanced** matching. Enable this check box to filter resources that are in schedule \(work hours\) at the time of routing.
|
|
Script
|
For **Scripted** matching. use this field to create a customized script for identifying resources. An example script is included. The expected return from a customized script is an array of resource sys\_ids.
|