Priority and escalation
Void checkEscalating(Integer action)
Runs a check according to the ticket’s priority and the given action. Based on the result, 1 of the following happens:
- Escalation stops
- Escalation restarts
- Escalation continues
You can specify the following actions:
| Value | Action |
|---|---|
| 0 | ActionRead |
| 1 | ActionChangedOwner |
| 2 | ActionNewInfo |
| 3 | ActionClosed |
| 4 | ActionChangedPriority |
| 5 | ActionNew |
Ticket t;
t.load(8);
t.checkEscalating(4);