> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/xsoar-6-administrator-guide/6.12/configure-cortex-xsoar/customize-and-configure-cortex-xsoar/work-with-slas/create-an-sla-field.md).

# Create an SLA Field

Create SLA fields in Cortex XSOAR 6.12.

By default, the system comes with several SLA and Timer fields.

The SLA fields count down the time remaining, while a Timer field serves as a counter, counting the time that has elapsed since started. If no SLA is defined, the SLA fields serve as a counter.

1. Navigate to Settings → OBJECTS SETUP → Incidents → **Incident Fields**.
2. Click **New Field**.
3. Under **Field Type** field, select **`Timer/SLA`**.
4. Enter a name and optional tooltip for the field.
5. Define a duration for the SLA of this field. If no value is entered, the field serves as a counter.

   By default, the SLA field shows hours and minutes. You can change this to days and hours, by clicking **Hours**.
6. Determine the risk threshold for this timer. When the timer falls below this threshold, it is considered at risk. By default, the threshold is 3 days, which is defined in the [global system parameter](/xsoar-6-administrator-guide/6.12/configure-cortex-xsoar/customize-and-configure-cortex-xsoar/work-with-slas/configure-the-global-risk-threshold.md).
7. Under **Run on SLA Breach**, select the script to run when the SLA time has passed. For example, email the supervisor or change the assignee.

   Only scripts to which you have added the SLA tag will appear in list of scripts that you can select.

   ![SLA\_Field.png](https://4128117757-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9gZ0C5CI8Bl5Aulkp4dZ%2Fuploads%2Fgit-blob-fca49df98312ca18dd887541cc730565d4582040%2Fc5a6c008d5bd281644da9ed6e53cb590e125dae2a276e796ce5a683514baecb4.png?alt=media)
8. Click **Save**.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://cortex-docs.paloaltonetworks.com/xsoar-6-administrator-guide/6.12/configure-cortex-xsoar/customize-and-configure-cortex-xsoar/work-with-slas/create-an-sla-field.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
