Field Service Lightning Managed Package Guide: Salesforce, Winter '18
Field Service Lightning Managed Package Guide: Salesforce, Winter '18
@salesforcedocs
Last updated: December 13, 2017
© Copyright 2000–2017 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
The Field Service Lightning managed package builds on Salesforce’s standard field service features
EDITIONS
to deliver a rich, highly customizable experience for dispatchers and technicians.
The Field Service Lightning managed package is translated into the 32 Salesforce supported Available in: Salesforce
languages and includes the following features. Classic and Lightning
Experience
Scheduling and optimization
A robust toolbox of work rules and scheduling policies optimizes resource assignments, taking Available in: Enterprise,
skills, location, and your business objectives into account. Performance, Unlimited,
and Developer Editions
Administration app
Admins can integrate and maintain scheduling policies, global actions, sharing tools, and
optimization rules all in one place.
Automatic user permission setup and updates
Set up your field service user permissions and keep them updated with the click of a button.
Dispatcher console
The console’s appointment lists, scheduling actions, Gantt chart, and interactive map give dispatchers and supervisors a bird’s-eye
view of all service appointments. Dispatchers can ensure that the right job is routed to the right mobile employee and immediately
see alerts for issues that need attention and take action. Schedule bulk jobs with just one click, and track and monitor service delivery
in real time.
Note: Before installing the Field Service Managed package, enable Field Service Lightning.
1
Field Service Lightning Managed Package Install the Field Service Lightning Managed Package
Note: Field Service Lightning must be enabled in your org. Available in: Salesforce
Classic and Lightning
1. Click the appropriate installation link on the download page Experience
https://fsl.secure.force.com/install.
Available in: Enterprise,
You can install on a production org or a sandbox org. Performance, Unlimited,
and Developer Editions
2. Select Install for Admins Only.
If you receive a request to approve third-party access, click Yes and Continue. This request
allows Salesforce to collect the latitude and longitude values for service addresses so that the USER PERMISSIONS
service scheduling optimizer can function.
To install the Field Service
3. If you get a message notifying you that the installation is taking longer than expected, click Lightning managed
Done. package:
• Customize Application
Once the installation is complete, you will receive an email notification.
To assign a permission set
After the package is installed, two new apps are included in the Apps Launcher. The Field Service license:
app is for dispatchers, and the Field Service Admin app is for administrators. You can also add the • Manage Users
Field Service and Field Service Settings tabs to other existing apps. To create a permission set:
• Manage Profiles and
Permission Sets
2
Field Service Lightning Managed Package Set up the Field Service Lightning Managed Package
Create Permission Sets with the Field Service Lightning Managed Package Available in: Enterprise,
Configure and update permission sets with a click of a button. Performance, Unlimited,
and Developer Editions
Assign Permissions with the Field Service Lightning Managed Package Permission Sets
Give your users the permissions they need to complete their field service tasks.
USER PERMISSIONS
Assign Page Layouts from the Field Service Lightning Managed Package
Update page layouts of field service objects for profiles used for field service lightning. To configure the Field Service
Lightning managed
Manage Geocodes and Data Integration Rules for the Field Service Lightning Managed Package
package:
Ensure your data integration rules are set up so that the closet qualified resource can deliver • Customize Application
field service.
To assign a permission set
license:
• Manage Users
To create a permission set:
• Manage Profiles and
Permission Sets
Create Permission Sets with the Field Service Lightning Managed Package
Configure and update permission sets with a click of a button.
EDITIONS
1. In the App Launcher, select the Field Service Admin app.
Available in: Salesforce
2. Select the Field Service Settings tab.
Classic and Lightning
3. Click Getting Started from the left-side panel. Experience
4. Click Permission Sets. Available in: Enterprise,
5. Click Create Permissions on the FSL Admin tile. Performance, Unlimited,
Two permission sets are created: FSL Admin License and FSL Admin Permissions. These and Developer Editions
permissions allow users to access and manage all Field Service Lightning objects, including the
Field Service Lightning Visualforce pages and logic services. USER PERMISSIONS
6. Click Create Permissions on the FSL Agent tile. To configure the Field Service
Two permission sets are created: FSL Agent License and FSL Agent Permissions. These Lightning managed
permissions allow users to view all global actions and their related objects to create, book, and package:
schedule service appointments. • Customize Application
To assign a permission set
7. Click Create Permissions on the FSL Resource tile. license:
Three permission sets are created: FSL Mobile License, FSL Resource License, and FSL Resource • Manage Users
Permissions. These permissions allow users to view and manage service appointments and To create a permission set:
their related parent objects. • Manage Profiles and
Permission Sets
3
Field Service Lightning Managed Package Assign Permissions with the Field Service Lightning Managed
Package Permission Sets
The app updates this permission sets for you. If you have extended the permissions sets, they are not overridden. You must assign these
permission sets to your users according to their requirements.
Agent: Access all global actions and their Standard User or System Administrator • FSL Agent License
related objects to create, book, and
• FSL Agent Permissions
schedule service appointments.
4
Field Service Lightning Managed Package Assign Permissions with the Field Service Lightning Managed
Package Permission Sets
Manage service appointments and their Standard User or System Administrator • FSL Mobile License
related parent objects.
• FSL Resource License
• FSL Resource Permissions
6. Click Permission Set License Assignments at the top of the page or scroll down to the Permission Set License Assignments related
list.
7. Click Edit Assignments.
8. Enable the appropriate permission set licenses and click Save.
Field Service Scheduling Enable this permission set license for all mobile resources.
Field Service Dispatcher Enable this permission set license for all dispatcher console users.
Field Service Mobile Enable this permission set license for all mobile resources.
5
Field Service Lightning Managed Package Assign Page Layouts from the Field Service Lightning
Managed Package
Assign Page Layouts from the Field Service Lightning Managed Package
Update page layouts of field service objects for profiles used for field service lightning.
EDITIONS
Important: If you created field service profiles, perform the following steps on those profiles
instead of the standard profiles. Available in: Salesforce
Classic and Lightning
1. From Setup, enter Profiles in the Quick Find box, then click Profiles. Experience
2. Click System Administrator.
Available in: Enterprise,
3. In the Page Layouts section, find the Operating Hours object and click View Assignment. Performance, Unlimited,
4. Change all the page layouts by selecting all the profiles and selecting FSL Operating Hours and Developer Editions
Layout.
5. Click Save. USER PERMISSIONS
6. Repeat the steps for the following objects. To enable Field Service
• Service Appointment (select FSL Service Appointment Layout) Lightning managed
package:
• Service Resource (select FSL Service Resource Layout) • Customize Application
• Work Order (select FSL Work Order Layout) To assign a permission set
• Work Order Line Item (select FSL Work Order Layout) license:
• Work Type (select FSL Work Type Layout) • Manage Users
To create a permission set:
7. Click Save and repeat for the Standard User profile. • Manage Profiles and
Permission Sets
6
Field Service Lightning Managed Package Manage Geocodes and Data Integration Rules for the Field
Service Lightning Managed Package
Manage Geocodes and Data Integration Rules for the Field Service Lightning
Managed Package
Ensure your data integration rules are set up so that the closet qualified resource can deliver field
EDITIONS
service.
When you enable Field Service Lightning, data integration rules are added to your org to update Available in: Salesforce
your field service objects with geolocation information. The geolocation information is used to Classic and Lightning
calculate service resource travel times. Experience
1. From Setup, enter Data Integration Rules in the Quick Find box, then select Data Available in: Enterprise,
Integration Rules. Performance, Unlimited,
and Developer Editions
2. Click Geocodes for Resource Absence Address.
3. Click Edit Rule Settings.
USER PERMISSIONS
4. Ensure Bypass triggers is deselected.
5. Click Save. To enable Field Service
Lightning managed
6. Repeat these steps for the following Field Service Lightning objects: package:
• Geocodes for Service Appointment Address • Customize Application
7
Field Service Lightning Managed Package Service Appointment Lifecycle in the Field Service Lightning
Managed Package
8
Field Service Lightning Managed Package Global Actions in the Field Service Lightning Managed
Package
Important: If you change the service appointment lifecycle, sharing rules for the Service object also change.
• When a service appointment is created and assigned, it’s visible only to the creator of the record (for example, a dispatcher,
customer, or resource) and the relevant dispatchers based on user-territory sharing.
• When a service appointment’s status is changed to Dispatched, the record is automatically shared with the user of the assigned
resource.
• Canceled service appointments remove all sharing rules from the service. A Canceled service appointment is visible only to
the owner of the service appointment and the relevant dispatchers based on the user-territory object.
Tip:
• Activate or deactivate transitions based on your business needs.
• Change the status names to fit your business needs. Changing the name doesn’t change a status’s automatic transition behavior.
9
Field Service Lightning Managed Package Scheduling Policies in the Field Service Lightning Managed
Package
1. Navigate to the scheduling policy that you want to add the resource objective to.
2. In the Scheduling Policy Objectives related list, click New Scheduling Policy Objective.
3. For Service Goal, select an objective.
4. Enter the weight that the objective should use in the policy.
5. Click Save.
To add a work rule to a scheduling policy:
1. Navigate to the scheduling policy that you want to add the rule to.
2. Click New Scheduling Policy Work Rule.
3. Use the lookup to select the work rule you created.
4. Click Save.
Note: A scheduling policy must include a resource availability rule. The Field Service Lightning managed package automatically
adds one resource availability rule to each policy.
Tip: After you define or modify scheduling logic, test the results of various scheduling scenarios by using the Get Candidates
action in the dispatcher console.
10
Field Service Lightning Managed Package Schedule Optimization with the Field Service Lightning
Managed Package
• Service appointments with more than a 100-kilometer distance uses aerial routing instead.
• Complex work and multiday work scheduling doesn’t support SLR and use aerial routing instead.
• When you drag and drop a service appointment the routing calculates depending on the chosen start time. Street level routing
might not be used and the calculation won’t update immediately.
• Any scheduling action that is triggered in a transaction with data manipulation language uses aerial routing instead and it might
not update immediately. For example, when creating a new service appointment via the API data manipulation language is used
and the transaction is sent to a queue, which slows the response time.
• Before using SLR, run three to four global optimization runs for each region.
11
Field Service Lightning Managed Package Schedule Optimization with the Field Service Lightning
Managed Package
Note:
• A message displays at the top of the Gantt when the optimizer is running.
• If you deactivate the optimization user, the optimization will fail.
12
Field Service Lightning Managed Package Schedule Optimization with the Field Service Lightning
Managed Package
13
Field Service Lightning Managed Package Schedule Optimization with the Field Service Lightning
Managed Package
• Enabled Apex Class Access—Include OAASRestService and AuthServices, and remove all other settings.
4. Click Save.
• Alias—Enter optUsr.
• Email—Enter the email address where you can receive the activation email. USER PERMISSIONS
• Username—This name must follow this format: FSL.[org id]+@[domain.name]. For example, To enable Field Service
if your org ID is “00D58000000PIve” and your domain name is “optimization.com,” enter Lightning managed
[email protected]. package:
• “Customize Application”
• Nickname—Accept the default.
• Role—Select None Specified. To assign a permission set
license:
• User License—Select Salesforce Platform. • “Manage Users”
• Profile—Enter FSL Optimization. To create a permission set:
• Select Generate new password and notify user immediately. Make sure this option is • “Manage Profiles and
selected. Permission Sets”
5. Click Save.
14
Field Service Lightning Managed Package Schedule Optimization with the Field Service Lightning
Managed Package
15
Field Service Lightning Managed Package Schedule Optimization with the Field Service Lightning
Managed Package
b. Unschedule the appointment(s): If the scheduling engine can’t reschedule without breaking work rules, the
appointment is unscheduled and removed from the Gantt chart.
c. Reshuffle other assignments: If the scheduling engine can’t reschedule without breaking work rules, the scheduling
engine reshuffles the appointment. Reshuffling means moving around, or even unscheduling, lower priority appointments to
make room for a higher priority appointment. More information.
16
Field Service Lightning Managed Package Schedule Optimization with the Field Service Lightning
Managed Package
5. Max appointments to schedule (number) When building the pool of candidates service appointments, the scheduling engine will
stop looking for more candidates after finding this number of appointments (or after the max runtime settings, what ever is first).
Max value to set is 50 candidates.
6. Max runtime (seconds) (number) When building the pool of candidates service appointments, the scheduling engine will stop
looking for more candidates after this number of seconds (or after the max appointments to schedule settings, what ever is first).
Max value to set is 60 seconds.
Considerations for Fill-In Schedule
• Fill-in schedule will only try to schedule for the given day (first day shown on the Gantt).
• The Is Fill In Candidate fields on the service appointment, work order and work order line items default value is True. This means any
new service appointment will be considered as a fill in candidate, while service appointment records that existed prior to the upgrade
will not be considered as candidates. The admin can use Process Builder to control these fields to fit your organization fill in schedule
needs, or even create new formula fields that will evaluate in real time whether the record should be a candidate or not.
• Service Appointments without geolocation will be sorted last if sorting by distance.
• Candidate Service Appointments are only ones that are unscheduled or scheduled for the future (day after and onward).
• When a Service Appointments was scheduled by Fill-in Schedule operation, the ‘value for the Schedule Mode’ field on the Service
appointments will be ‘Automatic’.
17
Field Service Lightning Managed Package Schedule Optimization with the Field Service Lightning
Managed Package
4. Max appointments to schedule (number) When building the pool of candidates service appointments, the scheduling engine will
stop looking for more candidates after finding this number of appointments (or after the max runtime settings, what ever is first).
Max value to set is 50 candidates.
5. Max runtime (seconds) (number) When building the pool of candidates service appointments, the scheduling engine will stop
looking for more candidates after this number of seconds (or after the max appointments to schedule settings, what ever is first).
Max value to set is 60 seconds.
6. When attempting to schedule the unscheduled service after the nearby services (picklist) The first thing the Group Nearby appointment
operation is doing, is unscheduling the services that were planned for the resource for the remainder of the day, to make room for
appointments in proximity to the appointment that triggered the operation. The operation continues with building a pool of
surrounding appointments and scheduling these to the resource. The last step is to try and schedule the appointments that were
unscheduled in the first step of the operation. When attempting to schedule the unscheduled service after the nearby services
(picklist) the scheduling engine will.. There are 2 options on the picker:
a. Schedule to original resource only - when selected, only the original assignee will be considered as a candidate when the
scheduling engine will try to reschedule the appointments
b. Schedule to all resources - When selected, the scheduling engine will consider other resources as well
7. When unable to arrange schedule (picklist) There are 3 options in the picker:
a. Leave on Gantt and set in-jeopardy - If the scheduling engine couldn’t reschedule without breaking work rules, the appointment
will be left in it’s original time, and an in-jeopardy flag will be raised.
b. Unschedule the appointment(s) - If the scheduling engine couldn’t reschedule without breaking work rules, the appointment
will be unscheduled. I.e removed from the Gantt.
c. Reshuffle other assignments - if the scheduling engine couldn’t reschedule without breaking work rules, the scheduling engine
will then try to reshuffle the appointment (Reshuffle means moving around (or even unscheduling) lower priority appointments
to make room for a higher priority appointment to be scheduled. More information on Reshuffle process in section ‘Appointments
Reshuffle’)
8. Radius for nearby appointments (number) The radius around the originating service appointments where other appointments are
considered to be candidates for the Group Nearby Appointments operation. The distance unit can either be Km or Mile, depending
on the ‘default driving speed unit’ defined under the Routing settings (Field Service Settings tab>Scheduling>Routing)
Considerations for Group Nearby Appointments
• Group Nearby Appointments will only try to schedule for the given day (first day shown on the Gantt).
• The Is Fill In Candidate fields on the service appointment, work order and work order line items default value is True. This means any
new service appointment will be considered as a fill in candidate, while service appointment records that existed prior to the upgrade
will not be considered as candidates. The admin can use Process Builder to control these fields to fit your organization fill in schedule
needs, or even create new formula fields that will evaluate in real time whether the record should be a candidate or not.
• Only unscheduled Service Appointments can be candidates for Group Nearby Appointments.
• When a Service Appointments was scheduled by Group Nearby Appointments operation, the ‘value for the Schedule Mode’ field
on the Service appointments will be ‘Automatic’.
18
Field Service Lightning Managed Package Dispatch Policies in the Field Service Lightning Managed
Package
Reshuffle Appointments to Schedule High Priority Work Over Lower Priority Jobs
When your schedule has no room for that high priority job, Appointments Reshuffle moves lower
EDITIONS
priority jobs to a later date or unschedules them. This frees up your technician for the more important
job. Available in: Salesforce
Settings: (Field Service Settings tab>Scheduling>Dynamic Gantt>Reshuffle Assignments) Classic and Lightning
Experience
1. Max time horizon (days) in which the appointment can be scheduled The Reshuffle process
will try to schedule the appointment in a date range which is the Earliest Start PErmitted (or Available in: Enterprise,
the current time if it is later) up until X more days (where x is the value configured here). 7 is Performance, Unlimited,
the maximum value. and Developer Editions
2. Change the sharing settings for the for the Work Order, Service Appointment, Service Territory. Available in: Enterprise,
and Service Resource objects to Private. Performance, Unlimited,
and Developer Editions
3. Click Save.
You can also give dispatchers access to the objects they need by sharing information across territories
and syncing calendars to include absences and other events.
To change sharing rules for the Appointment object, you must change the service appointment lifecycle. When a service is created and
assigned, the service is visible only to the record’s creator and relevant dispatchers based on user-location sharing. When you change a
dispatching service’s status to Dispatched, the record is shared with the user of the assigned resource.
Note: When a service is canceled, all sharing rules are removed, and the service is visible only to the service owner and the relevant
dispatchers based on the User-Location object.
19
Field Service Lightning Managed Package Field Service Lightning Dispatcher Console
Search the Dispatcher Console Service Appointment List Available in: Salesforce
You can search for appointments from the service appointment list. Classic and Lightning
Experience
Search the Dispatcher Console Resource List
You can search for a resource from the service resource list. Available in: Enterprise,
Performance, Unlimited,
and Developer Editions
20
Field Service Lightning Managed Package Dispatcher Console Service Appointment List
21
Field Service Lightning Managed Package Dispatcher Console Service Appointment List
22
Field Service Lightning Managed Package Dispatcher Console Service Appointment List
The Gantt filter shows the same services seen on the Gantt.
You can also create Custom filters:
23
Field Service Lightning Managed Package Dispatcher Console Gantt
• The Gantt Filter lets you filter resources by skill, properties, and the hours/days displayed on the
Gantt.
• The notifications area shows you details about scheduling actions that you took such as Schedule, Unschedule, etc.
• The Lock Gantt button lets you switch between a read-only and read/write view of the Gantt.
• The KPI Monitor gives you your schedule highlights, including the total work load, average travel time, number of completed services,
number of rules violating services, and number of services which are In Jeopardy.
• The Date view and Resolution controls the date range that is displayed on the Gantt, and offers several options:
– Jump to a specific date
– Scroll one day to the left/right
– Jump to Today
– Gantt resolution: The number of days to display on the Gantt
• The Territory's time zone displays each territory's current date and time.
24
Field Service Lightning Managed Package Dispatcher Console Gantt
25
Field Service Lightning Managed Package Dispatcher Console Gantt
Note: Lookup fields are not supported. All other field type are supported.
KPI Monitor
The KPI (Key Performance Indicator) monitor provides important insight on your services.
EDITIONS
The KPI Monitor can be found on the top right side of the Gantt.
Available in: Salesforce
The available indicators are:
Classic and Lightning
• Total scheduled time (workload) of all loaded service territories. Experience
• Average travel time per service of all service shown on the Gantt.
Available in: Enterprise,
• Number of completed services out of all services shown on the Gantt. Performance, Unlimited,
• Total number of rules violating services. and Developer Editions
• Total number of services in jeopardy.
26
Field Service Lightning Managed Package Dispatcher Console Map
27
Field Service Lightning Managed Package Scheduling Policy Picker
Rescheduling an Appointment
You can reschedule appointments from their service appointment pages.
Set Visiting Hours
Create “visiting hours” for your customers to ensure that services are scheduled during a business’s operating hours.
Scheduling Service Appointments
There are multiple options for scheduling service appointments.
Unscheduling Service Appointments
In Field Service Lightning there are different ways to schedule service appointments.
28
Field Service Lightning Managed Package Scheduling Policy Picker
Appointment Booking
Field Service Lightning lets you book service appointments for different Salesforce objects, including
EDITIONS
Work Orders, Work Order Line Items, Accounts, Assets, and Opportunities. To book an appointment,
follow the steps below (for convenience, we’ll use a Work Order) Available in: Salesforce
To book an appointment, follow the steps below (for convenience, we’ll use a Work Order): Classic and Lightning
Experience
1. Open a work order.
2. In the Chatter feed, select Book Appointment. If this action isn’t available, you can add it to Available in: Enterprise,
the layout. Performance, Unlimited,
and Developer Editions
3. Service Appointments can be booked for parent records, like a work order. These parent records
can have many service appointments booked against to reflect different trips. The Book
Appointment action gives you the opportunity to create a new appointment or reschedule an USER PERMISSIONS
existing one.
To enable Field Service
4. Let’s create a new appointment. Select a Work Type from the drop-down list. Work Types provide Lightning managed
key inputs to the scheduling optimizer, including an estimated duration, plus skill requirements package:
for the resource. The address is automatically populated using the Work Order’s address (this • Customize Application
is configurable through the Global Actions). To assign a permission set
license:
5. Select the Service Territory from the drop-down list, again to provide this input for scheduling
• Manage Users
purposes. Click Show more options if you want to change the Early Start and Due Date default
range. To create a permission set:
• Manage Profiles and
6. Click Get Appointments to view a graded list of available slots for this service. The list considers
Permission Sets
all scheduling constraints such as the current schedule, work rules, and service objective. Slots
may be indicated with an ‘Ideal’ or ‘recommended’ icons. Clicking the information icon opens
the Appointment Insights window, which shows how each slot ranks against the Company KPIs as defined in the Scheduling policy.
7. Click Extend Dates to show a wider range of service appointment dates.
8. Select an appointment window. A service appointment will be created and automatically allocated to a resource, taking into
consideration all scheduling constraints.
9. To view the details, click View Service Appointment.
Note: Booking from objects other than work orders or work order line items creates a work order and the service appointment
is created for that work order. For instance, an agent opens the appointment booking action from the Asset page and select a
time slot. In doing this, a work order and a service appointment are created.
29
Field Service Lightning Managed Package Scheduling Policy Picker
Rescheduling an Appointment
You can reschedule appointments from their service appointment pages.
EDITIONS
Once an appointment is booked, rescheduled from its service appointment detail page.
Available in: Salesforce
1. Open a parent record, liked a Work Order, that has a booked appointment.
Classic and Lightning
2. In the Chatter feed, select the Book Appointment quick action. If this action is not available, Experience
you can add it to the layout.
Available in: Enterprise,
3. Review and adjust inputs for the Work Type, Address, and Service Territory, if desired. Performance, Unlimited,
4. Click Get Appointments to view a list of available slots. and Developer Editions
5. Select the suitable appointment window, and the service appointment is automatically
rescheduled. USER PERMISSIONS
30
Field Service Lightning Managed Package Scheduling Policy Picker
Note:
• You can attach one calendar per service.
• The calendar is effective until you remove or replace it on the service.
• Calendars use the timezone of the service they’re attached to. The service inherits its service location’s time zone. If the location
has no time zone specified, GMT is used.
• The scheduling optimizer respects visiting hours.
• You can map a lookup field from a custom object to the Service Object ‘Visiting Hours Calendar’ field to auto-populate the
Visiting Hours Calendar field.
31
Field Service Lightning Managed Package Scheduling Policy Picker
32
Field Service Lightning Managed Package Scheduling Policy Picker
Note: On multi-day service appointments, start and end times must be in valid time slots USER PERMISSIONS
of the assigned resource’s calendar.
To enable Field Service
The resource can’t be assigned to any other appointment during the multi-day service appointment. Lightning managed
package:
You can either schedule multi-day appointments manually or with optimization. Other scheduling
• Customize Application
actions are not supported.
To assign a permission set
license:
• Manage Users
To create a permission set:
• Manage Profiles and
Permission Sets
3. When the scheduling process is completed, you can either close the message box or view the
detailed schedule results by clicking View Service Appointments. USER PERMISSIONS
33
Field Service Lightning Managed Package Scheduling Policy Picker
Last Known Location Validity The number of minutes after which a data
breadcrumb--such as resource location or
geolocation--is no longer valid. For example, if
the breadcrumb validity is 20 minutes and the
location of resource X was last updated 30
minutes prior, the emergency dispatcher then
calculates the resource’s ETA based on the
location of the last appointment they
completed, or if they did not complete any
appointments that day, their home base, which
is either their Service Territory Member address,
or if not applicable their Service Resource
address.
Emergency Search Timeframe The amount of time you have to resolve the
emergency, not counting the service duration.
The Earliest Start Permitted on the
appointment is set to the current time, and the
Due Date = current time + appointment
duration + Emergency Search Timeframe.
34
Field Service Lightning Managed Package Scheduling Policy Picker
35
Field Service Lightning Managed Package Scheduling Policy Picker
USER PERMISSIONS
USER PERMISSIONS
36
Field Service Lightning Managed Package Scheduling Policy Picker
USER PERMISSIONS
The above trigger can be activated or deactivated, according to the business needs.
37
Field Service Lightning Managed Package Scheduling Policy Picker
Scheduling Policies
Field Service Lightning includes scheduling policies.
EDITIONS
A scheduling policy is a set of rules and objectives that are used in a scheduling operation. Typically,
the scheduling policy is used when requesting an appointment and on various Gantt operations Available in: Salesforce
such as Schedule, Candidates etc. Classic and Lightning
Experience
The following scheduling policies are included in Field Service Lightning:
• Customer First: This policy balances objectives such as great customer service with travel Available in: Enterprise,
minimization. Appointments are graded first by the customer’s selection of a preferred employee Performance, Unlimited,
and Developer Editions
and by the ability to provide the service as soon as possible. Travel minimization is considered
as a second priority.
• High Intensity: This policy is typically used in times of high service volumes, in emergencies like a storm scenario, where the business
focuses on employee productivity first and customer preferences are considered as a second priority.
• Soft Boundaries: This policy is identical to the Customer First policy, but allows the sharing of employees between different territories
in order to enhance service coverage.
• Emergency: This is the default policy for the Emergency Dispatch quick action, which lets you quickly dispatch a resource to the
emergency site with as few constraints as possible.
You can create additional scheduling policies to reflect your business needs. The dispatcher can select different scheduling policies while
using the Gantt scheduling operations. The list of scheduling policies is located above the appointments list on the Dispatcher Console.
The Rule Violation list is displayed on your screen, listing the rules that have been violated. Available in: Enterprise,
If rule violations are incurred, a service appointment is marked with a yellow triangle. Hovering over Performance, Unlimited,
and Developer Editions
the service appointment space shows the details and the list of the rules that have been violated,
as shown below:
The set of rules taken into consideration on the Dispatcher Console is taken from the configured scheduling policy (located above the
service list):
38
Field Service Lightning Managed Package Scheduling Policy Picker
USER PERMISSIONS
39
Field Service Lightning Managed Package Managing Service Resources
USER PERMISSIONS
40
Field Service Lightning Managed Package Managing Service Resources
• Absence Resource Calendar Tooltip: Controls what information appears in a tool tip when
you hover over the calendar entry.
3. Use the Absence Color field to change the Resource Absence color displayed on the Gantt chart.
Sometimes you want to represent different absences with different colors. For instance you might want to color a car break with
Red and internal meeting with green. You can populate the gantt color field on the resource absence object with a 6 digit Hex code
(in the format of #xxxxxx) and the absence block on the Gantt chart is colored in accordance.
41
Field Service Lightning Managed Package Managing Service Resources
When you navigate to the Service Resources tab and click a resource name, you can now see their calendar. Clicking a field on a calendar
entry opens the corresponding record in a new tab.
Note: If you don’t see the calendar on resource pages, add the VF079_ResourceCalendar Visualforce component to the resource
page layout.
42