SLAs and when to use them
What an SLA is in Servicely, how definitions, thresholds and schedules fit together, and when an SLA is the right tool.
An SLA (service level agreement) measures the business time a record takes between two conditions, such as from logging an incident to resolving it, against a target. This page explains how SLAs work in Servicely and when to use one, for process owners and administrators who define them.
What an SLA is
Four records work together.
| Record | What it holds |
|---|---|
| SLA definition | The rule: the table, when the clock starts, pauses, stops and is cancelled, the target duration, the schedule and the time zone. |
| SLA | One running clock on one record, created from a definition. A record can have several at once, for example one for response and one for resolution. |
| SLA threshold | The progress levels a clock passes through, as percentages of the target: Normal, Warning and Breached. |
| Schedule | The working hours and holidays the clock counts in. See Create a schedule. |
Definitions are under Administration → SLM → SLA definitions, thresholds under Administration → SLM → Thresholds, and running clocks under Administration → SLM → SLA instance records. An application administrator can create and change definitions for the tables of their own application, for example Incident for an ITSM administrator. The script fields need an administrator.
An example
Suppose you agree with your customers to resolve every P3 incident within two business days. The definition needs:
- a start condition: the incident is P3
- a pause condition: for example while the incident is Resolved, Awaiting external party or Awaiting client action
- a stop condition: the incident is Closed
- a duration: two business days, entered as
16hif a business day is eight hours - a schedule with your working hours
Each saved change to the incident is tested against these conditions. How that happens is in How SLA evaluation works.
Warning and breach
The shipped threshold, Standard, moves a clock to Warning at 50 percent of the target and to Breached at 100 percent. Servicely schedules the change for the time each level falls due, so the level changes even if nobody touches the record. You can create other thresholds, but usually only the warning percentage needs to change.
The “SLA - Generate notifications” trigger sends outbound notifications when an SLA record changes. Servicely ships two, “SLA - Warning” and “SLA - Breached”, which fire when the progress level becomes Warning or Breached. Both ship inactive. Turn them on, or copy them, to alert people.
The SLA from the definition flagged Primary also sets the record’s SLA status field, where the table has one.
Servicely has no escalation policy or escalation rule. To act when an SLA is at risk, use the threshold levels with outbound notifications, or a trigger on the SLA table.
How many definitions you need
Each combination of conditions and target is one definition. An incident process with five priorities and a response and a resolution SLA for each needs ten definitions. Conditions on customer, service or configuration item multiply that number. Every change to your agreements means updating the conditions, durations or schedules of the definitions it affects, so keep the conditions as broad as the agreement allows.
When to use an SLA
An SLA suits a measurement when one or more of these is true:
- You need to know in real time that a record is about to miss its target, or has missed it, through reports or notifications.
- You need to see clocks that are still running, including ones already breached.
- The clock must pause, for example while the record waits for the requester.
- The conditions, durations or schedules change often and need maintaining.
- There is a legal or contractual commitment, and a process to review it.
When not to use an SLA
A duration field filled once when the work ends is simpler when:
- you only need the time after the event, not while it runs, for example from assignment to first contact with the requester
- the clock never pauses
- you need no schedules or variations
- there is no contractual commitment, and delays are tracked for quality only