Sub topic 14
SLA-Driven Escalation with Entitlements and Milestones
Escalation rules react to case age. They can't model a promise such as "respond to Premier customers within one hour." Entitlements and milestones handle that. This chapter assumes you know how cases, queues, business hours, and escalation rules work from earlier chapters.
Why escalation rules are not enough
An escalation rule checks whether a case is still open after a set number of hours. It uses the same logic for every customer who matches the criteria. It has no concept of a contract, and it tracks only one clock.
Entitlement management adds those missing pieces:
- An entitlement is a record that says what support a customer is owed. It links to an account and can carry a start date, an end date, and a support process.
- An entitlement process is a timeline of milestones. Each milestone is a required step with a time limit, such as "First Response" or "Resolution."
- A milestone has a target time, and it can run automated actions as the deadline approaches or passes.
How the pieces fit
Each case points to one entitlement. The entitlement points to one entitlement process. The process starts its milestones when the case is created or on another start condition you set.
Milestone actions
Each milestone can run actions at three points.
| Trigger | When it runs | Typical action |
|---|---|---|
| Success | The milestone is completed before its deadline | Update a field, such as marking the SLA as met |
| Warning | A set time before the deadline | Email the owner or notify a manager |
| Violation | The deadline passes without completion | Set `IsEscalated`, reassign to a queue, email a lead |
The actions are the same kinds you used in escalation rules: field updates, email alerts, tasks, and outbound messages. The difference is the trigger. A milestone fires relative to its own deadline, not relative to case age.
Time and business hours
A milestone's time limit counts minutes. If the entitlement or process has business hours, the clock runs only inside those hours. Without business hours, it runs around the clock. A 60-minute First Response milestone created at 4:30 PM on Friday therefore expires on Monday morning if the business is closed over the weekend.
Completing a milestone
A milestone does not complete itself. You give it a completion criterion, such as Status changing from New, or a first outbound email. Salesforce checks that criterion when the case is saved. If the criterion is not met in time, the violation actions run.
Setting it up
- Enable entitlement management in Setup and add the Entitlements and Milestones related lists to page layouts.
- Create milestones (for example, First Response and Resolution).
- Create an entitlement process. Set the entry criteria, add milestones in order, and set each time limit.
- Add warning and violation actions to each milestone.
- Create entitlements on accounts and link them to the process.
- Create a case for that account and check the milestone tracker on the case.
Common errors
- The case has no entitlement, so no milestone starts. Check the
EntitlementIdfield. - The entitlement dates exclude today, so it is not active.
- No business hours are set, so the clock runs on weekends.
- Using an escalation rule and a milestone violation together can reassign a case twice. Choose one owner of escalation behavior for each case type.
Choosing between approaches
Use an escalation rule when one age-based rule applies to all cases of a type. Use milestones when the deadline depends on the customer's contract or when you need several clocks on one case. Use Omni-Channel for assigning work to available agents, not for deadlines.
Exercise
A Premier customer must get a first response within 1 hour, and a Standard customer within 8 hours. Why are entitlements and milestones a better fit than one escalation rule?
Show answer
Each customer's entitlement links to its own entitlement process, so each can have a different First Response time limit. An escalation rule applies one age-based logic to every case that matches its criteria. Milestones also give warning actions before the deadline passes.