Salesforce Entitlements Implementation Guide
Salesforce Entitlements Implementation Guide
Entitlement Management
Salesforce, Spring 17
@salesforcedocs
Last updated: March 11, 2017
Copyright 20002017 salesforce.com, inc. All rights reserved. Salesforce is a registered trademark of salesforce.com, inc.,
as are other names and marks. Other marks appearing herein may be trademarks of their respective owners.
CONTENTS
ENTITLEMENT VERSIONING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Updating an Entitlement Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Create a New Version of an Entitlement Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Use a New Version of an Entitlement Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Important: Only users in orgs with the Service Cloud can enable, create, and update entitlement management items.
1
Introduction to Entitlement Management Entitlements: Terms to Know
Note:
Contacts on an account dont automatically inherit the accounts entitlements. Depending on your business processes,
you may need to create a separate entitlement for each contact on an account. You can also set up an Apex trigger that
automatically assigns an entitlement to a contact when you create the contact.
Entitlement contacts dont have page layouts, search layouts, buttons, links, or record types.
The same visibility and sharing settings that apply to the parent account apply to contacts. Associating a contact with an
entitlement doesnt share the entitlement record with the contact or the related community user.
Entitlement Template
Predefined terms of customer support that can be quickly added to products in Salesforce. For example, you can create entitlement
templates for phone or web support so users can easily add entitlements to products purchased by customers.
Entitlement Management
A collection of Salesforce features that help you provide the correct service levels to your customers. It includes:
Entitlements, which let support agents determine whether a customer is eligible for support.
Entitlement processes, which are timelines that include all the steps that your support team must complete to resolve support
records like cases or work orders.
Service contracts, which let you represent different kinds of customer support agreements like warranties, subscriptions, or
maintenance agreements. You can restrict service contracts to cover specific products.
Community access to entitlements, which lets community users view entitlements and service contracts and create support records
from them.
Reporting on entitlement management, which lets you track the way entitlements are used in your Salesforce org and whether
service contract terms are being met.
Depending on your business needs, you may decide to use all of these features or just a few of them.
Service Contract
A customer support agreement between you and your customers. Service contracts in Salesforce can represent warranties,
subscriptions, service level agreements (SLAs), and other types of customer support. View service contracts in the Service Contracts
tab or on the Service Contracts related list on accounts and contacts.
Contract Line Item
Specific products covered by a service contract. View contract line items in the Contract Line Items related list on service contracts
(not contracts!). You can only use contract line items if your org uses products.
Note: Schedules arent available for contract line items, and community users cant access them.
Entitlement Process
A timeline that includes all the steps (milestones) that support agents must complete to resolve a support record. Each process
includes the logic needed to determine how to enforce the correct service level for your customers. Entitlement processes come in
two types: Case and Work Order.
Not all entitlements need processes. For example, a simple entitlement might just state that a customer is eligible for phone support
24/7. If you need to add time-dependent steps or service levels to that definitionfor example, if you want a supervisor to be notified
by email when a customers case goes unresolved for two hoursyou need an entitlement process.
Milestone
A required step in your entitlement process. Milestones are metrics that represent service levels to provide to each of your customers.
Examples of milestones include First Response and Resolution Time on cases.
Milestone Action
A time-dependent workflow action that occurs on a milestone in an entitlement process. For example, you might add the following
actions to a milestone:
2
Introduction to Entitlement Management Entitlement Management Limitations
Send an email alert to certain users one hour before a first response milestone is scheduled to expire
Update certain fields on a case one minute after a first response is completed
There are three types of milestone actions:
Success actions are triggered when a milestone is completed
Warning actions are triggered when a milestone is about to be violated
Violation actions are triggered when a milestone is violated
You can automate tasks, email alerts, field updates, and outbound messages for each action type.
3
Introduction to Entitlement Management Entitlement Management Limitations
4
PLANNING YOUR IMPLEMENTATION
5
Planning Your Implementation Planning for Entitlement Management
Entitlements + service contracts Support agents determine whether a Entitlements are purchased and
customer is eligible for support based on managed separately from the products
their service contract. they cover and are part of a service
contract
Your customers' entitlements are
renewed at a contract level
You use Salesforce for customer support
but not necessarily for service contract
management
Entitlements + service contracts + contract Support agents determine whether a You use Salesforce for customer support
line items (most complex option) customer is eligible for support based on and to manage your customers' service
the products covered in their service contracts
contract.
Your support team manages service
contract transactions, such as transfers,
mergers, and renewals
Warranties, subscriptions, or other
support products appear as line items
on your sales orders and map to one or
more entitlements
Entitlements are created and updated
through an integration with your order
management system
Regardless of the setup model you choose, you can enhance your support process with other entitlement management features. For
example, you can:
6
Planning Your Implementation Entitlement Management Setup Checklist
Create entitlement processes to enforce required, time-dependent steps in your support process
Use entitlement versioning to create and maintain multiple versions of entitlement processes
Add entitlements to communities
Report on entitlements
After you select a setup model, head to the invaluable Entitlement Management Setup Checklist.
Customize Entitlements You want to control which fields users see USER PERMISSIONS
on entitlements, and how and where users
To set up entitlement
associate entitlements with other records. management
Set Up Entitlement and Asset Lookup You want to control which entitlements and Manage Entitlements
Filters on Cases assets users can link to a case.
Give Users Access to Entitlement You want to give users the appropriate user
Management permissions, field access, and tab access.
Set Up the Milestone Tracker You want your support team to be able to
see a list of upcoming and closed milestones
7
Planning Your Implementation Entitlement Management Setup Checklist
Limit User Updates to Milestones You want to prevent users from updating milestones unless
certain criteria are met.
Create a Milestone You want to define a required step in your support process.
Set Up an Entitlement Process You want to be able to apply the required steps in your support
process to specific records.
Create an Entitlement Process You want to create a timeline that includes all of the steps that
your support team must complete to resolve support records.
Customize Entitlement Process Fields You want to control which entitlement process fields users see.
Add a Milestone to an Entitlement Process You want to specify which required support steps occur, and
when, on your timeline.
Add a Milestone Action to an Entitlement Process You want to define time-dependent workflow actions that
occur at every step (milestone) in an entitlement process when
the milestone is nearing violation, violated, or completed.
Apply an Entitlement Process to an Entitlement You want a specific entitlements support records to follow the
steps defined in your entitlement process.
Create a New Version of an Entitlement Process You want to update an entitlement process.
Use a New Version of an Entitlement Process You want to apply a new version of an entitlement process to
new or existing entitlements.
Set Up Service Contracts You want customer support eligibility to be determined at the
service contract level.
Set Up Contract Line Items You want to be able to limit a service contract to cover specific
products.
Set Up Entitlement Management in Communities You want customers or partners to be able to view their
entitlements and service contracts and create support records
from them.
Report on Entitlements You want to view and share data on entitlements and service
contracts.
Give your support team entitlement management guidelines. You want your support team to understand:
How to verify that a customer is entitled to support
How to link cases or work orders to entitlements
How entitlement processes affect the way they resolve
cases or work orders
8
SETTING UP ENTITLEMENT MANAGEMENT
Set Up Entitlements
Entitlements are units of customer support in Salesforce, such as phone support or web support.
EDITIONS
Set up entitlements in your Salesforce org to help support agents determine whether a customer
is eligible for support. Available in: Salesforce
Classic
1. Enable Entitlements
Available in: Professional,
Enable entitlements in your Salesforce org to help support agents deliver the correct service Enterprise, Performance,
level to your customers. Unlimited, and Developer
2. Customize Entitlements Editions with the Service
Customize entitlement fields and page layouts based on your business needs and how your Cloud
agents work.
3. Set Up Entitlement and Asset Lookup Filters on Cases
Set up lookup filters on entitlement-related case fields to restrict the entitlements that users can select on a case.
4. Give Users Access to Entitlement Management
After you set up entitlement management, make sure that users have the appropriate user permissions, field access, and tab access.
5. Set Up an Entitlement Template
Entitlement templates let you predefine terms of support that users can add to products.
6. Automatically Add Entitlements to Cases from Web, Email, and Communities
Entitlements dont automatically apply to cases created using Web-to-Case, Email-to-Case, or communities. However, you can add
entitlements to these features using Apex code.
Enable Entitlements
Enable entitlements in your Salesforce org to help support agents deliver the correct service level
EDITIONS
to your customers.
1. From Setup, enter Entitlement Settings in the Quick Find box, then select Available in: Salesforce
Entitlement Settings. Classic
2. Select Enable Entitlement Management. Available in: Professional,
3. Click Save. This takes you to a page where you can customize entitlement management settings. Enterprise, Performance,
Unlimited, and Developer
Youll come back to those settings later on in the entitlement management setup process.
Editions with the Service
Cloud
USER PERMISSIONS
To enable entitlements:
Customize Application
9
Setting Up Entitlement Management Customize Entitlements
Customize Entitlements
Customize entitlement fields and page layouts based on your business needs and how your agents
EDITIONS
work.
1. Customize entitlements fields. Available in: Salesforce
This lets you control what information users add to entitlements. Classic
Important: To let a user create cases from entitlements or change a cases assigned entitlement, make the Entitlement
Name field on cases editable for their profile.
Add the Entitlements related list to this objects page So users can view and create entitlements when...
layouts...
Accounts Any contact on the account is eligible for support
5. Make the Entitlements tab visible in Salesforce and any custom apps.
10
Setting Up Entitlement Management Set Up Entitlement and Asset Lookup Filters on Cases
The Entitlements tab is where users create and edit entitlements. Add the tab to an app or instruct your users to add it to an existing
tab set in Salesforce. Users need the Read permission on entitlements to see the Entitlements tab.
11
Setting Up Entitlement Management Give Users Access to Entitlement Management
Choosing multiple items acts as an AND function, so the more items you select, the more it restricts the options returned. For example,
choosing Same account on the case and Same contact on the case means the Asset lookup field only
returns assets registered to both the account and the contact on the case.
Tip: Choose items that match the way your support agents verify support eligibility. For example, choose the account-related
items if your support agents verify support eligibility based on accounts.
3. Click Save.
Create and run reports based Create and Customize Read Only, Standard User,
on entitlement management Reports Solution Manager, Contract
custom report types Manager, Marketing User, and
System Administrator
12
Setting Up Entitlement Management Give Users Access to Entitlement Management
Change a work orders entitlement Edit on work orders Standard User, Solution Manager, Contract
AND Manager, Marketing User, and System
Administrator
Read on entitlements
Verify or view entitlements Read on entitlements Read Only, Standard User, Solution
Manager, Contract Manager, Marketing
User, and System Administrator
View entitlement contacts Read on entitlement contacts Read Only, Standard User, Solution
Manager, Contract Manager, Marketing
User, and System Administrator
Change entitlement contacts Create on entitlement contacts None: enable the permissions in a
AND permission set or custom profile
Verify or view service contracts Read on service contracts Read Only, Standard User, Solution
Manager, Contract Manager, Marketing
User, and System Administrator
Create service contracts Create on service contracts None: enable the permission in a
permission set or custom profile
Change service contracts Edit on service contracts None: enable the permission in a
permission set or custom profile
Verify or view contract line items Read on contract line items Read Only, Standard User, Solution
Manager, Contract Manager, Marketing
User, and System Administrator
Add contract line items to service contracts Edit on service contracts None: enable the permissions in a
AND permission set or custom profile
Change contract line items on service Edit on service contracts None: enable the permissions in a
contracts AND permission set or custom profile
13
Setting Up Entitlement Management Set Up an Entitlement Template
Tip: If a standard profile doesnt include a certain user permission, you can create a permission set and enable the permission
in it. Or, clone the standard profile and enable the permission in the custom profile.
Important: To let a user create cases from entitlements or change a cases assigned entitlement, make the Entitlement
Name field on cases editable for their profile.
SEE ALSO:
Salesforce Help: Field-Level Security
Note: Entitlement templates are only available if entitlements and products are enabled in USER PERMISSIONS
your org.
To create entitlement
Tip: The Entitlement Management Trailhead module introduces you to common terms and templates:
walks you through the process of creating an entitlement template. And, its fun! To get Manage Entitlements
started, see Entitlement Management.
14
Setting Up Entitlement Management Set Up an Entitlement Template
Field Description
Entitlement Template Name The name of the entitlement template.
Use a descriptive name, like Phone Support. This helps
users better understand entitlement templates when they see
them on related lists for products.
Per Incident Lets you limit the number of cases the entitlement supports.
The admin determines whether this field is visible.
Cases Per Entitlement The total number of cases the entitlement supports.
This field is only available if Per Incident is selected.
4. Click Save.
5. Add the entitlement template to a product.
a. Go to the product detail page.
b. Click Add Entitlement Template on the Entitlement Templates related list.
c. Select the entitlement template.
d. Click Insert Selected.
e. Click Done.
Now when a user creates an asset and links it to that product, the Entitlements related list on the asset includes an entitlement
created from the entitlement template. That way, support agents responding to a call about the asset can quickly see what kind of
support the customer is entitled to receive.
15
Setting Up Entitlement Management Automatically Add Entitlements to Cases from Web, Email,
and Communities
Note: All users, even those without the View Setup and Configuration user permission, can view entitlement templates via the
API.
16
Setting Up Entitlement Management Set Up Service Contracts
if(e.AccountId==c.AccountId){
c.EntitlementId = e.Id;
if(c.AssetId==null && e.AssetId!=null)
c.AssetId=e.AssetId;
break;
}
}
}
}
}
}
}
}
5. Make the Service Contracts tab visible in Salesforce and any custom apps.
The Service Contracts tab is where users create and edit service contracts and contract line items. Add the tab to an app or instruct
your users to add it to an existing tab set in Salesforce. Users need the Read permission on service contracts to see the Service
Contracts tab.
6. Add the Service Contracts related list to account and contact page layouts.
17
Setting Up Entitlement Management Set Up Contract Line Items
This lets users create, update, and verify service contracts from accounts and contacts.
Note: Schedules aren't available for contract line items, and community users cant access them.
18
Setting Up Entitlement Management Set Up Entitlement Management in Communities
19
Setting Up Entitlement Management Report on Entitlements
Report on Entitlements
Use custom report types to define report criteria that users can use to run and create reports on
EDITIONS
entitlements, service contracts, and contract line items.
After you set up entitlement management, your Salesforce org automatically includes the following Available in: Salesforce
custom report types: Classic
Service contracts with contract Lists service contracts with Customer Support Reports
line items contract line items (products). USER PERMISSIONS
Service contracts with Lists service contracts with Customer Support Reports To create or update
entitlement management
entitlements entitlements.
custom report types:
Cases with milestones Lists cases with milestones. Customer Support Reports Manage Custom Report
Types
Note: This report type
To create and run reports
cant be customized. based on entitlement
management custom report
types:
To customize entitlement management custom report types: Create and Customize
Reports
1. From Setup, enter Report Types in the Quick Find box, then select Report Types.
2. From the All Custom Report Types page, you can:
Define a new custom report type. You can't select entitlements as a primary object.
Update a custom report type's name, description, report type category, and deployment status.
Delete a custom report type.
Important: When you delete a custom report type, all the data stored in the custom report type is deleted and cannot
be restored from the Recycle Bin.
Tip: If you want to view a list of work orders with milestones in your org, use the Object Milestones custom report type to create
a work order report.
20
ENFORCING SERVICE LEVELS
Set Up Milestones
Milestones represent required steps in your support management process, like first response times.
EDITIONS
Set up and customize milestones in your org so they can be added to entitlement processes and
applied to support records like cases and work orders. Available in: Salesforce
Classic
1. Customize Milestone Page Layouts
Available in: Professional,
Milestones appear in the Case Milestones related list on cases, and the Object Milestones related Enterprise, Performance,
list on work orders. Customize your page layouts to help support agents and supervisors track Unlimited, and Developer
support progress. Editions with the Service
2. Enable Milestone Feed Items Cloud
Help support agents monitor support activity by enabling milestone feed items. This option
posts a notification to the feed and the record owners profile page when a milestone is
completed or violated.
3. Set Up the Milestone Tracker
The milestone tracker gives support agents a complete view of upcoming and closed milestones, and displays countdowns for active
and overdue milestones. Add it to the case feed, work order feed, a custom page, or the service console.
4. Limit User Updates to Milestones
Add validation rules to milestones to prevent users from updating milestones unless certain criteria are met.
5. Create a Milestone
Milestones represent required steps in your support process, such as case resolution time and first response time. Youll create
master milestones in your org, then add them to entitlement processes to enforce different service levels on support records like
cases and work orders.
6. Auto-Complete Case Milestones
Create an Apex trigger that automatically marks milestones Completed on cases that match unique criteria. In your trigger, define
which events and related case criteria must be satisfied for a milestone to be marked Completed. You can implement a similar trigger
to auto-complete work order milestones.
21
Enforcing Service Levels Customize Milestone Page Layouts
Start Date The date and time that the milestone tracking
started.
22
Enforcing Service Levels Customize Milestone Page Layouts
Field Description
Target Date The date and time to complete the milestone.
Time Remaining The time that remains before a milestone violation. Automatically
calculated to include any business hours on the support record.
Time Since Target The time that has elapsed since a milestone violation.
Automatically calculated to include any business hours on the
support record.
Field Description
Milestone Status The milestones status.
Entitlement Process Start Time The time the record enters the entitlement process.
Entitlement Process End Time The time the record exits the entitlement process.
b. Add the Case Milestones or Object Milestones related list to display the records milestones.
23
Enforcing Service Levels Enable Milestone Feed Items
Chatter and entitlements must be enabled in your org. Available in: Professional,
Enterprise, Performance,
Enabling milestone feed items doesn't create feed items for milestones that have already
Unlimited, and Developer
been completed or violated.
Editions with the Service
If you add entitlement management to a community, enabling milestone feed items also Cloud
makes feed items visible to community users.
1. From Setup, enter Entitlement Settings in the Quick Find box, then select USER PERMISSIONS
Entitlement Settings.
To enable milestone feed
2. Select Enable milestone feed items. This enables feed items for both cases and items:
work orders. Manage Entitlements
24
Enforcing Service Levels Set Up the Milestone Tracker
If more than 24 hours remain on a milestone, the countdown displays in days (for example, 1d). When fewer than 24 hours remain, the
countdown format switches to hours/minutes/seconds.
1. Expose the milestone tracker to support agents.
You can expose the tracker in one of three ways:
Add it to the case feed. If you plan to use milestones on work orders, follow the same steps to add the tracker to the work order
feed.
a. From the object management settings for cases, go to Page Layouts.
b. In the Case Page Layouts section, click Edit, and then click Feed View in the page layout editor.
c. In the Other Tools and Components section, select the Milestone Tracker and specify where on the page you want it to
appear.
d. Click Save.
2. Set how the milestone tracker displays time remaining or time overdue on milestones.
By default, the tracker uses actual hours. To make it display time remaining or time overdue in business hours, follow these steps.
a. From Setup, enter Entitlement Settings in the Quick Find box, then select Entitlement Settings.
b. In the Milestone Tracker section, deselect Show the time remaining in actual hours, not business hours.
c. Click Save.
Example: Suppose an active milestones business hours are 9 a.m. to 5 p.m. Right now, its 4:30 p.m. and the milestones Target
Date is 11:00 a.m. tomorrow.
If the milestone tracker shows the remaining time in business hours (the default setting), it displays a countdown of 2 hours
and 30 minutes (4:30 to 5 p.m. today and 9 to 11 a.m. tomorrow).
If the milestone tracker shows the remaining time in actual hours, it displays a countdown of 18 hours and 30 minutes (4:30
p.m. today to 11:00 a.m. tomorrow).
25
Enforcing Service Levels Limit User Updates to Milestones
26
Enforcing Service Levels Create a Milestone
Create a Milestone
Milestones represent required steps in your support process, such as case resolution time and first
EDITIONS
response time. Youll create master milestones in your org, then add them to entitlement processes
to enforce different service levels on support records like cases and work orders. Available in: Salesforce
Classic
Follow these steps to create a milestone. Walk Through It: Create a Milestone. Available in: Professional,
Tip: The Entitlement Management Trailhead module introduces you to common terms and Enterprise, Performance,
Unlimited, and Developer
walks you through the process of creating milestones. And, its fun! To get started, see
Editions with the Service
Entitlement Management.
Cloud
1. From Setup, enter Milestones in the Quick Find box, then select Milestones under
Entitlement Management.
USER PERMISSIONS
2. Click New Milestone.
To create milestones:
3. Enter a name and description. Try to name milestones after common support tasks, like First
Manage Entitlements
Response Time or Resolution Time. Descriptive names help users understand milestones
when they see them on cases, work orders, or entitlement processes. AND
5. Click Save.
You cant apply milestones to a record by themselves; they must be part of an entitlement process. So after you create your milestone,
add it to an entitlement process.
Tip: You can add validation rules to milestones so users can only update a milestone if it meets specific standards. For details, see
Limit User Updates to Milestones.
27
Enforcing Service Levels Auto-Complete Case Milestones
28
Enforcing Service Levels Auto-Complete Case Milestones
*
* The @isTest class annotation indicates this class only contains test
* methods. Classes defined with the @isTest annotation do not count against
* the organization size limit for all Apex scripts.
*
* See the Apex Language Reference for more information about Testing and Code Coverage.
*/
@isTest
private class MilestoneTest {
Id contactId = cont.Id;
String entlId;
if (entl != null)
entlId = entl.Id;
29
Enforcing Service Levels Auto-Complete Case Milestones
Id contactId = cont.Id;
String entlId;
if (entl != null)
entlId = entl.Id;
Sample Trigger 1
You can create a milestone named Resolution Time that requires cases to be closed within a certain length of time. Its a great way
to enforce case resolution terms in SLAs. This sample case trigger marks each Resolution Time milestone Completed when its case
is closed. This way, the support agent doesnt have to manually mark the milestone completed after closing the case.
Note: This trigger references the milestone utility test class, so be sure to define the test class first.
30
Enforcing Service Levels Auto-Complete Case Milestones
}
}
Sample Trigger 2
You can create a milestone named First Response that requires agents to get in touch with a case contact within X minutes or hours
of the cases creation. Its a nice way to ensure that your support team is communicating with case contacts as soon as possible. This
sample email trigger marks a First Response milestone Completed when an email is sent to the case contact. That way, the support
agent doesnt have to manually mark the First Response milestone Completed after they email the case contact.
Note: This trigger references the milestone utility test class, so be sure to define the test class first.
31
Enforcing Service Levels Auto-Complete Case Milestones
Sample Trigger 3
While the previous trigger dealt with email messages, this sample case comment trigger marks a First Response milestone Completed
when a public comment is made on the case. You can use it if a public case comment is a valid first response in your support terms.
Note: This trigger references the milestone utility test class, so be sure to define the test class first.
32
Enforcing Service Levels Set Up an Entitlement Process
33
Enforcing Service Levels Create an Entitlement Process
Tip: We recommend waiting to activate an entitlement process until you add milestone actions to it. You cant update or
delete milestone actions on a process after its activated and applied to a record.
6. Optionally, if entitlement versioning is enabled, select Default Version to make this version of the entitlement process the default.
7. Choose the criteria for records to enter and exit the entitlement process.
Based on a custom date/time field on Yes, a drop-down list displays for selecting
the record the custom date/time. You can only
Select if you want the value of a custom choose a custom date/time, not a custom
date/time field on the record to determine date.
when the record enters the process.
34
Enforcing Service Levels Customize Entitlement Process Fields
*The field names you see will reflect the entitlement process type you selected.
8. Optionally, choose the business hours youd like to apply to the entitlement process. The business hours you set here calculate the
Target Date for all the milestones on this entitlement process. To learn more, see How Business Hours Work in Entitlement Management.
9. Save your changes.
Violated milestone
35
Enforcing Service Levels Add a Milestone to an Entitlement Process
6. In Time Trigger (Minutes), enter the number of minutes in which users must
complete the milestone before it triggers an action. USER PERMISSIONS
Or, if youd like the trigger time for the milestone to be calculated dynamically based on the
To add milestones to
milestone type and properties of the case or work order, click Enable Apex Class for the Time entitlement processes:
Trigger (Minutes). Manage Entitlements
Note: You must have a custom Apex class that implements the
Support.MilestoneTriggerTimeCalculator Apex interface to use this
option.
7. If you selected Enable Apex Class for the Time Trigger (Minutes), use the lookup to specify an Apex class for the dynamically
calculated milestone.
8. Choose when the milestone starts:
Select To Use If
Milestone Criteria Calculate the milestone Target Date A milestones Target Date is based
when the milestone is applied to a support on when its applied to a record. Use if the
record (matches the record criteria). milestone is recurring.
Entitlement Process Calculate the milestone Target Date A milestone's Target Date is based
when the entitlement process starts (by on the start of the entitlement process. For
default, when a support record is created). example, first response and resolution
times on a case always calculate their
Target Date when the entitlement
process starts.
9. Optionally, select the business hours that you want to apply to the Target Date calculation for this milestone. If you dont specify
business hours for the milestone, then the Entitlement Process business hours are used. If neither are specified, then the business
hours on the case or work order are used.
10. Specify the order in which Salesforce should process the milestones. This applies to situations where a support record matches the
criteria of multiple milestones at the same time.
36
Enforcing Service Levels Add a Milestone Action to an Entitlement Process
11. Enter the criteria a record must match for the milestone to apply to it:
Choose criteria are met and select the filter criteria that a record must meet for a milestone to apply to it. For example,
set a case filter to Priority equals High if you want the milestone to apply to cases with the Priority field marked
High.
Choose formula evaluates to true and enter a formula that returns a value of True or False. Salesforce triggers
the rule if the formula returns True.
Choose formula evaluates to true and enter a formula that returns a value of True or False. The milestone
applies to records if the formula returns True. For example, the formula (Case: Priority equals High) AND
(Case: Case Origin equals Email, Web) applies the milestone to cases where the Priority field is High
and the Case Origin field is marked Email or Web. You cant use the Case Owner field in formulas.
Note: Milestones are measured in minutes and seconds, but their start and end times are only accurate to the minute. For example,
suppose a milestone is triggered at 11:10:40 a.m. and the time to complete the milestone is 10 minutes. In this case, the milestone
target time is 11:20:00 am, not 11:20:40. As a result, the remaining time for the agent to complete the milestone is 9 minutes and
20 seconds, not the full 10 minutes.
Tip: If you want a violation action to fire immediately after the milestone is violated, set USER PERMISSIONS
the time trigger to 0 minutes.
To add milestone actions to
5. Click Add Workflow Action and select an option. entitlement processes:
Manage Entitlements
Workflow Action What It Does Example AND
New Task Create a workflow task Create a task for a support Customize Application
agent to call a customer when
a First Response milestone is
violated.
New Field Update Define a field update Update the case Priority field
to High when a First
37
Enforcing Service Levels Apply an Entitlement Process to an Entitlement
New Outbound Message Define an outbound message Send data about parts or services to an
external system after a First Response
milestone is completed.
Select Existing Action Select an existing action Use an existing email alert to notify a case
owner when their case is near violation of
a first response.
Note: Time-triggered actions only occur during your Salesforce orgs business hours. You can add up to 10 actions and 10 time
triggers to each type of milestone action.
38
ENTITLEMENT VERSIONING
When you create a new version of an entitlement process, you can change any of the following:
Name
Description
Whether the process is active
Whether the version is the default
Entry criteria
Exit criteria
You can also add notes about the version. This makes it easy to differentiate between multiple versions of the same process, especially
if they have the same name.
On new versions of entitlement processes that are currently in use, you can add new milestones, but you cant edit existing ones. On
new versions of processes that arent currently in use, you can both add new milestones and edit existing ones.
Once you create a new version of an entitlement process, you can choose to apply it to all entitlements and support records assigned
to the previously used version, or only to new entitlements and support records. All versions of an entitlement process must be the same
type: Case or Work Order.
39
Entitlement Versioning Create a New Version of an Entitlement Process
Note: To create multiple versions of entitlement processes, entitlement versioning must be Available in: Professional,
enabled in your org. Select Enable Entitlement Versioning on the Entitlement Settings Enterprise, Performance,
page in Setup. Unlimited, and Developer
Editions with the Service
When you create versions of entitlement processes with the same name, the version number Cloud
and notes help you differentiate between versions. Salesforce prevents you from disabling
entitlement versioning so you always know which version youre working with.
USER PERMISSIONS
1. From Setup, enter Entitlement Processes in the Quick Find box, then select
Entitlement Processes. To create and update
entitlement processes:
2. Click the name of the entitlement process for which you want to create a new version. Manage Entitlements
3. In the Entitlement Process Versions list, click the version of the process from which you want
to create a new version.
4. On the Entitlement Process Detail page, click Create New Version.
5. Add details about the new version. Follow these best practices:
Use the Version Notes field to explain what makes the version youre creating different from others. This makes it easier
to differentiate between multiple versions of the same entitlement process.
Leave the name as is.
Click Active to be able to use the new version.
Click Default if you want to make the new version the default version of the process. This makes it easier to find in lookup field
searches.
6. Click Save.
After saving, you can modify the entitlement process milestones if needed.
Important:
On new versions of entitlement processes that are currently in use, you can add new milestones, but you cant edit existing
ones. On new versions of processes that arent currently in use, you can both add new milestones and edit existing ones.
All versions of an entitlement process must be the same type.
When you create a new version of an entitlement process, it isnt automatically applied to entitlements that were using the previous
version. To learn how to apply a new version of an entitlement process to existing and new entitlements, see Use a New Version of an
Entitlement Process.
40
Entitlement Versioning Use a New Version of an Entitlement Process
Tip: After you click the lookup icon on the Entitlement Process field, select All Versions in the lookup dialog box. Otherwise, you
can only choose from the default versions of existing entitlement processes.
Applying an Entitlement Process to an Existing Entitlement
Scenario: You made a new version of an entitlement process, and you want to switch all the entitlements that were using the previous
version over to your new version.
1. From Setup, enter Entitlement Processes in the Quick Find box, then select Entitlement Processes.
2. Click the name of the entitlement process you want to work with.
The list on the main Entitlement Processes page shows the default version of each process. Click the name of a process to see a list
of all available versions of it.
3. On the detail page for the entitlement process, click the name of the new version that you want to apply to existing entitlements
(and by default, to cases or work orders linked to those entitlements).
4. Click New Update Rule.
5. Choose the version of the entitlement process you want to update from.
You can update from any other version of the process, whether or not its active.
6. Depending on the differences between the old and new versions of the entitlement process, updating an entitlement to the new
version can trigger milestone warning and violation actions on that entitlements support records (such as cases or work orders). To
avoid such warnings and violation actions, select Dont Trigger New Milestone Warnings and Violations. We recommend
selecting this so you dont trigger violation warnings on old entitlements and support records.
7. Click Save.
The update rule detail page shows the estimated number of entitlements and support records that will be updated to use the new
process.
8. Click Start to begin the update process.
41
Entitlement Versioning Use a New Version of an Entitlement Process
Usually the update process completes within an hour, but it depends on the number of entitlements and records being updated.
Throughout the update process, the update rule detail page refreshes periodically to show the number of entitlements and records
processed. To stop the update at any time, click Stop.
When the update rule displays a Completed status, all related entitlements and support records have been updated to use the new
version of the entitlement process. If the status is Completed With Exceptions, some records couldn't be updated to the new
version because of errors. To find out which records weren't updated and why, contact Salesforce Support.
42
LEARN MORE ABOUT ENTITLEMENT MANAGEMENT
43