Entitlements, milestones and SLAs
Entitlement processes (SLA policies), versioned milestones, success, warning and violation actions, business hours, stopping the clock, and the automation teams forget.
Simple explanation
An entitlement says what support a customer is owed, for example "Gold support: 1-hour first response, 8-hour resolution."
An entitlement process enforces that promise on each case. Newer Salesforce documentation calls it an SLA policy. It's a timeline of milestones (First Response, Resolution) with target times measured in business hours. Each milestone can fire warning, violation and success actions: field updates, email alerts, tasks or outbound messages.
The case page shows a Milestone Tracker, so the agent can see the countdown.
Two things are commonly misunderstood:
- Getting the entitlement onto the case. Historically this needed Flow or Apex. Newer SLA-policy setup adds application rules that assign an entitlement to new cases by criteria β verify release and edition.
- Completing milestones. Closing a case does not mark its milestones complete. Automation sets
CaseMilestone.CompletionDate.
Real-world analogy
It's a pizza chain's "30 minutes or it's free" promise.
- The entitlement is your loyalty card, which proves you qualify.
- The entitlement process is the kitchen's ticket timer, with checkpoints: confirmed in 2 minutes, out of the oven in 15, delivered in 30.
- The warning pings the manager at 25 minutes, and the violation triggers the free pizza.
- If you ask for a later delivery, the timer stops. That's stopping the clock.
Worked example
A Gold support case with High priority, created at 17:30 on a Friday. Business hours are MonβFri, 09:00β18:00.
- The entitlement is applied, either by an application rule or by a Flow that finds the active entitlement for the account or asset and sets
Case.EntitlementId. - The process starts two milestones: First Response (1 business hour) and Resolution (8 business hours).
- Because business hours apply, the First Response target is 09:30 on Monday, not 18:30 on Friday.
- The agent sends the first reply, and automation sets
CompletionDateon the First ResponseCaseMilestone. - The agent asks for logs and sets the status to Waiting on Customer. Flow sets
IsStopped = true, which pauses the clock. - The customer replies,
IsStoppedgoes back tofalse, and the targets move out by the time spent paused. - 30 minutes before the Resolution target, a warning action alerts the team lead. On a breach, a violation action escalates to the duty manager.
Diagram
Key points
- Entitlement = what the customer is owed. Entitlement process (SLA policy) = how it's enforced on each case through milestones.
- Processes are versioned: new cases use the default version, and existing cases can be moved deliberately.
- The case needs
EntitlementId: from application rules β verify availability, Flow, Apex or the agent. No entitlement means no milestones. - Milestones run on business hours and have a recurrence type: no recurrence, independent or sequential.
- Actions are time triggers relative to the milestone target: warning, violation and success.
IsStoppedpauses all milestones on the case, andStoppedSincerecords when the pause began.- Closing the case doesn't complete milestones. Automation sets
CaseMilestone.CompletionDate.
Limits and gotchas
- Stopping the clock is a policy decision, not a convenience. Some regulators don't allow pausing for "waiting on customer", so get compliance sign-off.
- Business-hours holidays need yearly upkeep. A missing holiday silently creates breaches.
- Changing a case's entitlement mid-life changes the process it runs under, so define and document the rule for upgrades and downgrades.
- Activated processes restrict edits, so plan versions rather than editing in place.
- Queue-owned cases complicate milestone alerts addressed to the "case owner". Use explicit recipients.
π€ How to say this in an interview
"Entitlements define what the customer is owed, and the entitlement process (SLA policy) enforces it on every case through milestones measured in business hours. The two things teams forget are getting the entitlement onto the case and completing milestones. Closing a case doesn't complete them. I also treat stopping the clock as a policy decision that the business, and compliance in regulated industries, must sign off."
Then sketch the timeline on the whiteboard: first response, resolution, the warning point and the violation point.
Common follow-ups
A customer upgrades from Silver to Gold mid-case. What happens?
Update the case's entitlement, which changes the process that applies. Agree up front whether completed milestones carry over and how targets are recalculated, then encode that in the automation and document it. Test it, because it's a classic source of reporting disputes.
SLA breaches spike right after go-live. Where do you look first?
Check business hours and holidays, whether new cases actually have an EntitlementId, which process version applies, and whether milestone-completion automation is firing. Many apparent violations turn out to be milestones that were never marked complete.