> ## Documentation Index
> Fetch the complete documentation index at: https://superofficeas-bugfix-ty-screen-designer-paradox.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Priority and escalation

> Priority and escalation of requests in CRMScript

<Note>
  This feature requires a **Service Premium** license or the **Growth** plan.
</Note>

## 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             |

```crmscript theme={null}
Ticket t;
t.load(8);
t.checkEscalating(4);
```
