Set up service level agreements
A service level agreement (SLA) is a promise to a customer about how fast you respond to and resolve their Issues. It sets the timelines, not how you do the work. In ERPNext, an SLA sets a first response time and a resolution time for each priority, within your working hours. ERPNext then shows on each Issue when the response and the resolution are due, and whether you met them.
Prerequisites
- In Support Settings, select Track Service Level Agreement.
- Issue priorities exist.
- A holiday list for the days you do not provide support.
Create a service level agreement
- Open the Service Level Agreement list and select Add Service Level Agreement.
- Enter the Service Level Name, for example Premium Support.
- In Apply On, select Issue.
- Choose which Issues the SLA covers:
- Select Default Service Level Agreement to apply it to every Issue that no other SLA covers.
- Or set the Entity Type (Customer, Customer Group, or Territory) and the Entity.
- Optionally, add a Condition, for example
doc.issue_type == "Technical".
- Optionally, set Start Date and End Date for the period that the agreement is valid.
- In the Priorities table, add each priority with its First Response Time and Resolution Time. Select Default Priority in one row. ERPNext uses it when an Issue has no priority.
- To track only the first response, clear Apply SLA for Resolution Time.
- In Working Hours, add each Workday with its Start Time and End Time.
- Select the Holiday List. ERPNext does not count holidays.
- Keep Enabled selected and save.
Pause the SLA while you wait
Sometimes you wait for the customer, for example for more information. The time should not count against you.
- In the SLA, add the statuses to the SLA Paused On table, for example On Hold.
- When an Issue moves to one of these statuses, ERPNext clears the due dates and pauses the timers.
- When the Issue moves to another status, ERPNext adds the paused time to Total Hold Time on the Issue and moves the due dates by that time.
Set when the SLA is met
In the SLA Fulfilled On table, add the statuses that count as resolved, for example Resolved and Closed. When an Issue reaches one of them in time, its Service Level Agreement Status becomes Fulfilled.
How the SLA shows on an Issue
When you save an Issue, ERPNext applies the matching SLA and sets:
- Response By: when the first response is due.
- Resolution By: when the resolution is due.
- Service Level Agreement Status: First Response Due, Resolution Due, Fulfilled, or Failed.
To escalate an Issue, raise its Priority. ERPNext recalculates the due dates from the priority's times.
Reset the SLA on an Issue
If an Issue needs a fresh start, for example after the customer changes the request, you can reset the SLA timers.
- In Support Settings, select Allow Resetting Service Level Agreement.
- On the Issue, select Reset Service Level Agreement and enter the reason.
ERPNext restarts the timers from now and records the reason in a comment.