---
title: "SLA definition and record fields"
site: admin
version: 2027.1
versions: "all"
url: https://docs-new.servicely.ai/admin/2027.1/automation/service-levels/sla-definitions/
type: reference
application: itsm
last_updated: 2026-12-03
commit: 6777698daac5
---


This page lists the fields of SLA definitions, SLA thresholds and the SLA records they create. Use it while you set up or read an SLA. The ideas are in [SLAs and when to use them](page:automation/service-levels/sla-concepts) and the sequence in [How SLA evaluation works](page:automation/service-levels/sla-evaluation).

## SLA definition fields

In the Administration workspace, definitions are under **Workflow & service levels → Service levels → SLA definitions**. Application administrators can edit definitions for their own application's tables, apart from the script fields.

<Image src="asset:screenshots/admin/automation-service-levels-sla-definitions/sla-definitions-menu.png">The SLA definitions item in the Service levels section of the Workflow & service levels menu.</Image>

<Image src="asset:screenshots/admin/automation-service-levels-sla-definitions/new-sla-definition.png">The empty Create SLA definition form, with the Start condition, Pause condition, Stop condition, Cancel condition and Scripts tabs.</Image>

| Field | Type | Behaviour | Purpose |
| --- | --- | --- | --- |
| Name | Text | Required. Copied to each SLA record. | Identifies the definition, for example "P3 Incident resolve". |
| Active | Yes or no | Default yes. | Only active definitions start SLAs. |
| Table | Table | Required. The table needs an SLA engine trigger. Tables extended from Work and the Interaction table have one. | The records the SLA runs on. |
| Type | Choice | Response SLA, Resolve SLA or Assignment. Copied to the SLA record. | Groups SLAs in reports and filters. Also used by **Copy pause duration on cancellation**. |
| Primary | Yes or no | | The SLA that sets the record's **SLA status** and due times. |
| Duration | Duration | Business time within the schedule. | The target, for example `16h`. |
| Schedule | Schedule | Optional. When empty, the schedule comes from the company, requester or user. | The working hours and holidays the clock counts in. See [Create a schedule](page:automation/service-levels/schedules). |
| Time zone | Choice | Optional. When empty, the time zone comes from the company, requester or user. | The time zone the schedule is read in. |
| Boundary behavior | Choice | Trailing (start of next window), the default, or Leading (end of current window). | Whether stopping at exactly 100 percent counts as met or breached. |
| Threshold | SLA threshold | | The percentage levels the SLA passes through, for example Standard. |
| Start time field | Field | Optional. When empty, the clock starts at the time of the save. | Takes the start time from a field on the record, such as **Created on**. |
| Roles | Roles | Optional. Copied to each SLA record. | Roles linked to the SLAs this definition creates. |
| Start condition | Condition | Tested only when the record has no active SLA for this definition. | When the clock starts, for example "Priority is P3". |
| Start condition script | Script | Set `answer` to `true` or `false`. Receives `current`. | Start conditions a query cannot express. |
| Pause condition | Condition | Tested on running SLAs. A paused SLA resumes when it stops matching. | When the clock pauses, for example while the status is Awaiting client action. |
| Pause condition script | Script | As for the start condition script. | Pause conditions a query cannot express. |
| Stop condition | Condition | Tested on active SLAs. A stopped SLA never restarts. | When the clock stops, for example "Status is Closed". |
| Stop condition script | Script | As for the start condition script. | Stop conditions a query cannot express. |
| Prevent immediate stop condition | Yes or no | Default yes. | Stops an SLA from being stopped in the same save that started it. |
| Cancel condition | Condition | Tested on active SLAs. | When the clock is cancelled instead of stopped. |
| Cancel condition script | Script | As for the start condition script. | Cancel conditions a query cannot express. |
| Copy pause duration on cancellation | Yes or no | | A new SLA inherits the start time and pause time of an SLA cancelled in the same save. |
| Cancellation group | Text | Used with **Copy pause duration on cancellation**. When empty, the cancelled SLA must have the same **Type**. | Pairs definitions that replace each other, for example `priority`. |
| Update Script | Script | Runs when an SLA starts. Receives `current`, `slaRec`, `slaDefinitionRec` and `operation`. | Sets extra fields on the SLA record. |

An empty condition never matches. When a condition and its script are both set, both must match.

To enter 3.5 business days of 8 hours each, enter `28h`. After you save, it shows as `1d 4h`, because `d` always means 24 hours.

## SLA threshold fields

Thresholds are under **Workflow & service levels → Service levels → Thresholds**. A threshold has a **Name** and a list of entries.

<!-- source: platform/data/SLAThresholdEntry -->

| Field | Type | Behaviour | Purpose |
| --- | --- | --- | --- |
| Threshold | SLA threshold | | The threshold the entry belongs to. |
| Level | Choice | Normal, Warning or Breached. | The progress level the SLA moves to. |
| Percentage | Decimal | Default 0. Percentage of the target duration. | When the level is reached. |
| Display value | Text | Required. | The label shown for the level. |
| CSS style | Text | | The style used to show the level in lists. |

The shipped Standard threshold has three entries.

| Level | Percentage | Display value | CSS style |
| --- | --- | --- | --- |
| Normal | 0 | Normal - 0% | `fs-list-dot-success` |
| Warning | 50 | Warning - 50% | `fs-list-dot-warn` |
| Breached | 100 | Breached - 100% | `fs-list-dot-error` |

## SLA record fields

SLA records are under **Workflow & service levels → Service levels → SLA instance records**. Servicely sets these fields. Durations are filled in when the SLA stops.

<!-- source: platform/data/AvailableValue?Table=SLA -->

| Field | Type | Behaviour | Purpose |
| --- | --- | --- | --- |
| Name | Text | Copied from the definition. | Identifies the SLA. |
| SLA definition | SLA definition | Required. | The definition that created the SLA. |
| Parent | Record | Required. | The record the SLA measures. |
| Type | Choice | Response SLA, Resolve SLA or Assignment SLA. | Copied from the definition. |
| State | Choice | Running, Paused, Completed or Cancelled. | Where the clock is. |
| Active | Yes or no | Yes while Running or Paused. | Whether the clock is still live. |
| Progress level | Choice | Normal, Warning, Cancelled or Breached. | How far through the target the SLA is. |
| Target duration | Duration | Copied from the definition. | The business time allowed. |
| Started at | Date and time | | When the clock started. |
| Due at | Date and time | Cleared if the SLA is cancelled. | When the SLA breaches if it is not completed, cancelled or paused first. |
| Paused at | Date and time | The last pause only. | When the clock last paused. |
| Stopped at | Date and time | Set on completion or cancellation. | When the clock stopped. |
| Next threshold, Next threshold due at | SLA threshold entry, date and time | | The next level and when it falls due. |
| Previous threshold | SLA threshold entry | | The last level reached. |
| Business duration | Duration | Within the schedule, without pauses. | The business time taken. |
| Elapsed duration | Duration | Clock time, without pauses. | The calendar time taken. |
| Pause business duration | Duration | | The business time spent paused. |
| Pause elapsed duration | Duration | | The clock time spent paused. |
| Achievement percentage | Decimal | Business duration as a percentage of the target, to one decimal place. | How much of the target was used. |
| SLA met | Yes or no | Set when the SLA completes. | Whether it finished within the target. |
| Schedule, Time zone | Schedule, choice | Chosen when the SLA starts. | The schedule and time zone the clock counts in. |
| Boundary behavior | Choice | Copied from the definition. | How exactly 100 percent is judged. |
| Roles | Roles | Copied from the definition. | Roles linked to the SLA. |
| Group, Assignee, Company | References | Not filled in by the SLA engine. | References to a group, an assignee and a company. |
| ITSM Parent, Parent work | References | Point at the parent when it is an ITSM or Work record. | Reporting across SLAs and their records. |

## Related

- [SLAs and when to use them](page:automation/service-levels/sla-concepts)
- [How SLA evaluation works](page:automation/service-levels/sla-evaluation)
- [Create a schedule](page:automation/service-levels/schedules)
- [What the SLA indicator means](page:end-user/agents/agent-workspace/sla-indicator)
