cardinal
Support

Service level agreements

Hold Issues, or any RecType with a status, to response and resolution deadlines.

A Service Level Agreement (SLA) sets how fast a record must get its first response and its resolution, per priority, counted over working hours. It applies to Issue by default. Pick another RecType in Apply On, such as Lead, and ERP adds the SLA fields to it.

Turn on Track Service Level Agreement in Support Settings first.

Set one up

Create a Service Level Agreement. Set Apply On (Issue), Service Level Name, and either tick Default Service Level Agreement or give it a Condition or an Entity.

Add a Priorities row per Issue Priority with First Response Time and Resolution Time. Tick Default Priority on exactly one row.

Add Working Hours: one row per workday with Start Time and End Time. Pick a Holiday List.

List the statuses that fulfil the SLA (SLA Fulfilled On, such as Resolved and Closed) and the ones that pause it (SLA Paused On, such as Replied).

The record is named SLA-<Apply On>-<Service Level Name>, for example SLA-Issue-Default.

How a record gets its deadlines

On every save ERP finds the Agreement that fits the record and computes:

  • Response By and Resolution By, counted only inside the working hours and skipping the Holiday List's days.
  • The agreement status: First Response Due, then Resolution Due after the first reply, then Fulfilled or Failed.
  • Hold time. A paused status stamps On Hold Since and clears Resolution By. When the record leaves it, the held time adds to Total Hold Time and the deadline moves by it.

A deadline missed gives Failed and writes an "Assigned" comment naming the users with open ToDos on the record.

Example

Working hours are 09:00 to 17:00, Monday to Friday. The Holiday List holds Tuesday 2019-03-05. Medium priority has a 4 hour response time and a 6 hour resolution time.

EventResult
Issue created Monday 2019-03-04 14:00Response By Wednesday 10:00, Resolution By Wednesday 12:00
Reply sent Monday 15:00First Response Time 1 hour, status Resolution Due
Status Replied at 15:00, customer answers at 16:00Total Hold Time 1 hour, Resolution By moves to Wednesday 13:00
Closed Wednesday 12:30Fulfilled

Condition and entity

Condition is a Cardinal expression over the record's fields as bare names, not Python:

issue_type == 'Critical'

A save refuses a condition that names a field the RecType lacks. Entity Type (Customer, Customer Group or Territory) with Entity limits the Agreement to that party.

Checks on save

RefusedMessage
No default priority rowSelect a Default Priority.
Response time above resolution timeResponse Time for Low priority in row 1 can't be greater than Resolution Time.
A priority or workday twicePriority Low has been repeated.
Start Time not before End TimeStart Time can't be greater than or equal to End Time for Monday.
A second default for the same RecTypeDefault Service Level Agreement for Issue already exists.
Apply On a RecType without a status fieldThe Document Type Issue Priority must have a Status field

Fields that matter

FieldUse
Apply OnThe RecType. Must have a status field
EnabledOff stops the Agreement from applying
Start Date, End DateA daily job disables Agreements past their End Date
Apply SLA for Resolution TimeOff tracks the first response only
Default PriorityPriority given to a record with none
Holiday ListDays the clock skips

On this page