-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrules.json
More file actions
33 lines (33 loc) · 1.06 KB
/
Copy pathrules.json
File metadata and controls
33 lines (33 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
"id": "workflow-routing-demo",
"rules": [
{
"id": "route-critical-ticket",
"type": "simple_rule",
"options": {},
"conditions": [
{
"id": "priority-threshold",
"type": "compare_two_numbers",
"options": {},
"params": [
{ "id": "ticket-priority", "name": "op1", "type": "state_number", "value": "ticket.priority", "options": {} },
{ "id": "comparison", "name": "comp", "type": "comparator", "value": ">=", "options": {} },
{ "id": "critical-threshold", "name": "op2", "type": "simple_number", "value": "8", "options": {} }
]
}
],
"actions": [
{
"id": "assign-escalation-route",
"type": "set_route",
"options": {},
"params": [
{ "id": "route-name", "name": "route", "type": "simple_string", "value": "escalation", "options": {} },
{ "id": "sla-hours", "name": "slaHours", "type": "simple_number", "value": "4", "options": {} }
]
}
]
}
]
}