SLA duration types
Summarize
Summary of SLA Duration Types
The SLA duration types in ServiceNow allow you to define how long a task has to be completed before it breaches the SLA. You can choose between two types: user-specified durations and relative durations, both of which can work alongside an SLA schedule.
Show less
Key Features
- User-Specified Duration: This option allows you to set a fixed duration (e.g., 8 hours) for the SLA. You can specify the duration in days, hours, minutes, and seconds, and an example breach time will be displayed to assist in understanding the breach calculation.
- Relative Duration: This is defined using scripts and allows durations based on task start times, such as “Breach on Due Date” or “End of next business day.” Note that relative durations do not support pause conditions.
- Usage Scenarios: Depending on whether you use a user-specified or relative duration, the breach time is calculated based on the selected SLA schedule and the task's Due Date.
Key Outcomes
By selecting the appropriate SLA duration type, you can effectively manage task deadlines, ensuring timely execution and adherence to service level agreements. The ability to specify durations relative to business schedules enhances flexibility and supports operational efficiency.
You can select one of two SLA duration types to define the length of time within which a task must be completed before the SLA is breached.
If an SLA schedule is defined, the duration works along with the schedule. In a user-specific duration, you can choose to specify the length of time that an SLA must run before it is marked as breached. Relative durations specify durations that are relative to the start time of the task SLA and are defined using a script.
- User specified duration
- Specifies a static duration period, such as 8 hours, along with
a business schedule. The Duration field is displayed, enabling
you to specify the length of time in days, hours, minutes, and seconds that the SLA must
run before it is marked as breached. The number of days specified
in the Duration field is converted to 24- hour blocks.
Each time that you set a duration, an example breach time information message is displayed at the top of the form. This information assists you in understanding how the breach date is calculated. For example, if the current date is January 1, 2015, the time is 10:30 am, and the duration is set to 10 hours and no schedule has been selected, the following information message is displayed: An SLA starting now will end breach on 2015-01-01 20:30 (Actual elapsed time: 10 Hours).
- Relative duration
- Specifies a duration relative to the start time of the task SLA and is defined using a script. For example, you can select a relative duration such as Breach on Due Date, End of next business day or Next business day by 4pm. The set of relative durations is defined in the core configuration using script-based duration calculations.
- Specify a relative duration.
- Relative duration usage scenarios.
- Specify a relative duration
- To specify a relative duration, select an option such as Next business day by
4pm or End of next business day from the list of
available relative durations in the Duration type field.When you select a relative duration such as Next business day by 4pm, the Relative duration works on field appears. You can specify the record that the relative duration should be calculated for. You can select to use Task record or SLA record and the record you select is available as current for the relative duration script.Note:If a relative duration is selected, the example breach date information message is not displayed.
If your task record has a target date and time field, you can create an SLA with a relative duration based on that field.
- Relative duration usage scenarios
- If a schedule is selected in the SLA definition, the SLA duration works with the SLA
schedule. For example, an SLA might have a user-specified duration of 16
hours with the schedule as 8-5 weekdays. If this SLA
starts to run for a task at 8:00, it breaches at 16:00. The breach time is calculated from
the schedule that defines working time as eight hours per day from Monday to Friday. So
the 16-hours duration equates to two days later in the schedule.
The Breach on Due Date sets the breach time of the SLA to the date and time from the Due Date field of the task that the SLA is attached to.
If the Due Date field is empty or occurred in the past, the breach time of the task SLA is calculated to be one second ahead of the task SLA start time. If the date and time in the Due Date field is outside the schedule for the task SLA, the breach time is set to the next available scheduled time. For example, if the SLA definition specifies a task SLA schedule as 08:00-16:00 and the value in the Due Date field is Wednesday 11th Jan 2017 20:30, the breach time is set to Thursday 12th 2017 Jan 08:00.
If your task record has a target date and time field, you can create an SLA with a relative duration based on that field.