reference1 min readApplication: Intelligent Routing
Intelligent routing rule fields
The fields of an intelligent routing rule, the routing rules you can choose and the property that switches routing on.
This page lists the fields of the Intelligent routing rule record and what each routing rule does. Use it while you set up intelligent routing.
Rule fields
Rules are under Intelligent automation → Intelligent routing → Intelligent routing rules.
| Field | Type | Required | Behaviour | Purpose |
|---|---|---|---|---|
| Name | String | No | Shown in the work journal when the rule fails. | Identifies the rule. |
| Short description | String | No | None. | Says what the rule handles. |
| Table | Table | No | The rule also applies to tables that extend this one. | The work type the rule routes, for example Incident. |
| Groups | Groups | No | The rule runs only for records whose assignment group is in this list. | The assignment groups the rule covers. |
| Active | Boolean | No | Only active rules run. | Turns the rule on or off. |
| Order | Integer | No | Defaults to 0. Rules run in ascending order and the first matching rule wins. | Decides between rules for the same group. |
| Condition | Condition | No | Checked against the record. An empty condition always matches. | Limits the rule to some records. |
| Routing rule | Choice | No | Shows the options for the chosen rule. | How the assignee is chosen. See the next table. |
| Open ticket count | Integer | No | Defaults to 0. Used by Active ticket count. | The most tickets the rule assigns to one user. |
| Priority matrix | Key and value list | No | Used by Ticket priority volumes. A priority left out of the matrix is not routed. | Each key is a numerical priority, and its value is the number of tickets of that priority a user may hold. |
| Static routed user | User | No | Used by Static routing. An inactive user is skipped. | The user who always receives the ticket. |
| Routing script | Script | No | Used by Custom routing. Receives current and groups and sets answer to one user ID. |
Your own routing logic. |
| Respect assignment selectability | Boolean | No | Only users with Selectable for assignment take part. | Keeps team leaders and absent users out of routing. |
| Member Qualifying Condition | Condition | No | Evaluated against the User table. Inactive users are always excluded. | Narrows which group members can be chosen. |
| Open Record Condition | Condition | No | When empty, a ticket counts as open while it is not closed. | Decides which tickets count towards a user’s workload. |
Routing rules
| Routing rule | Code | How it chooses the assignee |
|---|---|---|
| Active ticket count | active_ticket_count |
A user with no open tickets in the group first, then the user with the fewest, up to the Open ticket count. |
| Ticket priority volumes | ticket_priority_volumes |
A user with no open tickets first, then the user with the fewest who is under the Priority matrix limit for the ticket’s priority. |
| Time since last assignment | time_since_last_assignment |
The user whose last assignment on this table is the oldest. |
| Static routing | static_routing |
Always the Static routed user. |
| Custom routing | custom_routing |
The user ID that the Routing script returns. |
Switch and trigger
Routing runs from the trigger “Work - Auto-Route Assignment Group” on the Work table. It fires when a record’s assignment group changes and the record has no assignee.
| Property | Default | Effect |
|---|---|---|
system.intelligent_routing.auto_routing.enabled |
false |
When true, unassigned records are routed when their assignment group changes. |