Salesforce Field Service Implementation Guide
Salesforce Field Service Implementation Guide
@salesforcedocs
Last updated: June 11, 2020
© Copyright 2000–2020 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
Field Service Lightning gives you a powerful, highly customizable, mobile-friendly field service hub
EDITIONS
in Salesforce.
Running a field service business means managing numerous moving parts. With Field Service Available in: Salesforce
Lightning, you get the tools that you need to manage work orders, scheduling, and your mobile Classic and Lightning
workforce. Here are some of the things you can do. Experience
• Create records that represent your field service technicians, dispatchers, and agents, and add The Field Service Lightning
details about their skills, location, and availability core features, managed
• Set up multilevel service territories that represent the regions where your technicians can work package, and mobile app
are available in Enterprise,
• Track the location and status of your inventory, warehouses, service vehicles, and customer Performance, Unlimited,
sites and Developer Editions.
• Schedule one-time or recurring work orders for customers, and add details about technician Work orders are also
preference and required skills and parts available in Professional
• Create maintenance plans and templates to standardize your field service tasks Edition.
Tip: Check out the Field Service Lightning Developer Guide for object relationship diagrams, API reference information, and code
samples.
1
Field Service Lightning
IN THIS SECTION:
Field Service Lightning Limits and Limitations
Learn about Field Service Lightning limits and limitations.
Set Up Field Service Lightning
Build and manage your field service operation in one place. Create records representing your workforce, set up work order tracking
and inventory management, and customize the Field Service Lightning mobile app to set up your mobile workforce for success.
Manage Work Orders for Field Service
Work orders, which track work to be performed for customers, are the heart of Field Service Lightning. Learn how to create and
customize work orders and maintenance plans.
Manage Shifts
Shifts in Field Service Lightning let you define variable working periods for your shift-based workforce, such as contractors or on-call
staff. Create shifts for particular dates and times when you need coverage, and assign them to service resources. When the managed
package is installed, scheduling and Enhanced Optimization consider workforce availability during shifts.
Manage Service Resources
Service resources are field service technicians that can be assigned to service appointments. Learn how to create time sheets and
view a service resource’s travel routes and calendar.
Manage Service Crew Membership
Efficiently manage your service crews to accommodate a fast-changing field service schedule. Create crews, find and add members
with the right skills, adjust membership dates to match appointment times, and view all crews’ schedules and members in one
place.
Manage Service Appointments
Learn how to create, schedule, reschedule, and unschedule service appointments. Tighten up your schedule by fixing overlaps,
grouping nearby appointments, and filling schedule gaps.
Manage Your Field Service Inventory
Stay on top of the movement of inventory in your field service operation. Learn how to request and transfer products, track
consumption, and process customer returns.
Manage Service Reports
Make your customers happy with service reports delivered to their inboxes. Technicians and dispatchers can create reports for work
orders, work order line items, or service appointments and email them directly to the customer. Use standard templates or create
variations of your own.
Optimize Your Field Service Schedule
Use schedule optimization to formulate the optimal schedule for your team and customers. Schedule optimization helps you comply
with service-level agreements and minimize travel time, overtime, costs, and no-shows.
Work in the Dispatcher Console
The Field Service Lightning dispatcher console is the main working space for dispatchers. It features a dynamic map and a highly
customizable Gantt chart showing upcoming appointments, active team members, and more. To reach the dispatcher console, from
the App Launcher, find and open the Field Service app, and then click the Field Service tab.
Field Service Lightning Object Fields
Learn about the fields available on Field Service Lightning standard objects.
2
Field Service Lightning Field Service Lightning Limits and Limitations
3
Field Service Lightning Field Service Lightning Limits and Limitations
Limit Details
Maximum runtime in seconds for the Group Nearby Appointments 60
action
Maximum number of skills displayed in the Gantt Skills filter panel 2,000
Minimum screen resolution for a smooth dispatcher console 1366 x 768 pixels (minimum)
experience 1920 x 1080 pixels (recommended)
4
Field Service Lightning Field Service Lightning Limits and Limitations
Limitations
Dispatcher Console
• Service appointments without assigned resources are shown on the appointment list but not on the Gantt.
• Territory utilization calculation doesn’t consider secondary territory members.
• The dispatcher console map can appear different than the map displayed on service territory member detail pages because of
a difference in geocoding granularity. The dispatcher console map tends to be more accurate.
• Because Google Maps is restricted in China, Field Service Lightning features that depend on Google Maps don’t work there. To
minimize errors and customize access for users in China, see Disable Google Maps-based Field Service Lightning features for
China users.
• If a service resource has more than 23 stops in a period of 24 hours (including starting point, ending point, appointments, and
absences), the resource map shows only the first 23 stops on the route and displays an error. This is a Directions API limitation.
Inventory Management
• Technicians using the Field Service Lightning mobile app can consume—via the Products Consumed related list—only one
serialized product item per product per work order. For example, you can have multiple product items associated with your
Inverter product that are assigned serial numbers. A mobile app user can add only one of them as a product consumed on a
specific work order. This limitation doesn’t apply to non-mobile platforms.
• The Location field on serialized product items can’t be updated manually. The location auto-updates if a related product transfer
is marked received. To allow serialized product transfers (a beta feature), contact Salesforce.
Linked Articles
Linked articles are knowledge articles attached to a work order, work order line item, or work type. They have the following limitations.
• Quick actions and global actions aren’t supported for linked articles.
• The Article widget and Feed Articles Tool aren’t available in the feed view.
• In Lightning Experience, clicking an article link in a feed item redirects you to the article page in Salesforce Classic. In the Salesforce
mobile app, linked articles can’t be accessed from feed items.
5
Field Service Lightning Field Service Lightning Limits and Limitations
• The Linked Work Types related list isn’t available on articles in any platform.
• The Knowledge One widget isn’t available on work types in the console. To manage linked articles on work types in the console,
use the Articles related list.
• Linked articles are read-only in the Salesforce mobile app.
Multiday Scheduling
Multiday scheduling lets you schedule service appointments that span multiple days. It includes the following limitations.
• A service resource can’t be assigned to any other appointment during a multiday service appointment.
• Multiday service appointments that overlap with other appointments don’t trigger the Fix Overlaps action.
• Multiday service appointments can’t be assigned to capacity-based service resources.
• Multiday service appointments can’t span more than eight weeks.
• If a multiday service appointment has a scheduling dependency, its Scheduled End date isn't calculated when the appointment
is scheduled. For this reason, we recommend against creating dependencies between multiday appointments.
Operating Hours
• You can’t create a master-detail relationship between a custom object and Time Slot in which Time Slot is the master object.
• Operating hours can't span a full 24 hours. Instead, use the operating hours 00:00–23:59.
• Operating hours for secondary service territory memberships must be identical to or contained within the resource’s primary
territory membership’s hours.
• Multiple time slots aren't supported for secondary STM operating hours.
Salesforce App
Most Field Service Lightning features are available in all versions of the Salesforce mobile app. Be aware of these mobile app limitations.
• In Salesforce for iOS:
– You can’t create service appointments, and the Recent related list isn’t available.
– You can’t create service resources or absences, and the Recent related list isn't available on service resources or absences.
• On field service records created via a related list, the field that lists the parent record doesn’t populate until you save the record.
This issue applies to all versions of the Salesforce mobile app. For example, when you create a service appointment from the
Service Appointments related list on a work order, the Parent Record field is blank until you tap Save. Once the record is created,
the parent record field lists the parent work order as expected.
• When an app user is working offline and offline sync permission isn’t enabled, creating or updating records can cause an error
if the Created Date or Last Modified Date fields appear to occur in the future.
• The dispatcher console—a Field Service Lightning managed package feature—isn’t available in the Salesforce mobile app.
• The Linked Work Orders and Linked Work Order Line Items related lists on articles aren’t available.
• Linked articles are read-only. You can search the Knowledge base and read attached articles, but you can’t attach or detach
articles. To manage linked article settings and attach or detach articles, use the desktop site.
• Linked articles can’t be accessed from feed items.
Salesforce on iPad Safari
• Creating service reports from work orders or service appointments isn't supported on Lightning Experience on iPad Safari.
• The dispatcher console isn’t supported on iPad Safari. We recommend that you use Lightning Experience on a desktop to use
the dispatcher console.
Scheduling and Optimization
• A scheduling policy can contain up to 10 Match Boolean work rules.
• The Gantt and Appointment Booking features can retrieve up to 2,000 security policies.
6
Field Service Lightning Field Service Lightning Limits and Limitations
• If the Fix Overlaps feature is in use, the “Reshuffle other assignments” option is only partially supported for this setting: When
unable to find a valid schedule for an appointment. If more than one appointment is dropped from the schedule during a
Fix Overlaps operation, only one of the appointments is reshuffled.
• You can use platform encryption with standard Salesforce objects and fields. With the managed package, if you encrypt custom
objects and fields, scheduling and optimization could yield unexpected results.
Service Appointments
• The Owner and Parent Record fields on service appointments aren't available in custom report types. They also can’t be referenced
in formulas, validation rules, workflow rules, flows, or processes. To limit the available owners or types of service appointment
parent records, use an Apex trigger.
• Service appointment fields whose values are inherited from the parent record can’t be referenced in formulas, validation rules,
workflow rules, flows, or processes. The standard inherited fields are Work Type, Account, Parent Record Type, and Parent Record
Status Category.
Service Reports
• Service reports can’t be created on service appointments whose parent records are assets, accounts, leads, or opportunities.
• The Create Service Report action isn’t available in the Salesforce mobile app.
• Section titles and rich text fields in service reports can’t be translated.
• Digital signature field labels can’t be customized.
• Related list filtering on service reports has the following limitations:
– The Status field on contract line items isn’t available for filtering
– The Filters tab isn’t available in Internet Explorer 8
• Service Report Template lookup is not supported in Visualforce pages. To include Service Report Lookup in a Visualforce page
for the edit of a Work Order, create a Custom lookup.
7
Field Service Lightning Field Service Lightning Limits and Limitations
Service Resources
• If you deactivate a service resource, make sure to update records that were associated with that resource. For example, if a
deactivated service resource was a required resource for an account, update that account to prevent scheduling issues.
• Capacity-based service resources have the following limitations.
– If the managed package is installed, capacity-based resources must include a Hours per Time Period value on their capacity
record. If the user’s capacity should be measured in work items, fill out Work Items per Time Period as well and set the Hours
per Time Period to a high number which likely won’t be achieved.
– Capacity serves as a guideline, not a rule. Resources can still be scheduled beyond their capacity, and you aren’t notified
when a resource exceeds their capacity.
– The Fix Overlaps feature isn’t support for capacity-based service resources.
– Schedule optimization respects daily capacity, but not weekly or monthly.
– Resource schedule optimization—the optimization of an individual service resource’s schedule—isn’t supported for
capacity-based service resources.
– If a service resource is capacity-based with a defined capacity, their utilization percentage isn’t shown in the Gantt.
– Capacity-based resources can’t be assigned to appointments that have a scheduling dependency.
– Capacity-based resources can't be relocated or assigned to a secondary service territory.
8
Field Service Lightning Set Up Field Service Lightning
9
Field Service Lightning Enable Field Service Lightning
10
Field Service Lightning Install the Field Service Lightning Managed Package
If you receive a request to approve third-party access, click Yes and Continue. Approving this To assign a permission set
license:
request allows the street-level routing and optimization services to function.
• Manage Users
3. If a message indicates that the installation is taking longer than expected, click Done. To create a permission set:
You’ll receive an email notification after the installation is complete. • Manage Profiles and
Permission Sets
Once the package is installed, the App Launcher includes two new apps.
• The Field Service app is for dispatchers. The Field Service tab in this app leads to the dispatcher console.
• The Field Service Admin app is for administrators. The Field Service Settings tab in this app leads to the managed package settings.
You can add the Field Service and Field Service Settings tabs to other apps.
11
Field Service Lightning Manage Field Service Permissions
Note: Salesforce Setup includes a separate Field Service Settings page where you can customize general settings related to field
service.
12
Field Service Lightning Manage Field Service Permissions
You don’t need a permission set license to access field service objects. For example, inventory managers, admins, and customer support
agents probably don’t need one. However, for these users to access field service records, Field Service Lightning must be enabled.
IN THIS SECTION:
Create Field Service Permission Sets
Create Field Service Lightning permission sets from the Field Service Admin app.
Assign Field Service Lightning Permissions
After you create your field service permission sets, give users the permissions they need to complete their field service tasks. You
can assign permissions in Setup or in Guided Setup.
Set Custom Permissions for Field Service
The Field Service Lightning managed package includes custom permissions that control users’ access to actions and views. For
example, you can control access to bulk actions, such as dispatching, optimizing, and scheduling, or the ability to drag and drop
appointments on the Gantt.
Assign Field Service Page Layouts
The Field Service Lightning managed package provides standard object page layouts that include field service Visualforce components
and Chatter actions. Assign these page layouts to the System Administrator and Standard User profiles.
13
Field Service Lightning Manage Field Service Permissions
14
Field Service Lightning Manage Field Service Permissions
FSL Dispatcher FSL Dispatcher License • FSL Dispatcher License gives users the
FSL Dispatcher Permissions permission set license needed to load
the dispatcher console.
• FSL Dispatcher Permissions contains
the permissions included in FSL Agent
Permissions and FSL Resource
Permissions along with permissions to
operate the dispatcher console and
run optimization.
FSL Self Service FSL Self Service License Let community users view all global
FSL Self Service Permissions actions and their related objects for
creating, booking, and scheduling their
own appointments.
FSL Community Dispatcher FSL Community Dispatcher License Let users view and use the dispatcher
FSL Community Dispatcher Permissions console, view global actions and their
related objects, and schedule, optimize,
and dispatch service appointments.
*Newer Salesforce orgs don’t need the FSL Agent License and FSL Admin License permission sets. In these orgs, Salesforce doesn’t create
these two permission sets.
When a permission set is current, the Create Permissions link on the tile is replaced by a message indicating that it’s up to date.
15
Field Service Lightning Manage Field Service Permissions
Agent: Access all global actions and their To assign a permission set
• FSL Agent License* license:
related objects to create, book, and schedule
• FSL Agent Permissions • Manage Users
service appointments.
To create a permission set:
Dispatcher: Access all global actions and their • FSL Dispatcher License • Manage Profiles and
related objects to create, book, and schedule Permission Sets
• FSL Dispatcher Permissions
service appointments.
*Newer Salesforce orgs don’t need the FSL Agent License and FSL Admin License permission sets. In these orgs, Salesforce won’t
create these two permission sets, so they don’t need to be assigned.
Tip: Alternatively, you can assign permission sets to users from Guided Setup in the Create Service Resources and Create
Dispatchers and Agents steps. Simply click an icon in the Licenses column to assign a permission set license and its associated
permission sets to a user. You can always make further changes in Setup.
16
Field Service Lightning Manage Field Service Permissions
IN THIS SECTION:
How Are Field Service Permission Sets Updated?
Permission sets provided by the Field Service Lightning managed package are automatically updated at the beginning of each major
release.
Important: Auto-update of permission sets is logged on the behalf of the user who triggered the update, even if the user doesn’t
have permission to update permission sets. To turn off this process, ask Salesforce to disable the Auto Update of FSL Permission Sets
feature.
17
Field Service Lightning Manage Field Service Permissions
Bulk Optimize Submit an optimization request using Optimize in the appointment list action menu.
Bulk Schedule Schedule selected appointments with the Schedule button on the appointment list or on polygons.
Bulk Unschedule Unschedule selected appointments from the appointment list action menu or on polygons.
Create Custom Gantt Filters Create custom filters for appointments on the Gantt.
Fill-in Fill in schedule gaps using Fill-In Schedule on the resource action menu.
Fix Overlaps Resolve overlapping appointments using Fix Overlaps on the resource action menu.
Enable Gantt Locker Lock and unlock the Gantt using the Gantt locker. Without this permission, Gantt access is read-only.
(This permission is an extended custom permission.)
Gantt - Enable Gantt Policy Select a non-default policy for scheduling and calculating rule violations. (This permission is an
Picker extended custom permission.)
Gantt and List - Show Get Find resources for an appointment using Get Candidates on the appointment list, or when
Candidates right-clicking services on the Gantt. (This permission is an extended custom permission.)
Gantt and Map - Enable Drag Drag selected services from the appointment list, map, or Gantt, and place them on the Gantt. (This
and Drop permission is an extended custom permission.)
Gantt Palettes View View the Palettes tab in the Gantt and apply the selected palette.
Gantt - Show Change Status Change status when you right-click services on the Gantt. Without this permission, users can't dispatch
Action from the map. (This permission is an extended custom permission.)
18
Field Service Lightning Manage Field Service Permissions
Gantt - Show Unschedule Unschedule appointments when you right-click services on the Gantt. (This permission is an extended
custom permission.)
Group Nearby Adjusts the schedule to find other appointments on that day that are close to the selected
appointment. The Group Nearby action is available when you right-click services on the Gantt.
Hide map on Emergency Wizard Hide the map view in the Emergency Wizard and show just the candidates instead.
Longterm View See the Long-Term Gantt view in the dispatcher console. When this permission is enabled, the
Long-Term Gantt view replaces the multi-day view.
Map Polygons - Show In Show the In Jeopardy flag when you right-click a map polygon. (This permission is an extended
Jeopardy custom permission.)
MDT View See the multi-day view in the dispatcher console. The Long-Term Gantt view replaces the multi-day
view.
Monthly Utilization Show utilization in the Gantt resolution menu in the top-right corner.
Policy Picker in Appointment Change the scheduling policy in the Book Appointment action.
Booking
Policy Picker in Get Candidates Change the scheduling policy in the Get Candidates action.
Publish custom Gantt filters Share custom filters for appointments on the Gantt.
Reshuffle Reshuffle appointments from the appointment action menu, or when you right-click services on the
Gantt.
Resource Schedule Optimization Optimize a resource's schedule using Resource Schedule Optimization from the resource action
menu.
Schedule Schedule an appointment from the appointment list or from the map.
Service List View - Rule Violating Show the Rule Violating appointment list.
19
Field Service Lightning Manage Field Service Permissions
Streaming API After activating Gantt Live Updates in your org, use the streaming API to send live streaming updates
of the Gantt. When this permission is disabled, users see only Gantt changes timed using the interval
defined in Field Service Settings > Dispatcher Console UI > Timed Updates.
Utilization on Service Territory For the selected Gantt horizon, view utilization percentages for each territory’s workforce.
View resource on secondary STM If enabled, show a resource’s secondary territory membership on the Gantt.
Example: To limit the dispatchers who can optimize your schedule so the system isn’t bogged down with optimization requests,
remove custom permissions for bulk actions in the dispatcher console:
• FSL.Bulk Dispatch
• FSL.Bulk Optimize
• FSL.Bulk Schedule
• FSL.Bulk Unschedule
A user with the FSL.Bulk Optimize custom permission sees the Optimize action. Users without it can’t run an optimization. Removing
any of these custom permissions hides the action in the user interface.
20
Field Service Lightning Set Up Service Territories, Operating Hours, and Shifts for
Field Service
Set Up Service Territories, Operating Hours, and Shifts for Field Service
Create service territories to track the places where your team performs field service work. Assign
EDITIONS
regular operating hours to each service territory to indicate when work can be performed. Create
shifts to assign resources to ad hoc hours, such as holiday hours or for workers without a set schedule. Available in: Salesforce
Classic and Lightning
IN THIS SECTION: Experience
Create Service Territories for Field Service The Field Service Lightning
Create hierarchies of service territories to organize your field service workforce and ensure that core features, managed
service resources are assigned to service appointments near their home base. Service territories package, and mobile app
typically represent geographical areas where your team works, but they can also be functional are available in Enterprise,
territories such as field sales and field service. Performance, Unlimited,
and Developer Editions.
Set Up Shifts for Field Service Lightning Work orders are also
Shifts in Field Service Lightning let you define variable working periods for your shift-based available in Professional
workforce, such as contractors or on-call staff. Create shifts for particular dates and times when Edition.
you need coverage, and assign them to service resources. When the managed package is
installed, scheduling and Enhanced Optimization consider workforce availability during shifts.
21
Field Service Lightning Set Up Service Territories, Operating Hours, and Shifts for
Field Service
Create hierarchies of service territories to organize your field service workforce and ensure that service resources are assigned to service
appointments near their home base. Service territories typically represent geographical areas where your team works, but they can also
be functional territories such as field sales and field service.
Before you start, make a list of the territories you want to create and who works in each territory. To keep scheduling straightforward,
try to create territories with no more than 50 technicians assigned to them.
You can organize service territories into hierarchies of up to 10,000 territories. We recommend creating the highest-level territories first.
For example, create a San Francisco Bay Area territory with four child territories: Peninsula, North Bay, South Bay, and East Bay.
If the Field Service Lightning managed package is installed, use Guided Setup to quickly create your service territories.
1. From the App Launcher, find and open the Field Service Admin app, and then click the Field Service Settings tab.
2. Click Go to Guided Setup. When you launch guided setup, your Field Service Lightning permission sets are scanned to make sure
that they’re up-to-date. You’ll see a message if you’re missing a necessary permission.
3. Click Create Service Territories.
4. Create your territories one by one. Click a territory name to update its name, operating hours, and address.
5. Operating hours indicate the working hours of technicians in the territory. Territory members use these hours unless different hours
are specified on their service territory member records. Use the lookup to select existing operating hours, or click New Operating
Hours to create your own.
• To create more complex or varying time slots, save your new operating hours and click Open Operating Hours Record below
the Operating Hours field. Then, customize your time slots in the Time Slots related list.
• To avoid issues with appointment booking, always specify a time zone on your operating hours.
22
Field Service Lightning Set Up Service Territories, Operating Hours, and Shifts for
Field Service
IN THIS SECTION:
Guidelines for Creating Service Territories for Field Service
Learn how to use service territories to track where your field service team works.
Guidelines for Creating Operating Hours for Field Service
Operating hours in Field Service Lightning can represent technician hours, service territory hours, appointment arrival windows, and
customer appointment time preferences. Learn how to set operating hours for each scenario.
23
Field Service Lightning Set Up Service Territories, Operating Hours, and Shifts for
Field Service
• Service territory memberships should start and end at the same hour, and shouldn’t fall inside the operating hours listed on the
membership record (or if no hours are listed, on the service territory). This way, there’s no question about the resource’s availability
on their first day as a member of the territory. For simplicity, we recommend using midnight (00:00). For example:
– Start Date: 1/12/2019 00:00
– End Date: 3/12/2019 00:00
Note: We recommend using 00:00 because it aligns with Field Service Lightning’s default Start of Day, which is 00:00.
However, you can set a custom Start of Day on Service Resource Availability work rules if the default doesn’t make sense—for
example, if your team typically works night shifts. To enforce a custom Start of Day, from the Field Service Admin app, click
Field Service Settings > Scheduling and select Set the hour that starts a new day based on the Availability rule(s).
If the applied scheduling policy uses a custom Start of Day, set your service territory memberships to start and end at that
time rather than at midnight.
• During scheduling and optimization, Field Service Lightning uses the service territory member’s own time zone—set on the
user record—to interpret the territory membership start and end times. If the user’s time zone differs from the service territory’s
time zone, adjust the membership start and end time accordingly. For example, if the user’s time zone is 3 hours behind the
service territory’s time zone, set the territory membership start time to 3:00 rather than 00:00.
• If you're using Enhanced Optimization, service territory memberships can't be longer than three years. If you need a service
territory membership to be longer than three years, keep the End Date fields blank.
Deleting Service Territories
You can’t delete a service territory with service appointments. If you try to delete it, you’re prompted to assign the appointments to
a different territory.
If you delete a service territory with members, the service resources who were members no longer have a connection to the territory.
Adding Locations to Service Territories
Associate location records with service territories from the Service Territory Locations related list. Add site, plant, and warehouse
locations to the service territory in which they’re located. Add mobile locations, like vans, to the service territories where they can
be used for field service work.
To view operating hours and time slots: Read on operating hours Available in: Salesforce
Classic and Lightning
To create operating hours: Create on operating hours
Experience
To assign operating hours to service Edit on service resources
The Field Service Lightning
resources:
core features, managed
To assign operating hours to service Edit on service territories package, and mobile app
territories: are available in Enterprise,
Performance, Unlimited,
To assign operating hours to accounts: Edit on accounts and Developer Editions.
To update, create, or delete time slots: Edit on operating hours Work orders are also
available in Professional
Edition.
Operating hours in Field Service Lightning can represent technician hours, service territory hours,
appointment arrival windows, and customer appointment time preferences. Learn how to set
operating hours for each scenario.
24
Field Service Lightning Set Up Service Territories, Operating Hours, and Shifts for
Field Service
Service territories The default working hours for the service Select operating hours when creating a
territory members, unless different hours service territory in Guided Setup. Or, update
are specified on a service territory member the Operating Hours field on the service
record. territory record.
Service territory members The hours when the member (a service Update the Operating Hours field on a
resource) is available to work service territory member record.
Appointment booking The appointment booking arrival windows Select your default operating hours for
offered to customers during scheduling appointment booking in the Customize
Appointment Booking step in Guided
Setup. Or, from the App Launcher, find and
open the Field Service Admin app, and
then click Field Service Settings > Global
Actions > Appointment Booking. Then,
update the Default Operating Hours field.
Tip: If different appointment booking windows are needed for different level of service—for instance, standard customers get
4-hour booking windows while VIP customers get 2-hour windows—add entitlements to your work orders. In the Operating Hours
field on the entitlement, select the appropriate appointment booking window operating hours.
25
Field Service Lightning Set Up Service Territories, Operating Hours, and Shifts for
Field Service
service territory. This way, one operating hours record can be used to represent appointment booking windows across your customer
base.
Note: If you have access to 2,000 or more service territories, the appointment list shows only selected territories. Use the search
bar to find territories that aren't selected.
Tip: Create Apex triggers that limit time slot settings. For example, restrict the start and end times on time slots to half-hour
increments, or prohibit end times later than 8 PM.
26
Field Service Lightning Set Up Service Territories, Operating Hours, and Shifts for
Field Service
• To select job profiles when you create shifts, add the Job Profile field to shift layouts.
27
Field Service Lightning Set Up Service Territories, Operating Hours, and Shifts for
Field Service
28
Field Service Lightning Set Up Work Order Management for Field Service
29
Field Service Lightning Set Up Work Order Management for Field Service
6. Optionally, add required skills to represent the expertise or certification needed to complete the work. You can add a skill level from
the work type’s Skill Requirements related list, outside of Guided Setup.
7. To update additional fields and add supporting records, select a work type in the list and click Open Work Type Record.
8. To apply a work type to a work order or work order line item, select the work type in the Work Type field on the record when creating
it. When you add a work type, the record inherits settings from the work type.
If the managed package isn’t installed, create and manage work types from the Work Types tab.
IN THIS SECTION:
Guidelines for Creating Work Types for Field Service
Work types help you standardize your field service processes. Learn about inherited work type settings, required skills and products,
auto-created service appointments, and attaching knowledge articles.
Guidelines for Creating Skills for Field Service
Assign skills to service resources to represent certifications or areas of expertise. Add skill requirements to work types, work orders,
and work order line items to indicate the skills needed to complete the work.
30
Field Service Lightning Set Up Work Order Management for Field Service
Skill Requirements
Skill requirements on work types represent the skills that are needed to complete the work. Work orders and work order line items inherit
their work type’s skill requirements. Define required skills in the Skill Requirements related list.
You can enforce skill requirements during schedule optimization using the Match Skills work rule in a scheduling policy. If you’re not
using the Field Service Lightning managed package, skill requirements serve as a suggestion rather than a requirement.
If you add a work type to an existing work order, the work order only inherits the skill requirements if the work order didn’t yet have any.
Similarly, updating a work type’s skill requirements doesn’t affect work orders that were already created using that work type.
The previous rules are also true for work order line items. Work order line items don’t inherit their parent work order’s skill requirements.
Note: Customizations to skill requirements, such as validation rules or Apex triggers, are not carried over from work types to work
orders and work order line items.
Required Products
Required products on work types represent the products that are needed to complete the work. Work orders and work order line items
inherit their work type’s required products. Define required products in the Products Required related list.
If you add a work type to an existing work order, the work order only inherits the required products if the work order didn’t yet have any.
Similarly, updating a work type’s required products doesn’t affect work orders that were already created using that work type.
The previous rules are also true for work order line items. Work order line items don’t inherit their parent work order’s required products.
Note: Customizations to required products, such as validation rules or Apex triggers, are not carried over from work types to work
orders and work order line items.
Knowledge Articles
When you attach a knowledge article to a work type, the article shows up on work orders and work order line items that use the work
type. For example, if you have a work type named Solar Panel Replacement, you can attach an article that explains how to replace a
solar panel. Any work order using that work type automatically includes the article, and the person assigned to the work order has the
instructions at their fingertips.
Articles on work types work a little differently than articles on work orders and work order line items. Here are the differences:
• A Linked Work Types related list isn’t available on article page layouts, so you can’t see which work types an article is attached to.
• The Knowledge One widget isn’t available on work types in the console in Salesforce Classic, but the Articles related list is.
31
Field Service Lightning Set Up Work Order Management for Field Service
• To ensure that field service records are associated with the most current versions of knowledge articles, articles attached to work
types don’t specify an article version. For this reason:
– When work orders and work order line items inherit an article from their work type, they inherit the latest version of the article
published in their org’s default Knowledge Settings language.
– An article attached to a work type may display in a different title or language in the Articles related list versus in the Knowledge
Lightning component. The Articles related list reflects the article version that is inherited by work orders and work order line
items using the work type.
Create, update, and delete skills in Setup: Customize Application Available in: Salesforce
Classic and Lightning
Assign skills to service resources: Edit on service resources
Experience
View service resources’ skills: Read on service resources
The Field Service Lightning
Add required skills to work orders or work Edit on work orders core features, managed
order line items: package, and mobile app
are available in Enterprise,
Add required skills to work types: Edit on work types Performance, Unlimited,
and Developer Editions.
Work orders are also
Assign skills to service resources to represent certifications or areas of expertise. Add skill requirements available in Professional
to work types, work orders, and work order line items to indicate the skills needed to complete the Edition.
work.
If the Field Service Lightning managed package is installed, you can easily create and assign skills
in Guided Setup when you create work types and service resources.
If you’re not using Guided Setup, create skills in Setup first. Then, assign them to service resources or create skill requirements.
1. Decide how to measure skill level. Skills and skill requirements can be assigned a skill level between 0 and 99.99. For example, use
the Skill Level field to indicate years of experience, or create a matrix that corresponds professional license classes to skill level
numbers.
Tip:
• Create validation rules to limit potential skill level values. For example, only allow multiples of 10.
• Create field-level help to let your users know how skill level is determined.
32
Field Service Lightning Set Up Work Order Management for Field Service
c. Enter a start date and, if needed, an end date. For example, if a technician must be recertified in a particular skill every six months,
enter an end date that’s six months later than the start date.
d. Save your skill.
4. Add the skill as a requirement on work types, work orders, or work order line items. Work orders and work order line items inherit
their work type’s skill requirements.
a. From a work type, work order, or work order line item record, create a new skill requirement in the Skill Requirements related
list.
b. Select a skill, and enter a skill level from 0 to 99.99.
c. Save your skill requirement.
Create, clone, edit, or delete Edit on work orders Standard User, Solution
work order line items Manager, Contract Manager,
Marketing User, and System
Administrator
2. Customize the fields and related lists on the following objects’ page layouts.
Note: If you have your own field service terminology, remember that you can rename an object’s tab and labels. In Setup,
select Rename Tabs and Labels, and enter your own term for the object you’d like to rename.
33
Field Service Lightning Set Up Work Order Management for Field Service
• Optionally, add your own custom values to the Status picklist field. The Status field comes with these
default values:
– New
– In Progress
– On Hold
– Completed
– Cannot Complete
– Closed
– Canceled
When you create a custom value, select a status category that the value falls into. The available status
categories match the default status values. For example, if you create a Customer Absent value, you
may decide that it belongs in the Cannot Complete category.
To learn which processes reference Status Category, see How are Status Categories Used?
Work Order Line Item • Arrange the fields. The default layout includes only some of the available fields.
• Optionally, add your own custom values to the Status picklist field. The Status field is identical to
the Status field on work orders.
• Confirm that your page layout has the desired related lists:
– Child Work Order Line Items: The line item’s child line items
– Product Request Line Items: Line items on product requests
– Product Requests: Products requested for the line item
– Products Consumed: Products used during the completion of the line item
– Products Required: Products needed to complete the line item
34
Field Service Lightning Set Up Work Order Management for Field Service
Work Type • Arrange the fields. The default layout includes only some of the available fields.
• Confirm that your page layout has the desired related lists:
– Products Required: The products needed to complete the work. Work orders and work order
line items inherit their work type’s required products.
– Skill Requirements: The skills needed to complete the work. Work orders and work order line
items inherit their work type’s skill requirements.
a. To let users view and manage work orders in a variety of places, add the Work Orders related list to any of the following objects’
page layouts.
• Accounts
• Assets
• Cases
• Contacts
• Entitlements
• Maintenance plans
Note: Before adding the related list, update the field-level security for the Maintenance Plan and Suggested
Maintenance Date fields on work orders to make them available to users.
• Return orders
• Return order line items
• Service contracts
IN THIS SECTION:
How are Status Categories Used?
Service appointments, work orders, and work order line items have two status-related fields—Status and Status Category—which
come with the same standard values. Status categories, which are referenced in many field service processes, allow you to use custom
status values while maintaining a consistent work classification for tracking, reporting, and business process management.
35
Field Service Lightning Set Up Work Order Management for Field Service
Many field service triggers and processes are based on appointment, work order, or work order line item status. To ensure that these
processes work as expected when custom statuses are in use, Salesforce references the Status Category field—rather than the Status
field— before making changes.
The following field service processes are based on status category, rather than status. If you create custom status values or reference the
Status or Status Category fields in custom apps, triggers, or validation rules, keep these in mind.
• Status-based sharing rules for work orders, work order line items, and service appointments
• Status-based paths on work orders, work order line items, and service appointments
• Dispatcher console appointment list filters
• Dispatch scheduled jobs, which are triggered by an appointment’s status category being updated to Dispatched
• Dispatch Chatter notification settings, which are triggered by an appointment’s status category being changed to Dispatched
• Dispatch drip feed—found in the Field Service Admin app > Field Service Settings tab > Dispatch—which dispatches one or
more appointments when the assigned resource’s previous appointment’s status category changes to Completed
• Calendar syncing, which checks for appointments whose status category is Dispatched
• Completed icon on the dispatcher console map, which appears when an appointment’s status category changes to Completed
• KPI for completed service appointments shown on the Gantt, capacity view, and service resource view, which is based on appointments
whose status category is Completed
36
Field Service Lightning Set Up Work Order Management for Field Service
• In Lightning Experience, navigate to Linked Article in the Object Manager. To attach or detach an
article on a work type:
• In Salesforce Classic, navigate to the Linked Articles page under Knowledge. • Read on work types AND
Read on the article type
Note: Linked articles include the following limitations. AND Knowledge
• Quick actions and global actions aren’t supported for linked articles. enabled
• The Article widget and Feed Articles Tool aren’t available in the feed view. To edit page layouts:
• Customize Application
• In Lightning Experience, clicking an article link in a feed item redirects you to the article
page in Salesforce Classic. In the Salesforce mobile app, linked articles can’t be accessed To edit console layouts:
from feed items. • Customize Application
AND Service Cloud User
• The Linked Work Types related list isn’t available on articles in any platform.
• The Knowledge One widget isn’t available on work types in the console. To manage linked
articles on work types in the console, use the Articles related list.
• Linked articles are read-only in the Salesforce mobile app.
37
Field Service Lightning Set Up Work Order Management for Field Service
USER PERMISSIONS
To set up a path:
• Modify All Data
To create, customize, or
publish a community:
• Create and Set Up
Communities AND View
Setup and Configuration
You can set up one path per record type. The steps in a path (1) correspond to the Status picklist values. Help users succeed by displaying
up to five key fields and handy step-specific guidance beneath each path step (2).
Several statuses can represent the record’s conclusion: Canceled, Cannot Complete, Completed, and Closed. Therefore, the last stage of
the path displays as Final Status when the record is open. Users are prompted to select a final status from these values when they try
to close the record, and the path then shows the selected final status. The order of the path steps is based on the order of the values in
the Status picklist, though statuses representing conclusion are grouped in the final step.
Path is available for work orders, work order line items, and service appointments in Lightning Experience and Lightning communities.
It isn’t available in Salesforce Classic, the Salesforce mobile app, or the Field Service Lightning mobile app.
38
Field Service Lightning Set Up Your Field Service Workforce
1. On the Path Settings page in Setup, enable Path. Select Remember User's Path Preferences to let users decide whether
the path remembers its previous state or is always closed when the page loads.
2. If you plan to create a path based on the Status field for a field service object, assign a status category to each status. From the field
settings for the object’s Status picklist field in Setup, click Edit next to a value. Select the corresponding status category and save
your changes. Status categories determine which statuses are grouped in the Final Status stage on the path, and are also used in
scheduling.
3. From the Path Settings page in Setup, follow the prompts to create a path for the Work Order, Work Order Line Item, or Service
Appointment object. Paths can be based on the Status field or a custom picklist. Optionally, select key fields or add guidance for
each step in the path.
4. To add your path to record detail pages in your org, drag the Path component onto the object detail page in Builder.
5. To add your path to a Lightning community, drag the Path component onto the object detail page in Experience Builder.
39
Field Service Lightning Set Up Your Field Service Workforce
Service resources are individual users or groups of users—known as service crews—who can perform field service work. Create service
resources so you can assign service appointments to them.
Tip: If the Field Service Lightning managed package is installed, you can use Guided Setup to quickly create service resources and
assign them the proper permission sets. From the App Launcher, find and open the Field Service Admin app, and then click the
Field Service Settings tab. Click Go to Guided Setup > Create Service Resources and follow the guidance to update or create
service resources.
1. From the Service Resources tab, click New.
2. Select a user and enter a resource name—typically, the user’s name.
3. If the resource represents an individual user, select the user in the User field. If the resource represents a service crew, leave the User
field blank and select the crew in the Service Crew field. Service resources must list a user or a service crew.
4. Select Active to be able to assign the resource to service appointments. Inactive resources also can’t access the Field Service Lightning
mobile app.
5. Indicate whether the resource is a technician, dispatcher, or crew.
Note: Field Service Lightning users can see Asset as a picklist option in the Resource Type field. However, you can’t save the
record when you select Asset in an org that doesn’t have access to Lightning Scheduler.
Resources who are dispatchers can’t be capacity-based, included in schedule optimization, or added to service crews. Only users
with the Field Service Dispatcher permission set license can be dispatchers.
6. Enter a location if applicable. Service resources might be linked to a location if they manage or operate the location (such as a
warehouse or van). A location can’t be linked to more than one service resource.
7. Select Capacity-Based if the resource is limited to working a certain number of hours or appointments in a specified time period.
You can define the resource’s capacity in the Capacities related list.
Contractors are likely capacity-based.
8. Select Include in Scheduling Optimization to check if the resource has the permission set license needed for optimization.
To be included in optimization, users need the Field Service Scheduling permission set license.
40
Field Service Lightning Set Up Your Field Service Workforce
IN THIS SECTION:
Define a Service Resource’s Capacity
Typically, contractors in field service can work a specified amount in a given time period. Define a service resource’s capacity so they
aren’t overbooked during schedule optimization.
Estimate a Service Resource’s Efficiency
People work at different paces depending on their skills and level of experience. Assign an efficiency score to service resources to
facilitate scheduling. The scores are considered during scheduling and can affect an appointment’s scheduled end time.
Guidelines for Creating Service Resources for Field Service
Learn how to view, create, and manage service resources to keep your field service operation running smoothly.
Guidelines for Setting Up Field Service Contractors
If you’re running a field service operation, it’s likely that you work with contractors in addition to your full-time employees. Learn
how to incorporate contractors into your field service processes.
5. Save your changes. You can create multiple capacities for a resource as long as the start and end dates don’t overlap.
41
Field Service Lightning Set Up Your Field Service Workforce
Tip: If the Field Service Lightning managed package is installed, view and update a service resource’s capacity on the Capacity
tab on the service resource detail view.
Considerations
• If the managed package is installed, capacity-based resources must include a Hours per Time Period value on their capacity record.
If the user’s capacity should be measured in work items, fill out Work Items per Time Period as well and set the Hours per Time Period
to a high number which likely won’t be achieved.
• Capacity serves as a guideline, not a rule. Resources can still be scheduled beyond their capacity, and you aren’t notified when a
resource exceeds their capacity.
• The Fix Overlaps feature isn’t support for capacity-based service resources.
• Schedule optimization respects daily capacity, but not weekly or monthly.
• Resource schedule optimization—the optimization of an individual service resource’s schedule—isn’t supported for capacity-based
service resources.
• If a service resource is capacity-based with a defined capacity, their utilization percentage isn’t shown in the Gantt.
• Capacity-based resources can’t be assigned to appointments that have a scheduling dependency.
• Capacity-based resources can't be relocated or assigned to a secondary service territory.
42
Field Service Lightning Set Up Your Field Service Workforce
Tip: Create a trigger that sends an approval request to a supervisor when a resource creates an absence.
43
Field Service Lightning Set Up Your Field Service Workforce
3. Make the contacts community users. Depending on the licenses that your
organization has purchased, you can assign
them the Customer Community Plus or Partner
Community license. If both are available, partner
community licenses are ideal for users who are
engaged in sales or distribution with your
company.
4. Assign permission set licenses, create a Assign field service permission set licenses to
contractor user profile, and configure object each user:
permissions. • The Field Service Scheduling permission set
license allows the user to be included in
scheduling.
• The Field Service Mobile permission set
license gives the user access to the Field
Service Lightning mobile app
For help assigning the permission set licenses,
see Manage Field Service Permissions.
Then, create a user profile for contractors
(recommended) and configure their object
permissions.
5. Create a service resource to represent the You can create service resources for every
contractor users. contractor technician or just for the contractor
manager. Each service resource is linked to a
44
Field Service Lightning Set Up Your Field Service Workforce
Step Details
user—in this case, the partner or customer community user.
6. Create a service territory for each contractor company, and add Creating a contractor-specific territory lets the contractor manager
the contractor users as service territory members. see only their employees in the community dispatcher console.
For example, if you’re contracting with Ursa Major Solar, create a
territory named Ursa Major Solar Contracting.
7. Add the dispatcher console to the community. For help, see Add the Dispatcher Console to a Community.
• The contractor manager is a community user but not a service • You want to track individual contractor technicians’ details in
resource Salesforce
• The contractor technicians are service resources with Field • You want contractor technicians to be able to view or update
Service Mobile licenses appointment details in the field
1. The dispatcher shares the work order with the contractor • You want the scheduling engine to consider each contractor
manager. technician’s schedule when making assignments
2. In your community, the contractor manager uses the Book
Appointment action to assign the associated service
appointment to a technician.
3. The technician uses the mobile app to view the assignment,
and update the service appointment and work order status
when the work is complete.
• The contractor manager is a community user and a service • You don’t want to track individual contractor technicians’
resource details in Salesforce
• The contractor manager tracks the contractor technicians in a • You want the contractor manager to be responsible for viewing
separate system and updating appointment details in the field
1. The dispatcher assigns the service appointment to the • You don’t need to differentiate between different contractor
contractor manager by creating an assigned resource record. technicians’ schedules when assigning work with the
scheduling engine
2. The contractor coordinates with the contractor team to
complete the work.
3. When the service appointment is complete, the contractor
updates the service appointment and work order status from
your Salesforce community.
Tip: The Contractors list view in the dispatcher console Service Appointment List shows only service appointments that are
assigned to capacity-based service resources.
45
Field Service Lightning Set Up Your Field Service Workforce
To view service crew members: Read on service crews AND Read on service
resources
Set up teams who can be assigned to field service appointments as a unit. A service crew is a group of service resources whose combined
skills and experience make them a good fit to work together on appointments. For example, a wellhead repair crew might include a
hydrologist, a mechanical engineer, and an electrician.
Create service crews from the crew management tool or the Service Crews tab.
From the Crew Management Tool
Note: Not sure how to get to the crew management tool? Ask your admin to follow the steps in Set Up Crew Management
and let you know where the tool is located.
46
Field Service Lightning Set Up Your Field Service Workforce
Note: Though the User and Service Crew fields won’t be marked required in the UI, service resource records can’t be
saved unless one of the fields is filled out.
b. Update the field-level security settings of the Gantt Label field on service crew members so it’s not hidden. Then, add the field
to the Service Crew Member page layout.
47
Field Service Lightning Set Up Your Field Service Workforce
IN THIS SECTION:
Considerations for Scheduling Service Crews
Service crews, much like individual service resources, can be assigned to service appointments. Learn how absences, efficiency, and
crew settings affect service crew scheduling.
48
Field Service Lightning Set Up Your Field Service Workforce
• To belong to a crew, a service resource needs service territory membership in the territory where the crew provides service. The
time span of service crew membership must match or be fully contained in the time span of service territory membership.
• A service resource can be a member of multiple crews as long as the membership dates don’t overlap.
• Service resources that belong to a service crew don’t receive notifications about assignments or assignment changes. Assignment
notifications are sent only to service resources that are assigned individually to appointments.
• Removing all members from a service crew deactivates the related service resource of type Crew.
Minimum Crew Size
Work orders, work order line items, and work types come with a Minimum Crew Size and a Recommended Crew Size. For example,
a crew might have a recommended size of 3, but a minimum size of 2. Work orders and work order line items inherits their work
type’s crew size settings.
Note: The crew size fields are hidden for all users by default. If you don’t see them, update their field-level security settings
in Setup.
Field Service Lightning doesn’t consider the Recommended Crew Size when assigning appointments. To determine whether a
service crew fits the minimum crew size requirement for an appointment, the scheduling engine either counts the crew’s service
crew members or checks the Service Crew Size field on the Service Crew record. You can adjust these settings on the Service Crew
Resources Availability work rule. If the Minimum Crew Size is blank or 1, the scheduler may assign the work to technicians or to crews.
You can customize the Service Crew Resources Availability work rule to serve one of two purposes:
• Compare a service appointment parent record’s Minimum Crew Size field to the Crew Size field on the service crew.
• Compare a service appointment parent record’s Minimum Crew Size field to the actual number of allocated service crew members
at the time of the assignment. Consider Service Crew Membership must be selected on the Service Crew Resources Availability
work rule.
If the Minimum Crew Size is blank or 1 on the service appointment’s parent record, all service resources (of either the Crew or
Technician type) are considered as candidates. This is also true for optimization, although a crew is not a candidate if it has no valid
crew members and Consider Service Crew Membership is selected on the Service Crew Resources Availability work rule.
If your org was created before Spring ’18, you need to create this work rule and add it to your scheduling policies.
Multiday Appointments
When a multiday appointment is scheduled for a technician whose start date on a service crew is in the future, the multiday
appointment is elongated to last the duration of the technician’s membership in the service crew.
Resource Preferences
Service resources that belong to a crew can’t be candidates for appointments while they belong to a crew. Therefore, the Required
Resource and Excluded Resource work rules and the Preferred Resource service objective don’t apply to active service crew members.
Scheduling Candidates
When the scheduler is looking for candidates to perform a job, only service resources of type Crew and Technician are considered
as candidates. If a service resource is a current member of a service crew, the resource is not considered as a candidate. If a service
resource is manually assigned to a service appointment while they belong to a crew, the dispatcher console shows a rule violation.
Sharing
When a service appointment is dispatched, members of the assigned service crew get Read access to the appointment and its parent
record and the crew leader gets Read/Write access. If the Field Service Lightning managed package isn’t installed, service crew
leaders don’t receive any extra permissions.
If an appointment’s Scheduled Start changes or an assigned resource of type Crew is updated, the appointment’s assigned resources
are refreshed to keep the sharing settings current. A change in a service crew membership record doesn’t trigger the refresh.
49
Field Service Lightning Set Up Your Field Service Workforce
Skills
Skills can be assigned to service resources of any type—Technician or Crew—and are considered during scheduling. Unless skills
are assigned to a service crew directly on the service resource of type Crew, a service crew’s combined skills aren’t considered and
the crew may be under-scheduled.
If you want the scheduling engine to consider a service crew’s combined skills—that is, all skills assigned to the service crew
members—enable skill grouping. This way, if an appointment requires the Drilling skill, a service crew with a member that has the
Drilling skill will be considered as a candidate.
From the App Launcher, find and open the Field Service Admin app, and then click the Field Service Settings tab. On the
Scheduling tab, select Enable resource crew skill grouping and save your changes.
Note:
• When skill grouping is enabled, the scheduling engine calculates the crew’s skill set for that time slot. The skill set is
recalculated each time the scheduling engine searches for appointment candidates because it can vary based on crew
member allocation.
• If multiple members of a service crew have the same skill, the scheduling engine considers the highest skill level when
calculating the crew’s combined skill set.
Utilization
When utilization is calculated for the utilization view and metrics shown in the dispatcher console, a service crew member is considered
to be utilized like the service resource representing the crew they belong to.
50
Field Service Lightning Set Up Your Field Service Workforce
USER PERMISSIONS
51
Field Service Lightning Set Up Your Field Service Workforce
1. Decide which users need access to the crew management tool. Ensure that each user has at least one of these permission sets:
• FSL Admin Permissions
• FSL Dispatcher Permissions
2. Add the crew management tool to your org in one of two ways:
• Create a Visualforce tab named Crew Management for the FSL.CrewManagement page.
• Embed the Crew Management custom Lightning component in a Lightning page. Because the component includes a detailed
chart, give it plenty of space on the page.
3. Create a permission set with access to the following elements, and assign it to the relevant users.
• Crew Management tab, if you created one
• FSL.CrewManagement Visualforce page
• FSL.CrewsResourceLightbox Visualforce page
• FSL.CrewsSaLightbox Visualforce page
• FSL.CrewsWorkorderLightbox Visualforce page
• FSL.CrewsWorkorderLineItemLightbox Visualforce page
• FSL.CrewManagement Apex class
You’re all set! For help using crew management, see Manage Service Crew Membership.
Note: User territories give users access to the following objects for that territory.
• Resource Absences
• Service Appointments
• Service Resources
• Service Territories
52
Field Service Lightning Set Up Your Field Service Workforce
• Parent objects of shared Service Appointments; for example, Accounts, Assets, Opportunities, Work Orders, and Work
Order Line Items
3. Set up sharing settings for service resources. These settings allow dispatchers to control access to the appointment and its related
information until they have finalized the appointment's details.
a. From Setup, enter Field Service Settings in the Quick Find box, then click Field Service Settings.
b. Select any of the following options. Hover over a setting’s information icon for details.
• Share dispatched service appointments with their assigned resources
• Share service appointments’ parent work orders with their assigned resources
• Let service crew members edit their service appointments
Note: When a service resource is removed from a service appointment, sharing is deleted only for that service appointment.
Sharing on the parent work order is still retained.
4. Because record access needs can change, Field Service Lightning regularly checks that users have access to the right records. After
your service resources are assigned to service territories, confirm that this sharing update process is active.
a. From the App Launcher, find and open the Field Service Admin app, and then click the Field Service Settings tab.
b. Select Sharing > Scheduled Jobs.
c. Expand the User Territories scheduled job, and confirm that Active is selected.
d. Select which territories to check sharing for, and configure the job frequency.
Tip:
• Limit each job to fewer than 100 territories.
• If territory membership changes frequently, try a frequency of 1 day. If territory membership is generally static, you
can decrease the frequency to 30 days, for example.
Note:
• When an appointment is canceled, it’s visible only to the appointment owner and the relevant dispatchers based on the user
territory object. The sharing rules no longer apply.
• You can give dispatchers access to records by sharing information across territories and syncing calendars to include absences
and other events.
• In some orgs, the Field Service Admin app has similar sharing options. We recommend disabling the app sharing settings and
using the Setup settings.
53
Field Service Lightning Set Up Your Field Service Workforce
• When User Territory Sharing is enabled and the option Automatically populate user groups based on User Territory is
selected, the User Territory Apex Rule does the following.
– If you create a service territory, it creates a public group with the same name. The public group is added to
ServiceTerritoryShare object.
– If you create a user territory record, it adds the user to the public group for that service territory.
– If you create a service appointment with that service territory, the public group is added to the ServiceAppointmentShare
object to grant access to the record.
– When a service appointment with that territory is shared, related parent records (such as Accounts, Assets, Opportunities,
Work Orders, and Work Order Line Items) are also shared. The service appointment record and its parent record are shared
with the associated public group and its users. If the parent record of the appointment is a Work Order Line Item, the
associated Work Order is also shared. Optionally, in Field Service Settings under Sharing > Scheduled Jobs, select
which parent objects are shared when an appointment is shared. For example, to share Work Orders but not Accounts,
check Share parent Work Order when Service Appointment is shared and deselect Share parent Account when
Service Appointment is shared.
If you don't have User Territory Sharing enabled or sharing settings weren’t private when you created the service territory
records, you must manually create the sharing records.
• Public group names must be unique. For example, User Territory Sharing doesn't work if you have a queue with the same
name as one of your public groups.
• When a service appointment is created without a user territory, it’s associated with the Field Service Default public group. This
default group allows a user to access a service appointment and work order even when there’s no associated territory. Field
Service Lightning adds users in all user territories as members of this public group. If you’re a dispatcher, you can filter the
Gantt and show service appointments that aren’t associated with a territory.
Example: John is a dispatcher for the New Jersey service territory, and his user territory record gives him access to New Jersey
field service records. Madison is a technician for the Pennsylvania service territory, but on August 1 she is moving to the New Jersey
territory.
To reflect Madison’s move, the admin adds an end date of July 31 to her Pennsylvania service territory member record. The admin
then creates a New Jersey service territory member record for Madison with a start date of August 1.
The admin has configured the User Territory sharing job to run daily for all service territories, including Pennsylvania and New
Jersey. This job calculates which records users need access to. Because the job’s backwards time horizon is set to one day, John
receives access to Madison’s field service records one day before she starts work in New Jersey.
54
Field Service Lightning Set Up Your Field Service Inventory
IN THIS SECTION:
Customize Inventory Settings
To control how your team manages inventory, customize page layouts and assign user permissions.
Create Inventory Locations for Field Service
Locations are places, like warehouses, customer sites, or work vehicles, where inventory is stored for a field service operation. Create
locations so you can track the items stored there and restock when necessary.
Create Product Items to Represent Inventory
After you customize your field service inventory settings, track where your inventory is stored by creating product items.
55
Field Service Lightning Set Up Your Field Service Inventory
Create, edit, or delete products consumed on Create on work orders AND Read on product USER PERMISSIONS
work orders or work order line items items To edit page layouts and set
View product item transactions Read on product items field history tracking:
• Customize Application
Edit product item transactions Edit on product items To create and edit users:
Create addresses for locations Create on Addresses • Manage Internal Users
2. Customize the fields and related lists on the following objects’ page layouts.
Tip: If you have your own field service terminology, remember that you can rename an object’s tab and labels. In Setup, select
Rename Tabs and Labels, and enter your own term for the object you’d like to rename.
Important:
– Add the Inventory Location field so you can track where inventory is stored.
– Add the Mobile Location field so you can flag mobile locations such as service vehicles.
– If you plan to create location hierarchies, add the Parent Location field, and optionally
the read-only Root Location and Hierarchy Level fields.
– Optionally, customize the values in the Location Type field. Its out-of-the-box values are
Warehouse, Van, Site, and Plant.
56
Field Service Lightning Set Up Your Field Service Inventory
Address • Arrange the fields, which appear in the Addresses related list on locations.
• Optionally, customize the values in the Address Type field. Its default values are Mailing, Shipping,
Billing, and Home.
Associated Location Associated locations let you associate multiple accounts with one location. For example, a shopping
center location may have multiple customer accounts.
• Arrange the fields, which appear in the Associated Locations related list on locations and accounts.
Product • Confirm that your layout includes the following related lists:
– The Product Items related list shows product items that track the storage of the product in an
inventory location.
– The Return Order Line Items shows return order line items that track the return or repair of the
product.
• Define values for the Quantity Unit of Measure picklist field, which comes with one value (Each).
These values are reflected in the Quantity Unit of Measure field on product items, product request
line items, product transfers, products consumed, and products required.
a. From Setup, enter Products in the Quick Find box, then select Fields under Products.
b. Click Quantity Unit of Measure.
c. In the Quantity Unit of Measure Picklist Values related list, click Edit to change the default or
New to add values. For example, you may need values like Kilograms or Liters.
d. Save your changes.
Product consumed Arrange the fields that appear in the Products Consumed related list.
57
Field Service Lightning Set Up Your Field Service Inventory
Product required Arrange the fields that appear in the Products Required related list.
Product transfer • Arrange the fields. The default layout includes only some of the available fields.
• Optionally, customize the Status field values. The default values are Ready for Pickup and Completed.
• Confirm that your layout includes the Product Item Transactions related list, which automatically
tracks the replenishment, consumption, and adjustment of the product items being transferred.
58
Field Service Lightning Set Up Your Field Service Inventory
Work order Confirm that your layouts include the following related lists.
Work order line item • The Products Required related list shows products needed to complete the work.
• The Products Consumed related list shows product items used to complete the work.
• The Product Requests related list shows product requests created to ensure that the assigned service
resources have the parts they need to complete the work.
• The Product Request Line Items related list shows product request line items associated with the
work.
• The Return Orders related list shows return orders associated with the work.
• The Return Order Line Items related list shows return order line items associated with the work.
59
Field Service Lightning Set Up Your Field Service Inventory
4. If inventory is stored at the location, select Inventory Location. This allows you to you associate the location with items in your
inventory, known as product items.
5. If the location can be moved, like a van or tool box, select Mobile Location.
6. Complete the other fields as appropriate.
7. Click Save.
8. In the Addresses related list, create addresses for the location. The available types of addresses are Mailing, Shipping, Billing, and
Home.
9. In the Files related list, attach files like blueprints, photographs, or registration information.
10. In the Service Territory Locations related list, create records to indicate which service territories the location belongs to. Service
territory locations are warehouses, customer sites, or vehicles that are located or operate in the service territory.
60
Field Service Lightning Set Up Your Field Service Inventory
Important: Before you get started, choose whether to assign serial numbers to product The Field Service Lightning
items for identification purposes. core features, managed
package, and mobile app
• If you assign a serial number, each product item represents a single item in your inventory: are available in Enterprise,
for example, create one product item representing a motor with serial number 012345 Performance, Unlimited,
stored at Warehouse A. Before serializing product items, review the Inventory Management and Developer Editions.
limitations in Field Service Lightning Limits and Limitations. Work orders are also
• If you choose not to assign serial numbers, you can specify a quantity on each product available in Professional
item. Product item quantities auto-update to reflect transfers between locations. Create Edition.
one product item for every location that has the product in stock. For example, create:
– One product item representing 100 batteries stored at Warehouse A USER PERMISSIONS
– One product item representing 15 batteries stored in Service Van 1
To create product items:
• Create on product items
1. From the Product Items tab, click New.
To view product item
2. Use the lookup field to select a product. transactions:
• Read on product items
Tip: To add products to your org, see Guidelines for Creating Products.
To create, update, or delete
3. Use the lookup field to select the location where the product item is stored. Only locations that product item transactions:
have the Inventory Location option selected can be associated with product items. • Edit on product items
4. Enter the Quantity on Hand, which is the amount at this location. If you intend to add a serial
number, this value will likely be 1.
5. If needed, add a unit of measure; for example, grams, packs, or units. These values are inherited from the Quantity Unit of Measure
field on products.
6. If the Quantity on Hand is 1, enter a serial number.
7. Click Save.
The product item now appears in the Product Items related list on the associated location and product records. In addition, the Product
Item Transactions related list on the product item now contains a “Replenished” transaction that tells you when the product item was
created.
If you update a product item, a new product item transaction is created with a type of “Adjusted” and a quantity that is the difference
between the old and new Quantity On Hand. Deleting a product item deletes all related product item transactions.
61
Field Service Lightning Get Ready for Scheduling
62
Field Service Lightning Get Ready for Scheduling
Tip: Update the status names to fit your business by editing the Status picklist values in
Setup. Changing the name doesn’t change a status’s automatic transition behavior.
Here’s how to customize your service appointment life cycle.
1. From the App Launcher, find and open the Field Service Admin app, and then click the Field Service Settings tab.
2. Click Service Appointment Life Cycle.
3. Click SA Status. Select a status value for each description.
4. Save your changes.
5. Click the Status Transitions tab.
6. Each row represents a flow or transition in the service appointment life cycle. Modify the existing flows, delete flows, or add new
ones.
7. Optionally, click More Details to limit the user profiles that can make each status change. You can also select a custom Visualforce
page to display when a user tries to make the status change. The status flow diagram at the bottom of the page shows your status
flows, but doesn’t show profile-based restrictions.
8. Save your changes.
63
Field Service Lightning Get Ready for Scheduling
Tip:
• You can also change this setting on the Customize
Appointment Booking page in Guided Setup.
• Optionally, create a custom Scheduling Policy lookup
field for an object and map it to the object on the
Derivations tab in Global Actions. This way, records of
that object type use the policy you selected rather than
the default policy.
Default operating hours The operating hours that determine the arrival window time slots
that are offered to customers. Each appointment’s scheduled start
falls within the arrival window requested by the customer.
By default, the Gold Appointments Calendar operating hours are
used, which consist of two-hour time slots, Monday–Friday, from
9 AM to 5 PM. You can change the arrival window operating hours
on the Customize Appointment Booking page in Guided
64
Field Service Lightning Get Ready for Scheduling
Ideal grading threshold An appointment’s grade represents its adherence to the scheduling
policy’s service objectives. Enter a value 0–100. When potential
appointments are shown in the Book Appointment action,
appointments with a grade equal to or higher than the ideal
grading threshold have an Ideal flag.
Recommended grading threshold An appointment’s grade represents its adherence to the scheduling
policy’s service objectives. Enter a value 0–100. When potential
appointment times are shown in the Book Appointment action,
appointments with a grade below the ideal grading threshold and
equal to or higher than the recommended grading threshold have
a Recommended flag.
Number of hours for initial appointment search If the difference between the earliest start permitted and due date
is greater than this value, the appointment is displayed in an initial
list while the search continues for additional candidates.
Show grades explanation When this option is selected, clicking the info icon next to an option
shows its score for each service objective in the applied scheduling
policy. These scores are averaged to form the overall score.
Custom CSS (cascading style sheet) To customize the appearance of the Book Appointment and
Candidates actions, enter a name of a CSS file.
Disable service territory picker in appointment booking Hide the service territory field in the Book Appointment action.
Pin three highest graded time slots to the top Highlight the three highest-graded time slots and pin them to the
top of the list in a Golden Slots section.
Open extended view by default Display appointment details in the extended view. When this option
isn’t selected, users must click Show More Options to see the
Earliest Start Permitted and Due Date fields.
65
Field Service Lightning Get Ready for Scheduling
IN THIS SECTION:
Time Zones and Appointment Booking
In large field service operations, the service appointment’s support agent, assigned resource, and customer could all be in different
time zones. Field Service Lightning’s appointment booking process shows each user’s appointment details in their own time zone.
Example:
• The support agent’s time zone is Eastern Time (ET).
• The service resource’s time zone is Mountain Time (MT) on both the user record and the primary service territory.
A customer in Nevada calls the company for an appointment, and the support agent creates a work order. The work order sets
the customer’s service territory to the match the site address. The service territory uses the customer’s time zone—in this case,
Pacific Time (PT).
On the Book Appointment page, the customer selects an arrival window of 1–3 PM. The arrival window is in the customer’s time
zone (PT) because it uses the work order’s service territory’s time zone.
After the appointment is booked, each person involved can view its details in their time zone.
• When the customer (PT) receives an email confirmation, the arrival window is listed as 1–3 PM.
• When the support agent (ET) views the service appointment, the arrival window is listed as 4–6 PM.
• When the assigned resource (MT) checks the schedule in the Field Service Lightning mobile app, the arrival window is listed
as 2–4 PM.
66
Field Service Lightning Get Ready for Scheduling
2. Add the TimeSlot Designated Work work rule to one or more scheduling policies. When the
policy is in use, the scheduling optimizer respects your designated time slot preferences during scheduling.
a. Click the Scheduling Policies tab and select a policy.
b. In the Scheduling Policy Work Rules related list, click New.
c. In the Work Rule field, select New Work Rule.
d. Select Field Service - TimeSlot Designated Work and click Next.
e. Add a name and description.
f. Save your changes.
67
Field Service Lightning Get Ready for Scheduling
If an appointment doesn’t meet the criteria of your designated time slot, the scheduling optimizer won’t schedule it within the time
slot.
68
Field Service Lightning Get Ready for Scheduling
• Predictive travel (beta): Builds on SLR by incorporating time-of-day data into the calculation. Predictive travel is available only if
Enhanced Optimization is turned on. It applies only to optimization operations, so standard scheduling operations like the Book
Appointment and Candidates actions don’t use it.
To set your travel time calculation preferences, open the Field Service Admin app from the App Launcher. Select Field Service Settings >
Scheduling > Routing.
Considerations
• In Field Service Lightning, routing avoids toll roads, which can result in longer travel times.
• When you switch from aerial routing to SLR, scheduling recalculates travel times, including times for already scheduled appointments.
• When SLR is activated, resource travel speed isn’t considered. However, if the calculation returns to aerial routing, travel speed is
considered.
• The Street Level Routing Cache custom object improves SLR calculation time for distances that were calculated in the previous 30
days between two given points. Don’t delete this object.
• The travel time is based on the Driving profile in Google maps and can’t be changed.
• SLR creates a grid of 200-meter squares. Every service appointment within the grid gets the same geolocation for routing purposes.
• When a service appointment is dragged onto the Gantt to be scheduled, the routing calculation depends on the chosen start time.
• If you’re scheduling work using Queueable Apex, use the Database.AllowsCallouts annotation to estimate travel time with SLR. If
you don’t include this annotation, aerial routing is used instead. For more information, see Queueable Apex: More Than an @future.
• The Travel From field on service appointments displays Aerial as the calculation method for all appointments, except for the last
appointment of the day. Because Travel From is calculated only for the last service appointment of the day, its value is zero for every
other appointment. The last appointment of the day is calculated with SLR.
• If a service appointment requires a travel distance of more than 100 kilometers, aerial routing is used.
• Multiday work scheduling doesn’t support SLR and uses aerial routing instead. Predictive travel isn’t supported with complex work.
• Any scheduling action that is triggered in a transaction with data manipulation language (DML) uses aerial routing. When SLR is
enabled and scheduling requires SLR travel results that are not primed locally, you must use a callout to retrieve the results. If DML
occurs in the same transaction as the callout, it causes an exception. To avoid this exception, allow the system to use aerial routing
or ensure that DML is completed in a separate transaction. If you want transactions of this type to cause an exception rather than a
switch to aerial routing, from the App Launcher, find and open the Field Service Admin app, and then click Field Service Settings >
Scheduling. Select Avoid aerial calculation upon callout DML exception.
• Enhanced Optimization can use aerial, SLR, or predictive travel, and can report which routing method was used. If Enhanced
Optimization isn’t activated, optimization can use aerial or SLR, but aerial is reported as the method.
69
Field Service Lightning Get Ready for Scheduling
Example: Let’s say you want to find the best resource to complete a multiday service appointment in San Francisco. Your service
resources in San Francisco have operating hours from 9:00 AM to 6:00 PM, and their Resource Availability Work Rule gives them
30 minutes of travel time to and from appointments.
You need to schedule a multiday service appointment that lasts 10 hours. Given your service resources’ travel and time constraints,
the Dispatcher Console finds the best service resource for the job. In this example, Alan Reed is the service resource who’s most
available for this service appointment.
70
Field Service Lightning Get Ready for Scheduling
The Dispatcher Console automatically takes your service resources’ travel and break times into account to optimize your multiday
appointments.
71
Field Service Lightning Get Ready for Scheduling
4. When you receive a password reset email, click the link and complete the steps to log in as the optimization user.
5. When you’re logged in, click the + icon in the tab bar to see your full list of tabs. Click the Field Service Settings tab.
6. Click Activate Optimization.
7. Click Allow to allow remote site access and be redirected back to Field Service Settings.
8. Log out as the optimization user and log back in with your regular username and password.
Optimization is now active in your org, as seen by the message on the Optimization > Activation page in Field Service Settings. If you
deactivate the optimization user, optimization isn’t available.
72
Field Service Lightning Get Ready for Scheduling
3. From the App Launcher, find and open the Field Service Admin app.
4. Click the Field Service Settings tab, then click Optimization.
5. Activate Enhanced Optimization and click Save.
Scheduling recipes Tackle common scheduling challenges with optimization “recipes” Create Scheduling Recipes for
that adjust your schedule after appointment cancellations, time Common Events
changes, and overlaps. Cover all scenarios by creating multiple
recipes in each category
Predictive travel (beta) Predictive travel builds on Field Service Lightning’s street-level Set Up Routing for Travel Time
routing service by incorporating time-of-day route data into travel Calculations
time estimates.
Shift availability Shifts let you assign workers for time periods that don’t follow a Manage Shifts
recurring pattern.
73
Field Service Lightning Set Up Field Service in Communities
Extended Match work rule The Extended Match work rule type lets you schedule service Work Rule Type: Extended Match
appointments using custom criteria.
If the Fix Overlaps feature is in use, the “Reshuffle other assignments” option is only partially supported for this setting: When unable
to find a valid schedule for an appointment. If more than one appointment is dropped from the schedule during a Fix Overlaps
operation, only one of the appointments is reshuffled.
Note: Linked articles, which are knowledge articles attached to supported field service records, aren’t supported in Lightning
communities.
74
Field Service Lightning Set Up Field Service in Communities
IN THIS SECTION:
Add the Dispatcher Console to a Community
Hand over the dispatching reins to a field service contractor manager by embedding the dispatcher console in a Lightning community.
75
Field Service Lightning Test Your Field Service Configuration with Health Check
Note: Community dispatchers can’t access the complex work feature—for details, see Create Scheduling Dependencies Between
Service Appointments—or Live Gantt updates.
76
Field Service Lightning Test Your Field Service Configuration with Health Check
77
Field Service Lightning Test Your Field Service Configuration with Health Check
4. View your results. To get more information on failed tests, select More Info in the Actions dropdown menu.
78
Field Service Lightning Report on Field Service Lightning
79
Field Service Lightning Report on Field Service Lightning
Maintenance Plans View maintenance plans’ work orders and Maintenance Assets
assets. Work Orders
Product Request Line Items View the transfers related to parts in your Product Transfers
inventory.
Product Requests View the line items and return orders Product Request Line Items
associated with product requests. Return Orders
Product Items
80
Field Service Lightning Report on Field Service Lightning
Return Orders View return orders’ line items. Return Order Line Items
Service Contracts View service contracts’ maintenance plans Field service objects:
and work orders. Maintenance Plans
Work Orders
Service Territories Compare the number and types of service Service Appointments
appointments, work orders, and work Service Territory Members
order line items across service territories,
and view the service resources that belong Service Territory Locations
to each territory. Work Orders
Work Order Line Items
Time Sheets View time sheets’ owners, entries, and Time Sheet Entries
duration.
81
Field Service Lightning Report on Field Service Lightning
82
Field Service Lightning Manage Data Integration Rules for Field Service
Tip: In the Store in Category dropdown menu, we recommend choosing Customer Support Reports or Other
Reports. This is the category where users find the custom report type on the Reports tab. You can also create your own field
service report folder. Make your choices on the Define Report Records Set page.
4. Click Save.
5. As needed, remove and rearrange fields from your report layout.
Salesforce also offers the Field Service Analytics App, which is bundled with the Service Analytics App. To learn more, see The Field
Service Analytics App.
Tip: To view work orders with milestones in your org, use the Object Milestones custom report type. The Milestone Status and
Milestone Status Icon fields are not available in work order reports.
This geolocation data feature, known as “geocoding”, is enabled for all supported field service The Field Service Lightning
objects when you enable Field Service Lightning. The API contains values for the following three core features, managed
fields on work orders, work order line items, service appointments, service territories, resource package, and mobile app
absences, and service territory members: are available in Enterprise,
Performance, Unlimited,
Field Name Description and Developer Editions.
Work orders are also
Latitude The latitude of the street address. available in Professional
Edition.
Longitude The longitude of the street address.
83
Field Service Lightning Manage Data Integration Rules for Field Service
Note: Because Google Maps is restricted in China, Field Service Lightning features that depend on Google Maps don’t work there.
To minimize errors and customize access for users in China, see Disable Google Maps-based Field Service Lightning features for
China users.
Note: If bulk geocoding is turned off for a data integration rule, deactivating or reactivating the rule does not refresh the geocoding
fields. Bulk geocoding is enabled by default.
To keep an eye on the status of a record’s geocoding data:
• In Lightning Experience: On the record, select Check Integration Status in the action menu.
• In Salesforce Classic: Add the Data Integration Rules related list to the detail page layout of the records you’d like to track. The
related list includes:
– The time the record’s geocoding data was last refreshed.
– The record’s geocoding status. To learn what each status means, see Statuses for Data Integration. A status of In Sync means
that your geocoding data is current.
– An Update link that lets you manually run an instant refresh.
84
Field Service Lightning Manage Work Orders for Field Service
85
Field Service Lightning Create Work Orders for Field Service
IN THIS SECTION:
Add Service Resource Preferences to Accounts or Work Orders for Field Service
Designate certain service resources as preferred, required, or excluded on accounts or work orders.
86
Field Service Lightning Create Work Orders for Field Service
Add Required Skills to Work Orders or Work Types for Field Service
Ensure that every field service appointment is assigned to a service resource with the right skills. Add skill requirements to work
types, work orders, and work order line items so they can be checked against a service resource’s assigned skills.
Attach Knowledge Articles to Work Orders or Work Types
Learn how to interact with knowledge articles on work orders, work order line items, and work types.
Guidelines for Creating Work Orders for Field Service
Work orders help you track tasks to be performed on a product. Learn how to create and manage work orders.
Work Order Pricing Guidelines for Field Service
Work orders and work order line items have several price-related settings. Learn about these settings and how to apply them to your
business.
Add Service Resource Preferences to Accounts or Work Orders for Field Service
Designate certain service resources as preferred, required, or excluded on accounts or work orders.
EDITIONS
Work orders inherit their account’s resource preferences. If you don’t want to establish resource
preferences at the account level, add them to individual work orders. To use resource preferences, Available in: Salesforce
the service appointment's parent record must be a work order, not a work order line item. Classic and Lightning
Experience
To enforce resource preferences during schedule optimization, use the Required Resources and
Excluded Resources work rules, which are included in the Customer First scheduling policy. The The Field Service Lightning
Resource Priority service objective also measures an appointment’s adherence to resource preferences core features, managed
of the Preferred type. If you’re not using the Field Service Lightning managed package, resource package, and mobile app
preferences serve as a suggestion rather than a requirement. are available in Enterprise,
Performance, Unlimited,
1. On a work order or account, click New in the Resource Preferences related list.
and Developer Editions.
2. Select a service resource. You can’t add preferences for service resources who are inactive or Work orders are also
dispatchers. available in Professional
Edition.
3. Select a preference type: Preferred, Excluded, or Required.
4. Save your changes.
USER PERMISSIONS
Example:
To view resource
• If your customer had a positive experience with Alicia, a service resource, create a resource preferences:
preference on the customer’s account that designates Alicia as “Preferred” • Read on the parent
• If your customer had a bad experience with Nigel, a service resource, create a resource object (work orders or
preference on the customer’s account that designates Nigel as “Excluded” accounts) AND Read on
service resources
• If your customer purchased a complex piece of equipment that was installed by Evan, a
service resource, create a resource preference on the customer’s account that designates To create, edit or delete
Evan as “Required” resource preferences on
work orders:
The customer’s work orders automatically list those three preferences. This helps the dispatcher • Edit on work orders AND
know to assign their service appointments to Evan and, if a second technician is needed, to Read on service
Alicia if she is available. The dispatcher also knows never to assign the account’s service resources
appointments to Nigel. To create, edit or delete
resource preferences on
accounts:
• Edit on accounts AND
Read on service
resources
87
Field Service Lightning Create Work Orders for Field Service
Add Required Skills to Work Orders or Work Types for Field Service
Ensure that every field service appointment is assigned to a service resource with the right skills.
EDITIONS
Add skill requirements to work types, work orders, and work order line items so they can be checked
against a service resource’s assigned skills. Available in: Salesforce
Adding required skills to work types saves you time and keeps your business processes consistent. Classic and Lightning
Work orders and work order line items inherit their work type’s required skills. For example, a Experience
refrigeration company can add a skill requirement of Refrigerator Maintenance—skill level 50—to
The Field Service Lightning
their Annual Maintenance work type. When an agent creates a work order for their customer’s core features, managed
annual fridge maintenance, selecting that work type on the work order adds the required skill. package, and mobile app
If the Field Service Lightning managed package is installed, you can use Guided Setup to add are available in Enterprise,
required skills to work types. From the App Launcher, find and open the Field Service Admin app, Performance, Unlimited,
and then click the Field Service Settings tab. Then, click Go to Guided Setup, select Create and Developer Editions.
Work Types and Skills, and enter skills in the Skill Requirements field of any work type. Work orders are also
available in Professional
You can also add required skills to work orders, work order line items, or work types from the Skill Edition.
Requirements related list, outside of Guided Setup.
1. Navigate to the record that needs required skills.
USER PERMISSIONS
2. In the Skill Requirements related list, click New.
To view skill requirements:
3. Select a skill. When you’re not using of Guided Setup, skills must be created before they can be
• Read on the parent
added as a requirement; to learn how, see Guidelines for Creating Skills for Field Service. object (work orders or
4. Enter a skill level from 0 to 99.99 based on how your business measures skill level. work types) AND Read
on skills
5. Click Save. The skill now appears in the Skill Requirements related list on the record.
To create, edit or delete skill
You can enforce skill requirements during schedule optimization using the Match Skills work rule.
requirements on work
This rule ensures that appointments are assigned only to service resources who possess the required orders or work order line
skills listed on the parent record. If you’re not using the Field Service Lightning managed package, items:
skill requirements serve as a suggestion rather than a rule.
• Edit on work orders AND
Read on skills
To create, edit or delete skill
requirements on work types:
• Edit on work types AND
Read on skills
88
Field Service Lightning Create Work Orders for Field Service
Detach an Article
Detach articles from the Articles related list or Knowledge One console widget in Salesforce Classic, and from the Knowledge component
in Lightning Experience.
89
Field Service Lightning Create Work Orders for Field Service
Tip: Add work orders to the console to manage work orders and their associated records in one place.
90
Field Service Lightning Create Work Orders for Field Service
To see who has access to a work order, click Sharing on the work order’s detail page. Work order line items inherit their parent work
order’s sharing settings. To learn more, see Limit Access to Field Service Records.
Subtotal (Read only) The total of the work order line items before discounts
and taxes are applied.
Total Price (Read only) The total of the work order line items’ price after
discounts but before tax is added.
Grand Total (Read only) The total price of the work order with tax added.
Price Book The price book associated with the work order. Adding a price book
to the work order lets you link each work order line item to a product
included in the price book.
Tax The total tax on the work order in a currency format. (Do not enter
a percentage.) For example, in a work order whose total price is
$100, enter $10 to apply a 10 percent tax. You can enter a number
with or without the currency symbol and you can use up to two
decimal places.
91
Field Service Lightning Create Work Orders for Field Service
Subtotal (Read only) The line item’s unit price multiplied by the quantity.
Total Price (Read only) The line item’s subtotal with discounts applied. This field is blank until you add a
unit price and save the line item.
List Price (Read only) The price of the line item (product) as listed in its corresponding price book entry.
If a product isn’t selected, the list price defaults to zero.
Note: When you select a product to link to the line item, you can see the product’s
list price next to its name and ID in the lookup window. The list price field populates
when you save the line item.
Product The name of the product associated with the line item. The lookup only lists products that
are included in the parent work order’s price book. When you select a product and save the
line item, the following fields are populated on the line item:
• List Price
• Unit Price
• Subtotal
• Total Price
Note: Inline editing isn’t supported on the Product field. To change the product on
a line item, click Edit. Adding a product updates the list price, unit price, subtotal, and
total price based on the related entry in the work order’s price book.
Unit Price By default, the unit price for a work order line item is the line item’s list price from the price
book, but you can change it.
92
Field Service Lightning Create Maintenance Plans
8. In the Generation Timeframe and Generation Timeframe Type fields, enter how far in advance you want work orders to be generated
at one time.
For example, to generate 3 months’ worth of work orders at a time, enter 3 and select Months.
93
Field Service Lightning Create Maintenance Plans
9. Enter the date of the first work order in the next batch, which corresponds to the work order’s Suggested Maintenance Date.
For example, if you want the first maintenance visit to take place on May 1, enter May 1. When you generate work orders, the earliest
work order shows a Suggested Maintenance Date of May 1. The dates on the later work orders are based on the Generation Timeframe,
Frequency, and End Date settings. After each batch is run, if the maintenance plan includes assets, this field auto-updates only on
the maintenance assets. This auto-update is because batch timing is calculated at the maintenance asset level.
10. Optionally, enter the days for the maintenance window start and end. These settings impact the Earliest Start Permitted and Due
Date fields on the maintenance plan’s work orders’ service appointments. If the maintenance window fields are left blank, the service
appointment date fields list their work order’s suggested maintenance date.
For example, enter 3 for both the maintenance window start and end. The Earliest Start Permitted and the Due Date will be, respectively,
3 days before and 3 days after the Suggested Maintenance Date on each work order.
11. To automatically generate a batch of work orders when the current batch nears completion, select Auto-generate work orders.
If this option isn’t selected, you must click Generate Work Orders on the maintenance plan to generate a new batch.
A separate work order is created for each maintenance asset for each maintenance date. Therefore, batch size reflects the generation
timeframe, frequency, and number of assets covered by the plan. For example, if the plan covers two assets and has a generation
timeframe of 2 months and a frequency of 1 month, four work orders are generated at a time.
12. If you selected the option to auto-generate work orders, you can add details about when new batches are generated:
• To move up the timing of batch generation, enter a generation horizon. For example, a generation horizon of 5 means that a
new batch of work orders is generated 5 days before the maintenance plan’s Date of the first work order in the next batch. If
you don’t specify a generation horizon, it defaults to zero.
• If you don’t want a new batch of work orders to be generated until the final work order in the current batch is completed, select
Generate new batch upon completion. A work order is considered completed when its status falls into one of the following
status categories: Cannot Complete, Canceled, Completed, or Closed.
13. If more than one asset is associated with this maintenance plan, select a Work Order Generation Method: one work order for each
asset or one parent work order with a work order line item for each asset.
14. If work order generation method is One work order line item per asset, select a Service Appointment Generation Method: one
service appointment for the parent work order or one service appointment for each work order line item.
To learn more about work order and service appointment generation, see How do generation methods work?.
Tip: To control which fields appear in the related list, edit the Maintenance Assets page layout in Setup.
18. If you didn’t select the option to auto-generate work orders, click Generate Work Orders on the maintenance plan to generate a
batch of work orders. Otherwise, they’re automatically generated for you.
Generation can’t create a combined total of more than 2,500 work orders and work order line items at a time. To decrease the number
of work orders and work order line items generated, make one of these changes:
• Increase the Frequency value
• Decrease the Generation Timeframe value
• Remove assets from the maintenance plan
94
Field Service Lightning Create Maintenance Plans
IN THIS SECTION:
Guidelines for Generating Work Orders from a Maintenance Plan
Maintenance plans offer a quick way to automate the creation of work orders for periodic maintenance visits. Learn how to generate
work orders from a maintenance plan.
Note: If both Auto-generate work orders and Generate new batch upon completion are selected, Salesforce doesn’t generate
a new batch of work orders for a maintenance asset until the final work order for that asset in the current batch is completed. If
95
Field Service Lightning Create Maintenance Plans
one maintenance asset’s final work order is completed but another’s is stalled, work orders are generated only for the first
maintenance asset. This results in a staggered batch generation schedule for the maintenance plan.
Tip: To provide guidance on which asset to service first, second, and so on, create guided actions, or flows, in the parent work
order.
If Work Order Generation Method is left as None, the generation is defaulted to one work order per asset.
If Work Order Generation Method is set to One work order per asset, you
can’t set a Service Appointment Generation Method
Each asset creates a work order. If a work type is associated with auto-create
service appointment enabled, a service appointment is created for each work
order.
Example: A maintenance plan with four assets, a generation time frame of six
months, and a frequency of one month produces:
• Four work orders a month, 24 work orders for six months.
• A service appointment for each work order, if the auto-create service
appointment is enabled on an associated work type.
96
Field Service Lightning Manage Shifts
Invalid: If Work Order Generation Method is set to One work order line
item per asset, you must select a Service Appointment Generation Method.
One parent work order is created, a work order line item is created for each asset,
and one service appointment is created for the parent work order, even if the
associated work type doesn’t have auto-create service appointment enabled.
Example: A maintenance plan with four assets, a generation time frame of six
months, and a frequency of one month produces:
• One work order each month, six work orders for six months.
• Four work order line items on each work order.
• A service appointment for each parent work order, one per month, six for
six months.
One parent work order is created, a work order line item is created for each asset,
and one service appointment is created for each work order line item, if the
associated work type has auto-create service appointment enabled for work
order line items.
Example: A maintenance plan with four assets, a generation time frame of six
months, and a frequency of one month produces:
• One work order each month, six work orders for six months.
• Four work order line items on each work order.
• If auto-create service appointment for work order line item is enabled on
the work type, a service appointment for each work order line item, four
service appointments per month, 24 for six months.
Important: If your existing maintenance plans have work orders or work order line items associated with them, you can’t change
their generation methods. To change pre-existing maintenance plan generation methods, either delete the work orders and
regenerate them or delete the maintenance plan and recreate it with the needed generation methods.
Manage Shifts
Shifts in Field Service Lightning let you define variable working periods for your shift-based workforce, such as contractors or on-call
staff. Create shifts for particular dates and times when you need coverage, and assign them to service resources. When the managed
package is installed, scheduling and Enhanced Optimization consider workforce availability during shifts.
97
Field Service Lightning Create Flexible Work Shifts
IN THIS SECTION:
Create Flexible Work Shifts
Create shifts that vary from day to day or week to week. Shifts let you assign workers for time periods that don’t follow a rigid pattern,
such as rotating on-call duties or occasional overtime.
View Your Shift Schedule
Identify which shifts are covered, and which ones still require a worker to confirm that they’re available. The list view for shifts lets
you examine upcoming shifts and their status. Switch to the schedule view to see shifts grouped by service territory or job profile
in a calendar.
Guidelines for Shift Availability
Learn how to define valid shifts and show when your workers are available for shift work. Shifts can work alone or alongside operating
hours and service territory memberships to define workforce availability.
USER PERMISSIONS
98
Field Service Lightning Create Flexible Work Shifts
c. Enter dates and times for the shift's start and end.
d. Optional: Optionally, select a service territory and a service resource.
If you assign a service territory to the shift, the assigned service resource must be a member of the service territory.
e. Optional: Optionally, for Time Slot Type, select the type of working hours included in the shift. Normal hours fall within the service
resource's normal working hours, while extended fall outside those hours (for example, overtime hours).
f. Optional: Optionally, choose a job profile that defines the skills required to work during this shift.
4. Click Save.
99
Field Service Lightning View Your Shift Schedule
USER PERMISSIONS
• To see a calendar of shifts that are assigned to each job profile, click the Shifts tab.
To view, create, and update
• To see a calendar of shifts that are assigned to each service resource, click the Resources
a shift
tab.
• View, create, and edit on
Shifts, Job Profiles,
Service Territories,
Service Resources,
Service Territory
Memberships
Keep the following considerations in mind when you work with shifts.
• If the managed package is installed, availability for confirmed shifts appears on the Gantt.
• In the Shifts tab, you can't use the quick search box to filter.
100
Field Service Lightning Guidelines for Shift Availability
• The NOT operator isn't supported when you define filter logic for shifts. If your filter logic uses NOT, we recommend adjusting the
filter type instead, for example by using the does not contain operator.
• You can create a shift from the schedule view by hovering in an empty space and clicking + New Shift.
101
Field Service Lightning Guidelines for Shift Availability
102
Field Service Lightning Manage Service Resources
103
Field Service Lightning Get Started with Time Sheets (Beta)
Note: As a beta feature, time sheets are a preview and aren’t part of the “Services” under your master subscription agreement
with Salesforce. Use this feature at your sole discretion, and make your purchase decisions only on the basis of generally available
products and features. Salesforce doesn’t guarantee general availability of this feature within any particular time frame or at all,
and we can discontinue it at any time. This feature is for evaluation purposes only, not for production use. It’s offered as is and isn’t
supported, and Salesforce has no liability for any harm or damage arising out of or in connection with it. All restrictions, Salesforce
reservation of rights, obligations concerning the Services, and terms for related Non-Salesforce Applications and Content apply
equally to your use of this feature. You can provide feedback and suggestions for time sheets in the Field Service Lightning group
in the Trailblazer Community.
104
Field Service Lightning Get Started with Time Sheets (Beta)
IN THIS SECTION:
Create Time Sheet Templates (Beta)
You can automatically create time sheets from a template so that service resources can track their time and work. Specify the time
period each time sheet covers, such as a week or month, and track specific tasks, travel time, and break time. Time sheets are created
one day before their start date. You can only create time sheets for service resources of the type Technician.
USER PERMISSIONS
105
Field Service Lightning Get Started with Time Sheets (Beta)
• For Label, enter a descriptive name for the template so that you can distinguish it from others.
• For API Name, enter an API name for the template, which uses underscores instead of spaces.
• For Start Date, enter the date that you want the time sheet template to take effect. Because the time sheet autocreation job runs
once per day, we recommend setting a start date that is at least 24 hours in the future.
• For Frequency, select the time range that you want each time sheet to cover. New time sheets are automatically created on the
frequency you specify. For example, if you select Daily, a time sheet is created every day. If you select Monthly, each time sheet
covers an entire month, beginning on the start date that you entered.
• For Work Week Start Day, select the day that you want each work week to begin on.
• For Work Week End Day, select the day that you want each work week to end on.
• Enter a description for the time sheet template.
• Mark the time sheet template as Active.
Important: Time sheets are automatically created only if the template is marked Active.
106
Field Service Lightning Get Started with Time Sheets (Beta)
The template name appears next to each profile that you assigned it to.
To confirm that time sheets were created successfully, navigate to Time Sheets in the App Launcher, and create list view filters. If the
autocreation process can’t create a time sheet, it doesn’t retry. If a time sheet isn’t created as expected, you can manually create it.
Important: Editing the frequency of an existing time sheet template isn't recommended. To avoid errors, first deactivate the
existing template. Then create a template with the correct frequency, mark it as active, and assign it to the desired user profiles.
Considerations for time sheet templates:
• If you add a required custom field that uses custom values, time sheets aren't automatically created.
• Using the same work week start day and work week end day results in a work week that is one day long.
• The Twice a month frequency uses days 1–15 as the first half of the month and days 16–31 as the second half of the month.
• Start date defines the day your time sheet begins. So if your time sheet template's start date is on a Tuesday, your work week start
day is Monday, and you set the frequency to every two weeks, the first time sheet starts on Tuesday. The time sheet autocreation
job creates the first batch of time sheets when it runs on Monday. Thereafter, time sheets start on Mondays, and they are automatically
created when the job runs on Sundays.
• Time sheet templates aren't included in updates to the managed package.
Note: As a beta feature, time sheets are a preview and aren’t part of the “Services” under your master subscription agreement
with Salesforce. Use this feature at your sole discretion, and make your purchase decisions only on the basis of generally available
products and features. Salesforce doesn’t guarantee general availability of this feature within any particular time frame or at all,
and we can discontinue it at any time. This feature is for evaluation purposes only, not for production use. It’s offered as is and isn’t
supported, and Salesforce has no liability for any harm or damage arising out of or in connection with it. All restrictions, Salesforce
reservation of rights, obligations concerning the Services, and terms for related Non-Salesforce Applications and Content apply
equally to your use of this feature. You can provide feedback and suggestions for time sheets in the Field Service Lightning group
in the Trailblazer Community.
107
Field Service Lightning Create Service Resource Absences for Field Service
4. Enter a start and end time and description. To add or edit picklist values:
• Customize Application
5. *Optionally, add a Gantt label. The Gantt label appears on the absence in the Gantt. For
example, Bahamas or Driver Training. (We know which option we’d choose…) To customize the Field
Service Lightning managed
Note: Gantt labels aren’t visible on Break resource absences. package:
• Customize Application
6. Optionally, enter an address, such as a training location. For absences that don’t span an
entire shift—like a morning medical appointment—the absence address is used to
determine travel time to and from adjacent service appointments. Appointments aren’t scheduled during dedicated travel time.
*If the Field Service Lightning managed package isn’t installed, you don’t see options to select a record type or enter a Gantt label.
The Gantt shows breaks to the left of travel to appointments. If a break is planned during travel time, optimization can still schedule the
appointment. The resource can drive, take the break at the specified time, and then complete the travel.
Non Availability absences are shown on the Gantt with a “no entry” icon, while Break absences are shown with a teacup icon. Update
the Gantt Color field on a resource absence to customize its color on the Gantt.
Note: If a service resource of type Crew has resource absences, those absences are considered in scheduling and shown on the
Gantt. Absences associated with individual crew members’ corresponding service resources aren’t considered.
108
Field Service Lightning View a Service Resource’s Daily Travel Route
At the top of the map, select which date to show, and choose one or more types of data to display: Route (shown in blue), Actual Route
(shown in pink), and Traffic. The actual route can be shown only if history tracking is set on the service resource’s Last Known Location
field and geolocation tracking is turned on for them.
The truck icon signifies an appointment. The X icon signifies a resource absence with a valid address, meaning its latitude and longitude
can be calculated.
Note: To show or hide resource absences on the map, from the App Launcher, find and open the Field Service Admin app, and
then click Field Service Settings. Then, click Dispatcher Console UI > Gantt Configurations and select or deselect Show
absences on resource map.
On the right-hand side of the map, you can show or hide the route details pane. To zoom in on an appointment, hover over the
appointment number in the pane and click Center on Map.
109
Field Service Lightning View a Service Resource’s Calendar
Note: If a service resource has more than 23 stops in a period of 24 hours (including starting point, ending point, appointments,
and absences), the resource map shows only the first 23 stops on the route and displays an error. This is a Directions API limitation.
USER PERMISSIONS
110
Field Service Lightning View a Service Resource’s Calendar
2. To color-code resource absences on the calendar, update the Gantt Color field on resource absences with a 6-digit hex code.
This field lets you represent different types of absences with different colors—for example, lunch breaks in red and internal meetings
in green.
111
Field Service Lightning Manage Service Crew Membership
USER PERMISSIONS
112
Field Service Lightning Manage Service Crew Membership
2. Open the crew management tool by clicking the Crew Management tab or opening the Lightning page that contains it.
Note: If you have trouble finding it, ask your admin to follow the steps in Set Up Crew Management and let you know where
the tool is located.
113
Field Service Lightning Manage Service Crew Membership
Hover over a service crew membership in the chart to view the membership start and end dates. Crew leaders appear with a star.
Double-click an appointment to open a window that shows the appointment’s fields and its parent record’s fields and related records.
Find the Right Crew Member
If the territory filter is visible in the sidebar, click the map icon to hide it and show the service resource list. The sidebar shows service
resources who are members of the selected service territories during the dates shown on the chart.
• Click a service resource’s name in the sidebar to view their skills, service territory membership, and service crew membership.
Click the card icon to the right of their name to view the service resource record.
• Select a scheduling policy using the Policy dropdown menu.
• Filter service resources by skill in one of two ways:
– Click the filter icon in the resource list to select skills to filter for.
– Click Match Crew Skills on a crew to show only service resources with the skills listed on the crew’s service resource record
of type Crew.
114
Field Service Lightning Manage Service Crew Membership
• If an appointment shows missing skills or members, right-click the appointment and click Get Candidates to filter the resource
list based on skills, availability, and operating hours. If the crew just needs members, all available resources are shown. If skills
are missing, available service resources with the missing skills are shown first. Select one or more resources and click Assign
Selected to add them to the crew for the appointment’s time frame.
115
Field Service Lightning Manage Service Crew Membership
116
Field Service Lightning Manage Service Appointments
117
Field Service Lightning Create Service Appointments for Field Service
Note:
• Service resource who are dispatchers can’t be assigned to service appointments.
• In the Gantt, service appointments are labeled using their appointment number. To
customize a service appointment's label, fill in the Gantt Label field on the appointment
record.
• If an assignment is made during scheduling or optimization—Field Service Lightning
managed package features—assigned resource records are automatically created.
• If an appointment has more than one assigned resource, only the first created assigned
resource is recognized in scheduling and in the dispatcher console. However, if the
appointment is assigned to a service resource of type Crew, assigned resource records
118
Field Service Lightning Create Service Appointments for Field Service
are auto-created for the crew members, and the assignment details are displayed correctly in the dispatcher console.
5. When the technician completes the appointment, have them fill out the Actual Times section to indicate when the appointment
started and ended. In addition, they can enter the minutes it took to travel to the appointment in the Actual Travel Time field on
their assigned resource record.
If Auto-Create Service Appointment is selected on a work type, a service appointment is created when a work order or work order
line item lists that work type. For details, see Create Work Types for Field Service.
IN THIS SECTION:
Guidelines for Creating Service Appointments for Field Service
A service appointment tracks field service work to be performed for a customer, and is typically associated with a work order or work
order line item. Learn how to create and manage service appointments.
119
Field Service Lightning Schedule Service Appointments for Field Service
Schedule Appointments from the Record Feed The Field Service Lightning
Use the Book Appointment or Candidates Chatter actions to schedule and reschedule service core features, managed
appointments for work orders, work order line items, accounts, assets, leads, and opportunities, package, and mobile app
or from a service appointment itself. To reflect different visits, you can schedule one or more are available in Enterprise,
service appointments for a record. Performance, Unlimited,
and Developer Editions.
Schedule Appointments from the Dispatcher Console Work orders are also
You can schedule service appointments from the Field Service Lightning dispatcher console available in Professional
by using the mass schedule action or by dragging them onto the Gantt. Edition.
Schedule an Appointment Automatically
Schedule an appointment in a hurry with Auto Schedule—right from the appointment itself.
Auto Schedule finds the best available slot based on your scheduling policy.
Create Scheduling Dependencies Between Service Appointments
To stay on top of complex projects, create scheduling dependencies between related service appointments. For example, ensure
that a particular appointment can’t start until a related appointment is complete.
Schedule Emergency Appointments
Swiftly schedule, dispatch, and track emergency appointments with the help of a real-time map view. The Emergency Chatter action
on a service appointment shows a map view of your closest field resources so that you can dispatch work immediately.
Schedule Higher Priority Appointments over Less Urgent Appointments
Give critical service appointments precedence over lower priority appointments. Scheduling overlaps lower priority appointments
with services that you specify as high-priority.
Update an Appointment’s Status
You can schedule or unschedule an appointment by updating its status. An appointment’s status can be updated from several places
in Salesforce.
120
Field Service Lightning Schedule Service Appointments for Field Service
121
Field Service Lightning Schedule Service Appointments for Field Service
b. To view a graded list of available arrival windows, click Get Appointments. The list considers all scheduling constraints, such
as the current schedule and work rules, and is graded according to the service objectives. Depending on your appointment
booking settings, arrival windows can be flagged as Ideal or Recommended or shown in yellow to indicate a prime window. To
see how each window ranks against the scheduling policy’s service objectives, click its information icon.
c. To view a wider range of service appointment dates, click Extend Dates.
d. To create the service appointment, select an arrival window. You can then view its details.
8. To rerun the search using a different scheduling policy than the default policy, select a policy in the Change Scheduling Policy
field.
Book Appointment Window
Candidates Window
122
Field Service Lightning Schedule Service Appointments for Field Service
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, booking an appointment from an asset record creates a related work order and service
appointment.
Customize the drag settings from the Field Service Admin app.
123
Field Service Lightning Schedule Service Appointments for Field Service
1. From the App Launcher, find and open the Field Service Admin app, and then click the Field Service Settings tab.
2. Click Dispatcher Console UI.
3. In the Drag jumps on Gantt field, enter the minutes segment. For example, if you enter 15, you can drag an appointment into slots
starting at 0, 15, 30, and 45 minutes after the hour.
4. Save your changes.
124
Field Service Lightning Schedule Service Appointments for Field Service
125
Field Service Lightning Schedule Service Appointments for Field Service
d. If you want related service appointments to always be scheduled in the same scheduling operation, select Use all-or-none
scheduling for related appointments. This setting prevents two service appointments with a dependency between them
from being scheduled separately. It doesn’t apply to chains of three or more appointments.
2. Customize the service appointment page layout to show complex work features.
a. In the layout editor, open the service appointment page layout.
b. Add a single-column section to the layout. Name it Scheduling Dependencies or something similar.
c. Select Visualforce Pages and drag the vf739_ComplexWork page to the new section.
d. Click the wrench icon on the Visualforce page to display its properties. Set the height in pixels to 600.
e. Remove the following fields from the service appointment page layout. These fields were used before complex work was available,
and aren’t needed. If these fields appear in their own section, remove the section.
• Time Dependency
• Same Resource
• Same Day
• Related Service
3. From the Object Manager in Setup, open the Appointment Dependency object. Under Fields & Relationships, select the
Dependency field. Activate the dependency values that you want to be available for complex work.
Create Dependencies
You can create dependencies between two or more existing service appointments. Each appointment’s parent record must be a work
order.
1. On a service appointment detail page, find the Scheduling Dependencies section.
2. Select two appointments to relate to each other.
3. Select a dependency type:
• Same Start: The appointments must start together.
• Start After Finish: One appointment cannot start until the other is completed.
• Start After Finish and Same Day: One appointment cannot start until the other is completed, and they must be scheduled for
the same day.
• Immediately Follow (beta): The appointments must be scheduled back-to-back on the same day without any interruption, and
they must be scheduled to the same resource.
126
Field Service Lightning Schedule Service Appointments for Field Service
After the agent adds the dependency, it’s visible in a diagram and in a list at the bottom of the Scheduling Dependencies section.
You can now schedule the appointments. Appointments with dependencies can be scheduled in the usual ways—scheduling quick
actions, the dispatcher console, and optimization—or by clicking Schedule Appointments in the Scheduling Dependencies section.
IN THIS SECTION:
Considerations for Scheduling Dependencies
Keep these considerations in mind when you schedule dependencies between service appointments.
127
Field Service Lightning Schedule Service Appointments for Field Service
128
Field Service Lightning Schedule Service Appointments for Field Service
3. If you’re having trouble finding a candidate, select a different scheduling policy directly on the map or modify your emergency
booking settings.
Tip:
• If you want a candidate to complete their current appointment before heading to the emergency appointment, change the
dispatcher setting on the map from “as soon as possible” to “after current Service Appointment”. Changing this setting updates
the candidates’ ETA.
• Click Candidates to view a list of all candidates organized by ETA. Hover over a resource name in the list to see options to
dispatch them or view them on the map.
• Quickly spot emergency appointments in the Gantt by looking for the lightning icon.
Last known location validity The number of minutes after which a data breadcrumb—like
resource location or geolocation—is no longer valid. For example,
if the breadcrumb validity is 20 minutes and the Last Known
Location of resource X was last updated 30 minutes prior, the
emergency dispatcher calculates the resource’s ETA based on the
location of the last appointment they completed, or (if no
appointments were completed that day) their home base. The
129
Field Service Lightning Schedule Service Appointments for Field Service
Emergency search timeframe The amount of time you have to resolve the emergency, not
counting the appointment duration. The Earliest Start
Permitted on the appointment is set to the current time, and
the Due Date is the current time + appointment duration +
Emergency Search Timeframe.
For example, if an appointment requires 1 hour of work and the
Emergency Search Timeframe is 360 minutes (6 hours), the
emergency wizard shows only resources who can travel to and
complete the task in the next 7 hours.
Emergency Chatter Post Destination Choose whether the Chatter post notifying the assigned resource
about the appointment is added to the appointment’s feed or its
parent record’s feed.
Note: If the Emergency Chatter action is used for an appointment with a scheduling dependency, the dependency isn’t considered
during scheduling.
130
Field Service Lightning Schedule Service Appointments for Field Service
To set up scheduling
priorities and customize the
service appointment page:
• FSL Admin Permissions
custom permission set
To schedule an appointment
over lower priority
appointments: One of these
custom permission sets:
• FSL Admin Permissions
• FSL Agent Permissions
• FSL Dispatcher
Permissions
131
Field Service Lightning Schedule Service Appointments for Field Service
Example: To schedule an urgent break-fix, create a work order and set its priority to 1. Open the related service appointment,
and click Schedule over lower priority appointment. Then, in the dispatcher console, select the critical break-fix
appointment from the appointment list. You can use any of the scheduling actions, such as Book Appointments or get Candidates.
Scheduling ignores lower priority appointments, even if an overlap results. For example, when you click Candidates, the Gantt
shows available time slots, including slots that overlap lower priority appointments. For an appointment with a priority of 2 (High),
scheduling considers slots that overlap appointments with a priority of 3 (Medium), 4 (Low), or a higher value.
When scheduling considers slots for the appointment, it protects already scheduled appointments that have Schedule over
lower priority appointment set.
After scheduling the appointment, resolve any overlaps. You can create a scheduling recipe to fix them, or use Fix Overlaps or In-Day
optimization.
Although optimization doesn’t use Schedule over lower priority appointment, it does consider the priority field.
132
Field Service Lightning Unschedule Service Appointments
• From the Feed tab, click the Change Status Chatter action and select a status. Only status
values that are permitted in your service appointment life cycle settings are shown.
• Manually update the appointment’s Status field. All status values are shown, but the status change works only if it follows your
service appointment life cycle settings.
133
Field Service Lightning Reschedule Service Appointments
134
Field Service Lightning Fix Scheduling Overlaps
When unable to find a valid schedule for an • Leave on Gantt and set
appointment In-jeopardy: If an appointment can’t
be rescheduled without breaking work rules,
leave the appointment in its original time
slot with an In Jeopardy flag.
• Unschedule the
appointment(s): If an appointment
can’t be rescheduled without breaking work
rules, unschedule the appointment and
remove it from the Gantt.
• Reshuffle other assignments:
If an appointment can’t be rescheduled
without breaking work rules, use the
Reshuffle action. This action reschedules
appointments to favor high-priority
appointments. To learn more, see
Reschedule Service Appointments.
135
Field Service Lightning Group Nearby Appointments
Considerations
• Fix Overlaps respects the original order of scheduled appointments. The earliest appointment remains the earliest and the last
remains last.
• If an appointment is pinned, Fix Overlaps doesn’t reschedule it. However, appointments with a pinned status can be rescheduled.
• Fix Overlaps reschedules appointments only within the given day. If the operation progresses to use the Reshuffle action, appointments
can be rescheduled to another day.
• Fix Overlaps doesn't run on past service appointments.
• Fix Overlaps isn’t supported for capacity-based resources.
• Fix Overlaps doesn't update service appointment status.
• When a service appointment is scheduled by Fix Overlaps, the appointment’s Schedule Mode is set to Automatic.
Work Order candidate Boolean field Select any standard or custom checkbox field,
including formula fields. If a service
appointment’s parent record is a work order,
this field must be selected (set to True) for the
appointment to be a candidate in appointment
grouping.
Work Order Line Item candidate Boolean field Select any standard or custom checkbox field,
including formula fields. If a service
appointment’s parent record is a work order line
item, this field must be selected (set to True) for
the appointment to be a candidate in
appointment grouping.
136
Field Service Lightning Group Nearby Appointments
Setting Description
this many candidate appointments. The maximum is 50
appointments.
Max runtime (seconds) The scheduling engine spends this many seconds searching for
nearby service appointments. The maximum is 60 seconds. The
search ends after either the max runtime or max appointments to
schedule is reached.
When attempting to schedule the unscheduled service after the • Schedule to original resource only: Assign rescheduled
nearby services appointments only to the original assigned resource.
• Schedule to all resources: Consider all qualified service
resources when rescheduling appointments.
Radius for nearby appointments The radius around the originating service appointment, which
determines the number of appointments affected by Group Nearby
Appointments. The distance unit—kilometers or miles—is set on
the Routing tab in the Scheduling section of Field Service Settings.
After customizing your appointment grouping settings, right-click an appointment on the Gantt and select Group Nearby.
Considerations
• In order to run Group Nearby Appointments successfully, service appointments must have the same address as their parent work
order.
• Group Nearby Appointments uses the parent work orders' latitude and longitude values.
• In Group Nearby Appointments, only unscheduled service appointments can be candidates.
• Group Nearby Appointments only schedules appointments within the given day, which is the first day on the Gantt.
• By default, the Is Fill In Candidate field on service appointments, work orders, and work order line items is selected. This means that
all service appointments are considered as candidates when grouping appointments.
• When a service appointment is scheduled by Group Nearby Appointments, the appointment’s Schedule Mode is set to
Automatic.
137
Field Service Lightning Fill Schedule Gaps
Work Order Candidate Boolean field Select any standard or custom checkbox field,
including formula fields. If a service
appointment’s parent record is a work order,
this field must be selected (set to True) for the
appointment to be a candidate in fill-in
scheduling.
Work Order Line Item Candidate Boolean field Select any standard or custom checkbox field,
including formula fields. If a service
appointment’s parent record is a work order line
item, this field must be selected (set to True) for
the appointment to be a candidate in fill-in
scheduling.
138
Field Service Lightning Customize Service Appointment Chatter Settings
Setting Description
Max runtime (seconds) The scheduling engine spends this many seconds searching for
nearby service appointments. The maximum is 60 seconds. The
search ends after either the max runtime or max appointments to
schedule be reached.
Considerations
• Fill-In Schedule only schedules appointments for the given day, which is the first day shown on the Gantt.
• By default, the Is Fill In Candidate field on service appointments, work orders, and work order line items is selected. This means that
all service appointments are considered as candidates when filling in a schedule.
You might want to limit which appointments are considered as candidates. For example, perhaps repair appointments require a
phone booking before a technician is sent to the site. To limit candidate appointments, try one of the following approaches.
– Using Process Builder or an Apex trigger, set the value of the Is Fill In Candidate field to False if specified criteria aren’t met.
– Create a checkbox formula field that evaluates whether a record is a candidate. Then, change the three settings that control
which fields are evaluated when searching for candidates so that your custom field is considered instead of Is Fill In Candidate.
• If candidate appointments are sorted by distance, appointments without a geolocation are sorted last.
• Only unscheduled appointments or appointments that are scheduled on a future date are considered as candidates.
• When a service appointment is scheduled by Fill-In Schedule, the appointment’s Schedule Mode is set to Automatic.
139
Field Service Lightning Dispatch Service Appointments
Tip: To turn on in-app notifications for mobile app and Lightning Experience users, see Enable Field Service Lightning.
140
Field Service Lightning Dispatch Service Appointments
Example: Create a job that runs daily at 6AM and dispatches resources in Los Angeles for appointments that are In Jeopardy.
The job dispatches resources with a primary or relocation service territory membership of Los Angeles for the selected In Jeopardy
appointments.
141
Field Service Lightning Manage Your Field Service Inventory
142
Field Service Lightning Common Inventory Management Tasks
Transfer Inventory
To fulfill a product request, create a product transfer. Product transfers track the movement of inventory from one field service location
to another. The inventory numbers at your storage locations update automatically to reflect transfers.
Track Inventory Consumption
Create products consumed to track the use or consumption of items from your inventory.
Track Inventory Shipments
To track product items while they’re in transit between locations, create shipments. Shipments contain information about the
products on board, the shipping carrier, and the expected delivery date.
Track Customer Returns
Create return orders to facilitate the return and repair of items that were sold to customers or supplied to field service technicians.
Find out the Look at the Product Items related list To learn the number of wheelbarrows
quantity of a on the product record. in your inventory and their locations,
particular part Helpful links: look at the Product Items related list
across all on the Wheelbarrow product record.
inventory • Create Product Items to Represent
locations Inventory
Review changes Look at the Product Item Transactions To review the use, transfer, and
to the stock of a related list on the product item. restock of extra-large bolts at
particular product Helpful links: Warehouse C, look at the Product Item
at a particular Transactions related list on the
location • Guidelines for Transferring product item whose Product is
Inventory Extra-Large Bolt and Location is
Warehouse C.
143
Field Service Lightning Common Inventory Management Tasks
Request more parts from Create a product request to indicate what’s needed. To request a restocking of 20 boxes of nails and 10
another inventory Create a product request line item for each product hammers for your service vehicle, Van A, create a
location when my stock requested. product request for the Van A location. Include one
gets low Helpful links: product request line item for the nails, and another
for the hammers.
• Request Inventory
Transfer parts between 1. Create a product transfer. Make sure to specify To transfer 25 tires from Warehouse A to Warehouse
inventory locations the quantity, source location, destination B, create a product transfer with these settings:
location, and source product item (which • Source Location: Warehouse A
represents the stock that the items are being • Source Product Item: Warehouse A Tires
transferred from).
• Destination Location: Warehouse B
2. Create a shipment to track the transfer’s shipping • Quantity: 25
details.
• Quantity Unit of Measure: Each
3. Mark the product transfer received when the
Create a shipment to track the shipping details for
items arrive.
the tire transfer.
Helpful links:
Select Received on the product transfer when the
• Transfer Inventory tires arrive at Warehouse B.
• Guidelines for Transferring Inventory
Transfer parts from an 1. Create a product request, listing the outside To transfer 20 safety glasses from your safety
outside vendor to an vendor as the account. equipment provider to Service Van A, create a
inventory location product request that lists your outside vendor as the
2. Create a product transfer. Make sure to specify Account. Then, create a product transfer with these
the quantity, destination location, and product. settings:
3. Create a shipment to track the transfer’s shipping • Product: Safety Glasses
details.
• Destination Location: Service Van A
4. Mark the product transfer received when the
• Quantity: 20
items arrive.
• Quantity Unit of Measure: Each
Helpful links:
Because the items are coming from outside of your
• Request Inventory inventory, leave the Source Location and Source
• Transfer Inventory Product Item blank.
• Guidelines for Transferring Inventory Create a shipment to track the shipping details for
the glasses transfer.
Select Received on the product transfer when the
glasses arrive at Service Van A.
144
Field Service Lightning Common Inventory Management Tasks
Track the return of a Create a return order that lists the related case, order, A customer creates a case from the customer
customer product or product. community to return a glass door. To track the return,
Helpful links: create a return order which lists the related Order.
Add a return order line item that lists the
• Track Customer Returns corresponding Order Product for the glass door.
• Guidelines for Tracking Customer Returns
Create a product transfer to track the return of the
product to the warehouse. Upon its arrival, increase
the quantity on the glass door product item by 1.
Track the repair of a 1. Create a work order to repair the product. A customer calls your company to request a repair
customer product of their front gate. Create a work order, and then
2. Create a return order that tracks the return of the create an associated return order that tracks the
product to the repair workshop. return of the gate to the workshop.
3. When the product is repaired, create a product After the gate is repaired, mark the work order
transfer to track the return of the product back complete. Create a product transfer to track the return
to the customer. of the gate from the workshop to the customer.
Helpful links:
• Track Customer Returns
• Guidelines for Tracking Customer Returns
Track the return of Create a return order that lists the unused inventory To prepare for an on-site installation appointment,
unused inventory from in the Product or Product Item field. create a product request for three motors. Upon
my stock back to the Helpful links: arriving at the site, you learn that only two motors
warehouse are needed. To return the unwanted motor to the
• Track Customer Returns main warehouse, create a return order with one line
• Guidelines for Tracking Customer Returns item that lists the motor in the Product field.
After the motor is returned to the warehouse,
increase the quantity of the motor product item by
1.
145
Field Service Lightning Track Required Inventory
For example, if all light bulb replacement jobs require a ladder and a light bulb, add the ladder and The Field Service Lightning
light bulb as required products to your Light Bulb Replacement work type. When it’s time to create core features, managed
a work order for a customer’s light bulb replacement, applying that work type to the work order package, and mobile app
adds the required products. are available in Enterprise,
Performance, Unlimited,
Here’s how to add a required product to a work order, work order line item, or work type.
and Developer Editions.
1. Navigate to the record that needs required products. Work orders are also
2. In the Products Required related list, click New. available in Professional
Edition.
3. Use the lookup field to select a product.
4. Enter the quantity required.
USER PERMISSIONS
5. Select a quantity unit of measure.
To view products required:
6. Click Save.
• Read on the parent
object (work orders or
work types) AND Read
on products
To create, update, or delete
products required on work
orders or work order line
items:
• Edit on work orders AND
Read on products
To create, update, or delete
products required on work
types:
• Edit on work types AND
Read on products
146
Field Service Lightning Request Inventory
Request Inventory
When your stock gets low or you need a part for a particular work order, create a product request.
EDITIONS
Product requests can be associated with work orders, work order line items, cases, and accounts.
You can specify when and where the parts are needed, and divide the request into line items that Available in: Salesforce
each represent a needed part. Classic and Lightning
Mobile workers can create product requests when they find defective parts in their vehicles or their Experience
stock has run out. Dispatchers or service managers can create product requests on behalf of their
The Field Service Lightning
technicians if they see their stock getting low. And schedulers can create product requests when core features, managed
they schedule work orders that require parts which aren’t normally found in a technician’s vehicle package, and mobile app
stock. are available in Enterprise,
1. From the Product Requests tab or the Product Requests related list on a work order or work Performance, Unlimited,
order line item, click New. and Developer Editions.
Work orders are also
2. If the request is being made for a particular job, select the related work order or work order line available in Professional
item. Edition.
3. Optionally, select the related account or case.
4. Enter the destination location, which is where the parts are needed. USER PERMISSIONS
Tip: Service vehicles can also be locations. Mobile locations like vehicles have Mobile To create product requests:
Location selected on their detail page. • Create on product
requests
5. Enter the address where the parts should be shipped; for example, the mailing address of the
warehouse that is requesting them. To view product request line
items:
6. Select a shipment speed, and enter the Need By Date. • Read on product
7. If the parts are being transferred from another location such as a warehouse, enter the source requests
location. To create, update, or delete
product request line items:
8. Add a description.
• Edit on product requests
9. Assign the product request a status:
• Draft: Finalizing the product request details.
• Submitted: The product request is ready for processing.
• Received: The department in charge of fulfilling the request is working on it.
The product request now appears in the Product Requests related list on the related work order or work order line item. You can also
view and sort line items from all product requests from the Product Request Line Items tab in Salesforce.
147
Field Service Lightning Transfer Inventory
Transfer Inventory
To fulfill a product request, create a product transfer. Product transfers track the movement of
EDITIONS
inventory from one field service location to another. The inventory numbers at your storage locations
update automatically to reflect transfers. Available in: Salesforce
Note: To allow the creation of product transfers for serialized product items (a beta Classic and Lightning
Experience
functionality), contact Salesforce.
Create one product transfer for each product request line item so you can track the status of each The Field Service Lightning
part being requested. The Product Transfers related list on a product request shows all product core features, managed
transfers associated with the request’s line items. In addition, product request line items have their package, and mobile app
own Product Transfers related list that shows related transfers. are available in Enterprise,
Performance, Unlimited,
While product transfers are typically created in response to a product request, they don’t have to and Developer Editions.
be. For example, when a new technician joins your team, you can create a series of product transfers Work orders are also
to track the initial stocking of their service vehicle. available in Professional
1. From the Product Transfers tab or the Product Transfers related list on a product request, product Edition.
request line item, product item, location, or shipment, click New.
2. Enter a source product item or product. USER PERMISSIONS
• If the parts are being transferred from a location within your inventory, such as a warehouse, To create product transfers
enter a source product item. The source product item shows where the parts are being for field service:
transferred from, and updates the quantity at the source location. For example, if you need • Create on product
five hammers to be transferred from Warehouse A to Warehouse B, select the product item transfers
record that tracks the hammers stored at Warehouse A. To mark product transfers
• If the products are being transferred from outside your inventory—for example, if they’re received:
being ordered from a manufacturer—enter a product name. • Edit on product items
3. Enter the quantity being transferred and the Quantity Unit of Measure. Quantity Unit of Measure
picklist values are inherited from the Quantity Unit of Measure field on products.
4. If it’s not already populated, enter the related product request line item.
Tip: Set the status of the related product request line item to Received to indicate that the request is being processed.
5. Use the lookup field to select the shipment on which the product items are being transferred.
6. Enter the destination location, and if applicable, the source location.
7. Enter the expected pickup date.
8. Add a description.
9. After the transferred parts are received, select Received and update the following fields:
• Received By
• Quantity Received
• Status
Once you mark a product transfer received, you can’t undo it.
148
Field Service Lightning Transfer Inventory
IN THIS SECTION:
Guidelines for Transferring Inventory
Product transfers track the transfer of inventory between locations in field service. Learn how to link product transfers to other
inventory management records, and how they can help you manage inventory in your field service operation.
While product transfers are typically created in response to a product request, they don’t have to The Field Service Lightning
be. For example, when a new technician joins your team, you can create a series of product transfers core features, managed
to track the initial stocking of their service vehicle. package, and mobile app
are available in Enterprise,
If the product transfer is fulfilling a product request, create one product transfer for each product Performance, Unlimited,
request line item. This way, you can track the status of each part being requested. The Product and Developer Editions.
Transfers related list on a product request lists all product transfers associated with the request’s Work orders are also
line items. In addition, product request line items have their own Product Transfers related list that available in Professional
shows related transfers. Edition.
149
Field Service Lightning Transfer Inventory
The creation of product transfers for serialized product items is in beta, and is only permitted if you enroll in the beta program. When a
product transfer for a serialized product item is marked received, the product item’s location automatically updates to reflect the transfer.
This functionality has the following limitations:
• The Location field on serialized product items can’t be updated manually.
• When a product transfer associated with a serialized product item is marked received, no product item transaction is created.
• Partial transfers of serialized product items aren’t permitted. A product transfer whose source product item is serialized can be marked
received only if the product transfer’s Quantity Sent and Quantity Received are equal to the product item’s Quantity On Hand.
Example: Warehouse A has 100 hammers in stock. Your new technician, Jessica, has received her service van, and you’ve created
a location to represent the van in Salesforce. You create a product transfer to track the transfer of five hammers from Warehouse
A to Jessica’s van. Since Jessica’s van hasn’t contained hammers before, selecting Received on the transfer causes the following
events.
• The quantity on the existing product item for hammers stored at Warehouse A is reduced from 100 to 95
• A second product item is created with these settings:
– Product: Hammer
– Quantity: 5
– Location: Jessica’s Van
• A product item transaction is created for the hammer product item with a transaction type of Transferred and a quantity of 5
150
Field Service Lightning Track Inventory Consumption
1. In the Products Consumed related list on a work order or work order line item, click New. The Field Service Lightning
2. If applicable, enter a work order line item. The work order is auto-populated. core features, managed
package, and mobile app
3. In the Product Item field, select the product item where the part originated. For example, if 10 are available in Enterprise,
bolts that were stored in Warehouse B were used to complete the work order, select the product Performance, Unlimited,
item that represents all bolts stored in Warehouse B. and Developer Editions.
4. Enter the quantity consumed. Work orders are also
available in Professional
5. To link the consumed product to a price book entry, select a price book entry and enter the Edition.
unit price.
Note: To create a product consumed that lists a price book entry, you need “Use” sharing USER PERMISSIONS
access to price books.
To view products consumed:
6. Add context in the Description field. • Read on work orders
7. Save your changes. To create or delete products
consumed:
Tip: After a product item is consumed, track it as an asset (an installed or purchased product) • Edit on work orders AND
and add product details like a serial number. Read on product items
To update products
IN THIS SECTION: consumed:
• Edit on work orders
Guidelines for Consuming Inventory
When inventory is consumed as part of a work order, logging the consumption kicks off several
behind-the-scenes changes. Learn how product consumption fits into your field service
operation.
151
Field Service Lightning Track Inventory Shipments
Note: If you want to track product consumption but don’t need to track the movement of inventory between locations, you can
skip creating locations and product items. Instead, complete the Price Book Entry field on product consumed records to indicate
which product was consumed. However, this approach offers a limited view of your inventory.
To create shipments:
• Create on shipments
152
Field Service Lightning Track Customer Returns
c. Enter a quantity and unit of measure. If a product or product item is selected, the unit of
measure is autopopulated.
d. Select a reason for the return.
e. In the Processing Plan field, indicate what should happen to the returned item.
f. In the Repayment Method field, indicate how the owner should be reimbursed for the return. If the return order is tracking the
return of items from van stock to an inventory location, you’ll probably leave this field blank.
g. If needed, update the source and destination location. These are inherited from the return order, but can be updated.
h. Add notes or context about the returned items in the Description field.
i. Save your changes.
IN THIS SECTION:
Guidelines for Tracking Customer Returns
You can use return orders to track customer returns, customer repairs, or the return of inventory from a technician’s van stock to a
warehouse or supplier. Learn about common return scenarios and how to log them in Salesforce.
153
Field Service Lightning Track Customer Returns
For example, a customer of a hypothetical robotic arms company, Rockin’ Robotics, purchased a small hydraulic arm by mistake. To
return it, they create a case from the customer community. The assigned agent creates a return order for the customer which lists
the related order and order product. The agent then creates a product transfer to track the return of the arm to the warehouse. Upon
its arrival, the on-site technician updates the quantity on the appropriate product item to indicate that the warehouse has gained
a small hydraulic arm.
Customer Repairs
When a customer wants their product repaired or retrofitted, use a return order to track the repair and return of the product. Follow
these guidelines.
• On the return order:
154
Field Service Lightning Track Customer Returns
– Link the return order to related work orders in the Work Orders or Work Order Line Items related lists. Most repairs involve
a work order that was created for the customer.
– If a customer case was created to address the repair, select it in the Case field
– In the Source Location field, select the customer’s site where the product is at the start of the return. You may leave this field
blank if the customer’s site isn’t tracked as a location in Salesforce.
– In the Ship From address, enter the customer’s address where the product is at the start of the return.
– In the Destination Location field, select the workshop where the product is repaired. You can use product transfers to track
the movement of the product to and from the workshop.
For example, a Rockin’ Robotics customer wants their eight-year-old hydraulic arm retrofitted to use the most current technology.
They call Rockin’ Robotics and the support agent creates a work order to have the arm retrofitted. The agent then associates the
work order with a return order that tracks the return of the arm to the Rockin’ Robotics Workshop. After the arm is retrofitted, the
work order is marked complete and a product transfer is created to track the return of the arm from the workshop to the satisfied
customer.
Technician Returns
When a product is requested for a field service job but ends up going unused for any reason, use a return order to track the return
of the product to the supplier or an inventory location. Follow these guidelines.
• On the return order:
– In the Product Request field, select the product request that the product was intended to fulfill. You can also associate the
return order line items with the product request’s line items.
– In the Account field, select the account that the product was intended for.
– In the Source Location field, select the product’s location at the time of the creation of the return order. For example, a
technician’s service vehicle.
– In the Destination Location field, select the product’s intended destination. For example, an inventory location such as a
warehouse, or a supplier’s site.
– In the Ship From address, enter the starting address of the return.
• If needed, create an associated product transfer to track the transfer of the product from its current location back to your inventory.
For example, to prepare for an on-site installation appointment, a Rockin’ Robotics technician creates a product request for three
large hydraulic arms. Upon arriving at the site, the technician learns that only two arms are needed. To return the unwanted arm to
the main warehouse, the technician creates a return order with one line item that lists the arm in the Product field. After the arm is
returned to the warehouse, the warehouse product item can be updated to reflect the change in inventory numbers.
155
Field Service Lightning Manage Service Reports
Note: While you can track the return of products to your inventory using only a product transfer, return orders let you add
information about why the product is being returned.
1. If you want your team to collect signatures on service reports using the Field Service Lightning
mobile app, create picklist values for the Signature Type field on digital signatures. Signature USER PERMISSIONS
types represent the role of the person signing a report.
To edit page layouts and
a. Navigate to the Setup page. picklist values:
• In Salesforce Classic, from Setup, enter Digital Signatures in the Quick Find • Customize Application
box, then select Fields under Digital Signatures. To create service report
templates:
• In Lightning Experience, go to Digital Signature in the Object Manager, then click Fields
• View Setup and
and Relationships.
Configuration
b. Click Signature Type.
156
Field Service Lightning Create Service Report Templates
c. From the Signature Type Picklist Values related list, add up to 1,000 values to the picklist. For tips on creating signature types,
see Guidelines for Using Signatures on Service Reports.
2. Add the Create Service Report button to page layouts for the following objects:
• Work orders
• Work order line items
• Service appointments
Each template comes with four sub-templates, which allow it to be used for service reports on multiple types of records:
• Service Appointment for Work Order
• Service Appointment for Work Order Line Item
• Work Order
• Work Order Line Item
The Related Templates field shows the sub-template that you’re currently editing. We recommend customizing all four
sub-templates for each template so you’re confident that your service reports contain the right information. Save your changes
after you modify each sub-template.
Note: When you preview the report template, it shows the System Administrator profile view. The data shown is simulated,
except for images and rich text. If the person creating the service report doesn’t have Read permission on objects or fields
in the service report template, those fields don’t appear on the report they create.
g. (Recommended) Select a new sub-template in the Related Templates field, and customize its layout. Repeat until you’ve reviewed
the layout of all four sub-templates.
h. Click Activate next to the template name on the Service Report Templates home page.
IN THIS SECTION:
Guidelines for Creating Service Report Templates
Service report templates in field service determine the type and order of data in service reports. Learn how to customize your service
report templates to suit your needs.
Guidelines for Using Signatures on Service Reports
Field service technicians can capture signatures from customers and partners on service reports. On the service report template, you
define the number and type of signatures allowed.
157
Field Service Lightning Create Service Report Templates
Note:
• The Status field on contract line items isn’t available for filtering.
• The Filters tab isn’t available in Internet Explorer 8.
• If the user generating the service report doesn’t have access to a field used to filter the related list, the filtering doesn’t
occur.
158
Field Service Lightning Create Service Report Templates
Note: If the user generating the service report doesn’t have access to the field used to sort the related list, the sorting doesn’t
occur.
Adding Signatures
To let technicians collect signatures on a service report, drag the Signature element onto your layout. You can add up to 20 signature
blocks to a sub-template. Every signature block needs a different signature type. To learn more about signatures, see Guidelines for Using
Signatures on Service Reports.
Note: You can create up to 1,000 signature types. You can’t delete a signature type, but you can deactivate it. When a signature
type is deactivated, it can’t be added to a new service report template. However, the signature type still appears in the service
report templates that include it.
159
Field Service Lightning Create Service Report Templates
required. Make sure to add the Signature field, which designates the signature space. You can change the title to reflect who is signing,
or hide the title and field labels.
You can add up to 20 signature blocks to a service report template. Because each signature block must use a different signature type,
you can’t drag extra signature blocks onto a template until you’ve created corresponding Signature Type values. Double-click a signature
block’s title to view its settings.
Note: After the service report is created, the signatures collected during the service event are deleted. See Create Service Reports
on page 161 for more details.
160
Field Service Lightning Create Service Reports
Note: After the service report is created, the signatures collected during the service event To create service reports:
are deleted. Use the saved service report to provide a proof of signature. • Edit on the parent object
(work orders, work order
Service reports are translated in the language selected in the Service Report Language field on the line items, or service
associated work order. If that field is blank, they use the default language of the person generating appointments)
the report. To email a service report:
• View on the parent
Note: If you don’t have Read permission on an object or field in the service report template, object AND Send Email
it doesn’t appear in the service report that you create.
161
Field Service Lightning What’s Schedule Optimization?
Optimization Options
Define the scope of optimization to include an entire service territory’s schedule or just a single resource’s schedule.
162
Field Service Lightning What’s Schedule Optimization?
• Global optimization—Optimize your team’s schedule for one or more service territories across a specified range of days. You can
configure this type of optimization to run regularly—for example, every evening. Or, you can run it manually as needed. Global
optimization is the most thorough and powerful type of optimization, and therefore takes the most time to complete.
• In-day optimization: Navigate last-minute schedule upsets by rapidly optimizing your team’s schedule for one or more service
territories on the day of service.
• Resource optimization—Optimize an individual service resource’s schedule on the day of service.
Terms to Know
Schedule optimization is based on several custom components that help you fine-tune your scheduling operations.
Component Description
Scheduling policy A set of rules and objectives that guide the schedule optimizer.
Use a scheduling policy to promote or de-emphasize factors such
as business priorities, travel time, and customer preferences. When
you optimize your team’s schedule, you can select a guiding
scheduling policy.
Work rule A rule that refines the list of candidates for a service appointment
by rejecting service resources that don’t match the rule. For
example, the Match Skill rule ensures that service appointments
are assigned only to service resources with the required skills. A
scheduling policy can have one or more work rules.
Service objective A scheduling goal or target. You can weight service objectives to
prioritize one over another. Every appointment assignment has a
score for each service objective. The score indicates how fully the
objective was met. The highest-scoring assignments are preferred.
A scheduling policy can have one or more service objectives.
For a given time horizon, optimization grades assignments based on service objectives, and compares overall scores for different schedule
iterations. When the optimization is completed, it chooses the schedule with the highest score, and assigns appointments accordingly.
Optimization can move appointments that were previously scheduled. For example, optimization can reassign an appointment when
it finds a slot with a better grade or when it tries to fix an overlap. If an optimization unschedules an appointment and can’t find another
suitable slot, the appointment remains unscheduled after the optimization is completed.
Tip: Not sure where to start? Create a scheduling recipe to address common scheduling challenges, like appointment cancellations
or overlaps.
163
Field Service Lightning Create and Manage Scheduling Policies
Field Service Lightning includes four standard scheduling policies. You can customize these policies
or create your own.
High Intensity Typically used in times of high service volumes, like a storm scenario, where you
need employee productivity is higher priority than customer preferences.
Soft Boundaries Identical to the Customer First policy, but allows the sharing of employees
between territories to enhance service coverage.
Emergency Used with the Emergency Chatter action to dispatch emergency service
appointments.
164
Field Service Lightning Create and Manage Scheduling Policies
Note: Every scheduling policy automatically includes a Due Date work rule and Earliest Start Permitted work rule. In addition,
scheduling policies must include a Service Resource Availability work rule for resource absences to be respected during scheduling.
Action Steps
Select a policy for scheduled optimization jobs From the App Launcher, find and open the Field Service Admin app, and then
click the Field Service Settings tab. Then, click Optimization > Scheduled
Jobs. Update the Scheduling Policy field on any scheduled job to list your
preferred policy.
Select a default scheduling policy for scheduling from From the App Launcher, find and open the Field Service Admin app, and then
the dispatcher console click the Field Service Settings tab. Click Dispatcher Console UI and update
the Default scheduling policy field.
Select a default scheduling policy for the Book From the App Launcher, find and open the Field Service Admin app, and then
Appointment and Candidates actions click the Field Service Settings tab. Click Global Actions > Appointment
Booking and update the Default scheduling policy field.
Select a policy in the dispatcher console appointment The Policy field in the appointment list shows the default dispatcher console
list scheduling policy, but can be updated before a dispatcher optimizes the
schedule.
Note: To automatically schedule a service appointment, select a scheduling policy using the Scheduling Policy Used field. Then
select the checkbox for Auto Schedule. If the Scheduling Policy Used field is blank, Field Service Lightning uses your org's default
scheduling policy.
165
Field Service Lightning Create and Manage Scheduling Policies
In-Day Optimization (Checkbox) If this option is selected, the scheduling policy uses
in-day optimization rather than global optimization.
166
Field Service Lightning Create and Manage Work Rules
167
Field Service Lightning Create and Manage Work Rules
168
Field Service Lightning Create and Manage Work Rules
Field Description
service resources. If this field is null, we use the default limit.
Tip: To create work rules, you need the FSL Admin custom permission set. If the Count work rule isn’t listed as a work rule type,
update the FSL custom permission sets.
Enter the fields manually, or use the Count Rule custom Lightning component helper.
Note: To add a custom Lightning component to a record page in Lightning Experience, you must have My Domain set up.
Add the work rule to a scheduling policy from the Customize Scheduling Policies page in Guided Setup or the Scheduling Policy
Work Rule related list.
Scheduling and optimization consider resources for assignments as long as assignments don’t result in overstepping the limit.
When a manual schedule change causes a limit to be exceeded, the Gantt shows rule violations on all appointments that contribute to
the count. Violations include rule names, so use meaningful names.
Considerations
• You can add up to four rules that count custom field values. You can also add more rules that count assignments and durations.
• The Start of Day is midnight even if it’s customized to a different value.
• Multiday work and complex work aren’t supported with Count work rules.
• Count work rules don’t consider service resources that are part of a crew. You can set up count rules for crews, but not for the
resources in crews.
• Count work rules ignore capacity-based resources.
Example: A dispatcher wants to create schedules that respect how many solar panels workers can deliver and install. A custom
field on work orders represents the panel quantity for each installation. Because workers drive different vehicles, a resource property
indicates how many panels a worker can transport. To set limits for large versus small trucks, you can add workers to relevance
groups based on truck size and create rules using those groups.
169
Field Service Lightning Create and Manage Work Rules
Field Description
Service Appointment Matching Field The service appointment lookup field value that you're matching.
The field must be of the type Lookup.
Linking Object The junction object used to link service resources to the object
that the service appointment matching field references.
Linking Object Reference Field The reference field on the linking object that is matched with the
Service Appointment Matching Field.
Time-Phased Indicates whether the work rule applies only to a certain time
period.
Start Date Field Name The Date-Time field name on the Linking Object that represents
the start time. This field is required when you select Time-Phased.
End Date Field Name The Date-Time field name on the Linking Object that represents
the end time. This field is required when you select Time-Phased.
After you create the data model for your work rule, finish setting it up by creating a work rule from the Work Rules tab. Enter the fields
manually, or use the Extended Match Rule custom Lightning Component helper.
Note: To add a custom Lightning Component to a record page in Lightning Experience, you must have My Domain set up.
Time-phased Extended Match work rules can consume up to 80 records on a service resource during the selected time period. Work
rules that aren't time-phased can consume up to 200 records.
You can add work rules to a scheduling policy from the Customize Scheduling Policies page in Guided Setup or from the Scheduling
Policy Work Rules related list on a scheduling policy. A policy can have up to two Extended Match work rules.
Example: If your mobile workers support specific ZIP codes, use an Extended Match work rule to assign them appointments
within their area. Create a ZIP Code lookup field on the Service Appointment object. Then create a ZIP Code Coverage linking
object, add the ZIP Code field, and attach it to the Service Resource object as a related list. Use the Extended Match Rule Lightning
Component to create a work rule.
The ZIP Code Coverage example has this data model.
170
Field Service Lightning Create and Manage Work Rules
Note: In this example, if a service appointment has an empty ZIP Code field, the work rule returns all Service Resources.
Define other work rules in your policy, such as Match Skills or Match Territory, that can narrow resources when there’s no
ZIP code on the appointment.
171
Field Service Lightning Create and Manage Work Rules
Important: Match Fields work rules aren’t supported for schedule optimization.
172
Field Service Lightning Create and Manage Work Rules
Create work rules from the Work Rules tab. To view or add work rule fields, open the Object Manager in Setup and select the Work Rule
custom object. Add work rules to a scheduling policy from the Customize Scheduling Policies page in Guided Setup or from the
Scheduling Policy Work Rules related list on a scheduling policy.
173
Field Service Lightning Create and Manage Work Rules
Service Time Property The service appointment field that defines the
work rule requirement. There are four options.
• EarliestStartTime and DueDate together
represent the total time frame during which
an appointment must start and complete.
• The ArrivalWindowStart and EndTime
together represent the arrival window time
frame promised to the customer.
Custom date/time fields aren’t supported.
Field Service Lightning includes four standard Match Time Rule work rules.
• Earliest Start Permitted: Ensures that a service appointment’s Scheduled Start is equal to or later than the Earliest Start Permitted.
This work rule is included in every standard scheduling policy.
• Due Date: Ensures a service appointment’s Scheduled End is equal to or earlier than the Due Date. This work rule is included in every
standard scheduling policy.
• Scheduled Start: Ensures that a service appointment’s Scheduled Start is equal to or later than the Arrival Window Start.
• Scheduled End: Ensures that a service appointment’s Scheduled Start is equal to or earlier than the Arrival Window End.
An appointment’s Scheduled Start is based on the travel time recorded for previous appointments. The Scheduled End is calculated by
adding the Duration to the Scheduled Start.
174
Field Service Lightning Create and Manage Work Rules
Work rules that impose time constraints limit your optimization flexibility. When you create Match Time Rule work rules, consider the
commitments that you’ve made to customers and your goals regarding wait time.
Create work rules from the Work Rules tab. To view or add work rule fields, open the Object Manager in Setup and select the Work Rule
custom object. Add work rules to a scheduling policy from the Customize Scheduling Policies page in Guided Setup or from the
Scheduling Policy Work Rules related list on a scheduling policy.
175
Field Service Lightning Create and Manage Work Rules
Field Description
• Don’t assign highly qualified workers to appointments that are
more than 20 miles from their home base.
If a service resource’s home base (address) isn’t specified, the resource isn’t a candidate for any service appointment. If a service appointment
lacks geocoordinates (calculated from an address), it can be assigned to any service resource with a home base.
176
Field Service Lightning Create and Manage Work Rules
Service Crew Resources Availability work rules have the following setting.
Create work rules from the Work Rules tab. To view or add work rule fields, open the Object Manager in Setup and select the Work Rule
custom object. Add work rules to a scheduling policy from the Customize Scheduling Policies page in Guided Setup or from the
Scheduling Policy Work Rules related list on a scheduling policy.
177
Field Service Lightning Create and Manage Work Rules
Note: If a fixed gap is defined, travel time is not taken into consideration during scheduling.
However, travel time is still displayed on the Gantt.
Minimum Gap (minutes) The minimum number of minutes between service appointments. The Minimum Gap value applies
only if Fixed Gap is selected.
Break Start The preferred time at which a service resource can take their break. If you don’t want to use breaks,
leave this field empty. Breaks are inserted in the schedule between appointments. Breaks are scheduled
to start as close as possible to the Break Start time without compromising the ability to start and
complete appointments.
For example, if technicians can take their lunch any time after 12:30 PM, enter 12:30.
Overtime Allow service appointments to be scheduled during operating hours of the Extended type. You may
need to add this field to the layout.
Travel From Home (minutes) The number of minutes that the resource has available for travel before the start of the work day (at
the resource's expense). If this field is empty, any amount of travel before the start of the work day is
valid.
Travel To Home (minutes) The number of minutes that the resource has available for travel after the end of the work day (at the
resource's expense). If this field is empty, any amount of travel after the end of the work day is valid.
Important: To create a Service Resource Availability work rule that creates breaks and calculates travel time, enable the Calculate
travel and breaks setting in Field Service Settings.
Fill out the travel fields according to where service resources are expected to be at the beginning and end of their periods of availability.
• On-site: If a service resource is expected to begin work on-site at the beginning of their availability (for example, if they start work
at 9 AM), travel must occur before that time. In this case, fill out the Travel To and From Home fields or leave them blank to allow
unlimited travel time.
• Start driving: If a service resource is expected to start traveling at the beginning of their availability, set the Travel To and From
Home fields to zero.
Note: During the scheduling of capacity-based service resources, Service Resource Availability work rules fail if one of the following
happens.
• The number of scheduled working hours exceeds the resource’s capacity
• The number of scheduled work items exceeds the resource’s capacity
• A capacity record was deleted or updated after the related service resource was assigned to a service appointment
Create work rules from the Work Rules tab. To view or add work rule fields, open the Object Manager in Setup and select the Work Rule
custom object. Add work rules to a scheduling policy from the Customize Scheduling Policies page in Guided Setup or from the
Scheduling Policy Work Rules related list on a scheduling policy.
178
Field Service Lightning Create and Manage Work Rules
179
Field Service Lightning Create and Manage Service Objectives
Minimize Overtime Measures the use of overtime hours. The objective’s score compares
the number of overtime hours with the service appointment’s
estimated duration. For example, if an hour-long appointment is
scheduled entirely on overtime, its score is zero. If half of the
scheduled time is overtime, its score is 50.
Minimize Travel Measures the travel time required for a service appointment.
In optimization operations—global optimization, resource schedule
optimization, in-day optimization, and the Reshuffle action—each
scheduling option is scored with the assumption that travel time
ranges from zero to 120 minutes. For example, an option with a
travel time of 120 minutes receives a score of zero, and an option
with a travel time of 60 minutes receives a score of 50. You can ask
Salesforce to customize this range.
In non-optimization scheduling operations—such as the Book
Appointment, Candidates, Schedule, Fill-In Schedule, and Group
Nearby Appointments actions—this objective’s score is relative to
the travel times available. For example, if an appointment has three
scheduling options, here’s how the options are scored.
• Option 1: Schedule it after an appointment at the same site.
The travel time is zero minutes, so the objective score is 100.
180
Field Service Lightning Create and Manage Service Objectives
Preferred Resource Measures adherence to a work order’s resource preferences of type Preferred. The objective’s
score is 100 if an appointment is assigned to the parent work order’s preferred resource, and
zero if not. (Excluded and Required resource preferences are enforced using work rules.)
Resource Priority Ranks appointments based on their assigned resource’s priority, which is defined in the Priority
field on service resources. The lower the resource priority, the higher the objective’s score.
Skill Level Measures assigned resources’ adherence to a work order’s skill requirements. When creating
an objective of this type, select whether to favor least- or most-qualified service resources:
• Least qualified: Favors the least qualified valid candidate. This option lets you dispatch a
resource who is “good enough” to complete an appointment. For example, if a work order
requires the Drilling skill at level 50, a resource with a Drilling skill level of 55 is favored
over a resource with a Drilling skill level of 80.
• Most qualified: Favors the most qualified valid candidate.
Tip: Use this option with relevance groups to assign your most qualified resources
only to work orders for high-priority accounts.
If a work order has multiple skill requirements, the objective evaluates all skills and calculates
an average score.
181
Field Service Lightning Set Up and Run Optimization Jobs
182
Field Service Lightning Set Up and Run Optimization Jobs
Note: Optimization applies only to service appointments whose parent appointment is a work order or work order line item.
Global optimization doesn’t reschedule appointments that have rule violations. Unschedule those appointments and reschedule them.
183
Field Service Lightning Optimize Today’s Schedule
184
Field Service Lightning Optimize a Single Resource’s Schedule
You can also set up scheduling preferences to automatically run resource schedule optimization in response to common scheduling
events, like appointment overlaps or cancellations. To learn how, see Create Scheduling Recipes for Common Events.
Note:
• Complex work information that’s not fully available in the optimization data is considered excluded from resource schedule
optimization. For example, a partial chain of a scheduling dependency is excluded.
• Resource schedule optimizations can’t run in parallel for the same service resource on the same time interval.
• You can’t run resource schedule optimization on capacity-based resources.
185
Field Service Lightning Create Scheduling Recipes for Common Events
5. To change the priority order of recipes within a category, click on the Automated Scheduling home page. Drag the recipes into
the desired order and click Save.
186
Field Service Lightning Create Scheduling Recipes for Common Events
Example: Here’s a recipe that controls what happens to the assigned resource’s schedule when a solar appointment in the San
Francisco service territory ends early and results in 60 unused minutes on the schedule.
187
Field Service Lightning Monitor Optimization Requests
USER PERMISSIONS
To cancel optimization
requests:
• Abort Optimization
Request custom
permission
188
Field Service Lightning Monitor Optimization Requests
A percentage-based progress bar isn’t available for resource schedule optimization requests, but the resource’s row in the Gantt
changes color to indicate that optimization is in progress.
189
Field Service Lightning Create Relevance Groups
• Scheduled optimization jobs can generate one or more JSON files. The request fails if a JSON file contains more than 6 million
characters.
To check whether an optimization job exceeded this limit, go to the Optimization Requests tab. Open the request associated
with the failed job, and click the value in the Optimization Data field. In the Notes and Attachments related list, open each JSON
file and check its character total.
If the Optimization Data field is empty, check the Error field for details. If the Error field is empty, contact Salesforce to learn more
about the failure.
• If simultaneous conflicting updates are made to the schedule while a request is open, the request is canceled. For example, this
can happen when you add or update appointments or resource absences that fall into the date range and service territory being
optimized.
• Resource schedule optimization fails if more than 50 service appointments are required to remain scheduled during the
optimization. To change which appointments must remain scheduled, select a different category in Keep these appointment
scheduled when you run the optimization. For example, if In Jeopardy is selected and more than 50 appointments are in jeopardy
for the selected time period, the request fails.
To review limits and limitations related to schedule optimization, see Field Service Lightning Limits and Limitations.
Note: Relevance groups can use primary service territory memberships and relocation service territory memberships. Secondary
service territory memberships aren't supported.
190
Field Service Lightning Create Relevance Groups
Example: Use relevance groups to define different limits on travel from home for part-time and full-time employees.
1. Add the appropriate Visualforce page to the Maximum Travel From Home work rule page layout.
2. On the service territory member object, create two checkbox fields:
• Part-Time
• Full-Time: A formula field that updates to false when Part-Time is true
3. Create a Maximum Travel From Home work rule that reflects your travel time policy for part-time employees. For Service
Territory Member, select Part-Time.
4. Create another Maximum Travel From Home work rule that reflects your travel time policy for full-time employees. For Service
Territory Member, select Full-Time.
5. Add both rules to a scheduling policy. When the policy is applied, part-time and full-time employees are evaluated based on
the requirements outlined in the respective work rules.
Relevance groups must be mutually exclusive. If two work rules with relevance groups overlap, the more restrictive rule is used. If
Service Resource Availability work rules use relevance groups, any rule overlaps will lead to an error.
191
Field Service Lightning Work in the Dispatcher Console
192
Field Service Lightning Customize the Dispatcher Console
193
Field Service Lightning Customize the Dispatcher Console
• Gantt resolution dropdown (2): Select how many days to show on the Gantt at once. Customize the Utilization view from the
Gantt filter’s Utilization tab, and the Long-Term view from the Gantt filter’s Hours tab. You need the Longterm View custom permission
to select the Long-Term view.
• Date and calendar toggles (3): Toggle between days and months.
These settings control the appointment list time frame.
• Horizon date (4): The appointment list only lists appointments with a date field that falls before the horizon.
• Match Gantt Dates field (5): If you select Match Gantt Dates, the horizon date updates to match the dates shown on the Gantt.
• Scheduling window limit (6): Click the gear icon and select Dispatch Console Settings to define the scheduling window limit,
which represents the number of days before the horizon date. The appointment list only lists appointments with a date field that
falls in that span of days before the horizon date.
Note: If a custom filter is applied, the appointment list time frame is controlled by the horizon date and the custom filter settings.
Custom filters let you specify the number of days before and after the horizon, and that time frame is used to define which
appointments are shown.
If an appointment’s dates for any selected fields among the first six don’t fall within the Gantt time frame, use the Gantt Display Date to
show the appointment on the Gantt. When a service appointment’s Gantt Display Date falls within the Gantt time frame, the appointment
is visible on the Gantt. For example, if a maintenance appointment must be completed within the next six months, you may want to
see it on the Gantt every day as a reminder.
Tip: Set up a process in Lightning Process Builder to automatically configure an important appointment’s Gantt Display Date to
today’s date, updated daily.
In addition, several types of filters let you refine which appointments are shown in the dispatcher console:
• The appointment list search, which filters the list to show only appointments that match your search criteria
• The resource list search in the Gantt, which filters the resource list to show only service resources that match your search criteria
• The Resources and Skills tabs in the Gantt filter, which filter the resource list to show only service resources that match your criteria
• The territory filter, reached from the map icon in the appointment list (6), which filters the Gantt and appointment list according to
your criteria
• Any custom appointment list filters in place
194
Field Service Lightning Customize the Dispatcher Console
195
Field Service Lightning Customize the Dispatcher Console
196
Field Service Lightning Customize the Dispatcher Console
Note: Custom
appointment list filters
include appointment
list column settings. If
such a filter is applied,
it overrides this field
set.
197
Field Service Lightning Customize the Dispatcher Console
198
Field Service Lightning Customize the Dispatcher Console
199
Field Service Lightning Customize the Dispatcher Console
200
Field Service Lightning Customize the Dispatcher Console
201
Field Service Lightning Customize the Dispatcher Console
202
Field Service Lightning Customize the Dispatcher Console
Gantt Lightbox
203
Field Service Lightning Customize the Dispatcher Console
204
Field Service Lightning Customize the Dispatcher Console
7. Click Save.
8. Optionally, reorder the actions in the action category you selected. Custom actions appear in this order in an action list after standard
actions.
When you create or edit a custom action, the Gantt must be refreshed for the changes to take effect.
205
Field Service Lightning Customize the Dispatcher Console
To configure the Field Service Lightning Customize Application Available in: Salesforce
managed package: Classic and Lightning
Experience
To assign a permission set license: Manage Users
The Field Service Lightning
To create a permission set: Manage Profiles and Permission Sets
core features, managed
To create, edit, and delete custom filters: FSL Dispatcher or FSL Admin Permissions package, and mobile app
are available in Enterprise,
AND
Performance, Unlimited,
Create Filter custom permission and Developer Editions.
Work orders are also
To share personal custom filters and edit FSL Dispatcher or FSL Admin Permissions available in Professional
and hide public custom filters: AND Edition.
Create custom filters to control which appointments appear in the dispatcher console service appointment list. Base your filters on
service appointment fields and add custom logic. Dispatchers can create private filters or share them with others.
Note: The custom filters feature replaces the appointment list’s original custom list view functionality. Enabling custom filters
removes any existing custom list views.
2. To open the dispatcher console, from the App Launcher, find and open the Field Service app.
3. To the right of the filter dropdown menu, click the New icon.
4. Add a filter name and description.
5. Choose whether the filter displays appointments based on the number of days before and after the horizon date, or appointments
currently shown on the Gantt (similar to the Gantt standard filter).
Note: The horizon date related to the selected date properties and the Earliest Start Permitted, Due Date, Arrival Window
Start, Arrival Window End, Scheduled Start, and Scheduled End fields.
• Standard filters let you set the scheduling window limit and the number of days up to and including the selected horizon
date. The default value is 14 days.
• Custom filters let you specify how many days to display before and after the horizon date.
Note: The Gantt Filter field set on the service appointment object controls which fields are shown. Standard and custom
service appointment fields are supported.
206
Field Service Lightning Customize the Dispatcher Console
7. To filter appointments that are causing rule violations, add the Rule Violations criteria to your filter. To exclude rule violators, add
Rule Violations Equals False. To include rule violators, add Rule Violations Equals True.
8. Adjust filter logic.
Tip: To dynamically consider date and time fields, use formula fields. For example, Due date in 2 days Equals True.
9. Under Fields to Display, select fields to show in the appointment list when the filter is applied.
10. To publish or share your filter, select Make this filter available for all users.
When a custom filter is made public, it is shared with the All Internal Users public group.
Note: Admins can expose hidden filters by editing the custom filter record itself and setting Hidden to false.
Considerations
• The maximum number of days before and after the horizon date is 30 days.
• To avoid performance issues, we recommend keeping the number of fields on the Gantt Filter page layout below 15.
• All users have access to the standard filters provided with the managed package, but you can hide them. Remove the appropriate
custom permission from the user profile or assigned permission set.
• If only certain users need access to a custom filter, share the custom filter record with the public group or users. For example, if only
San Francisco dispatchers need access to the “Bay Area Emergency Work” custom filter, create a private custom filter. Then, share
“Bay Area Emergency Work” with the San Francisco public group using standard sharing.
207
Field Service Lightning Customize the Dispatcher Console
208
Field Service Lightning Work in the Dispatcher Console Appointment List
209
Field Service Lightning Work in the Dispatcher Console Appointment List
You can choose from the following filters. All users have access to these filters. The filters consider the status category, which maps all
standard and custom status values to categories corresponding to the default status values. Conditions have an OR statement between
them.
Flagged Service appointments that the user marked as flagged. Flags aren’t
saved when the dispatcher console is reloaded.
Rules Violating Service appointments that have rule violations and aren’t canceled.
210
Field Service Lightning Work in the Dispatcher Console Appointment List
Tip:
• Create custom filters for the appointment list.
• To filter the appointment list by territory, click the gear icon in the appointment list and select Territory filtering.
Mass-Edit Appointments
To modify multiple appointments in the appointment list, select the desired appointments. Then, open the Actions menu and select an
action:
Action Definition
Schedule Execute an automatic scheduling process for the selected
appointments.
Flag / Unflag Add or remove a flag for the selected appointments. You can use
the flag for filtering later.
To customize the list of actions, from the App Launcher, find and open the Field Service Admin app. Click Field Service Settings >
Dispatcher Console UI > Gantt Configurations, and scroll to the section where you can reorder, add, or remove actions.
Tip: To limit dispatchers’ mass-edit options, remove the Bulk Dispatch, Bulk Optimize, Bulk Schedule, or Bulk Unschedule custom
permissions from their user profiles.
If you create custom dispatcher console actions in the Service List category, those actions appear below the built-in actions in the action
list.
211
Field Service Lightning Work in the Dispatcher Console Appointment List
Note:
• By default, an appointment’s color on the Gantt and appointment list is based on its status. However, Gantt palettes and the
Gantt Color field on service appointments override the default color scheme.
• Regardless of the appointment list color-coding setting, appointments with rule violations are highlighted in the appointment
list in yellow and in-jeopardy appointments are highlighted in red.
212
Field Service Lightning Work in the Dispatcher Console Gantt
213
Field Service Lightning Work in the Dispatcher Console Gantt
Note: A setting In Field Service Settings > Dispatcher Console UI lets you configure
Sunday or Monday as the start of the week.
At the bottom of the tab, you can customize the Long-Term view:
• Choose whether to show only multiday appointments
214
Field Service Lightning Work in the Dispatcher Console Gantt
Resources Specify which service resources are shown and in what order. Select Show working resources only
in the filter box to show only resources that are assigned to appointments in the dates shown on
the Gantt. To add more filterable fields to the Resources tab, update the Resource Gantt Filter field
set.
Skills Select skills that resources must possess to be shown on the Gantt. Change the Filter Logic to OR to
display resources with one or more of the selected skills. The Skills filter supports up to 2,000 skills.
Note: When the Gantt’s resource skill filter runs, only 50 skills are considered for each service
resource. This means that service resources with more than 50 skills may not appear when
you filter for a skill that they possess. This limit applies only to the Gantt resource skill filter;
the Candidates action finds all resources with the skills you need.
The Skills filter resets when you refresh the dispatcher console.
Utilization Select the factors that are considered when calculating resource utilization, and control the days
shown in the utilization view. (To reach the utilization view, select Utilization in the top-right corner
of the Gantt.)
Palettes Create, manage, and apply palettes to color-code service appointments on the Gantt and map. Click
the icon in the top-right corner to open the palette editor.
215
Field Service Lightning Work in the Dispatcher Console Gantt
Then, select territories whose service resources and service appointments you want to see.
• Optionally, select Show service appointments not associated with a territory. These appointments can then be scheduled
within any of the selected service territories.
• If your organization contains many territories, click the star next to a frequently used service territory to add it to your favorites. Click
the Favorites tab to view your favorites.
• Hover over a territory and click Switch to deselect all territories and select only that territory.
• Click Save to apply the filter and return to the appointment list.
Note: Service territories without assigned resources are shown on the appointment list but not on the Gantt. If you have access
to 2,000 or more service territories, the appointment list shows only selected territories. Use the search bar to find territories that
aren't selected.
216
Field Service Lightning Work in the Dispatcher Console Gantt
Move a scheduled service You can drag an appointment Windows: Select service
appointment to a new spot in to a different spot in its appointment+Ctrl+drag
the schedule, allowing for assigned resource’s schedule macOS: Select service
travel time or to another resource’s row to appointment+Cmd+drag
reassign it. When an
appointment is dragged, it
snaps to the closest valid time
slot based on your Gantt drag
jump setting and on the
calculated travel time between
adjacent appointments or
absences. Configure your drag
jump setting in the Field
Service Admin app (Field
Service Settings >
Dispatcher Console UI).
217
Field Service Lightning Work in the Dispatcher Console Gantt
Scroll one day back For example, if you’re viewing the August Left Arrow
6 schedule, this shortcut switches the Gantt
to August 5.
Scroll one day forward For example, if you’re viewing the August Right Arrow
6 schedule, this shortcut switches the Gantt
to August 7.
Scroll one time period back For example, if you’re in the Weekly view, Shift+Left Arrow
this shortcut switches the Gantt to the
previous week.
Scroll one time period forward For example, if you’re in the 2 Days view, Shift+Right Arrow
this shortcut switches the Gantt to the next
two days.
Scroll down in schedule Scrolls down one row in the Gantt without Down Arrow
changing the dates shown.
218
Field Service Lightning Work in the Dispatcher Console Gantt
219
Field Service Lightning Work in the Dispatcher Console Gantt
Console UI > Gantt Configurations. Under Utilization Views, enter the number of hours that indicate High Utilization (default:
150), Medium Utilization (default: 100), and Extensive Travel (default: 33). In the utilization view:
• Resources whose schedules are below Medium Utilization appear in green.
• Resources whose schedules are between High and Medium Utilization appear in yellow.
• Resources whose schedules are above High Utilization appear in red.
• Resources whose percentage of travel is larger than the value you specify are considered Extensive Travel candidates, and appear
with an automobile icon.
Show each territory’s average daily utilization
Control when utilization information is shown for territories on the Gantt. From the App Launcher, find and open the Field Service
Admin app, and then click Field Service Settings > Dispatcher Console UI > Gantt Configurations. Select Show utilization
on the Gantt to show each territory's average daily utilization on the Gantt for all Gantt resolutions. If this option isn't selected,
utilization information is shown only when the Gantt resolution is set to Utilization.
If a service resource is capacity-based with a defined capacity, their utilization percentage isn’t shown in the Gantt. However, their row
in the Gantt displays an icon that shows how close they are to reaching their capacity.
220
Field Service Lightning Work in the Dispatcher Console Gantt
• For checkbox fields, select two colors signifying checked and unchecked. To view the Palettes tab in
the Gantt and apply a
• For numeric or date-based fields, choose how many colors to use, a minimum and maximum palette:
color, a color if no value is specified, and a corresponding minimum and maximum value. • Gantt Palettes View
The palette editor then creates a spectrum for you. custom permission
The default color scheme—used when no palette is applied—color-codes appointments by status. You can’t update the default color
scheme or replace it with a custom palette. Reloading the Gantt or changing which service appointments are shown in the appointment
list reverts it to the default color scheme.
The Gantt Color field on service appointments and service crews overrides the default color scheme. If you don’t like the default color
scheme, create a process in Lightning Process Builder that populates the Gantt Color field based on your preferred service appointment
field.
Users with the Gantt Palettes View permission can see all palettes created in your org. To control palette access, set sharing on the Gantt
Palette object to Private. Then, use sharing rules to share each palette with the appropriate users.
221
Field Service Lightning Work in the Dispatcher Console Gantt
Tip: Create multiple palettes to address different scheduling questions. For example, use custom fields to create palettes that do
the following:
• Highlight appointments for VIP customers
• Color-code appointments based on service cost
• Color-code appointments based on the priority level of their parent work order
The Gantt displays each service crew member’s Gantt Label value. If the field is blank on a service crew member record, it defaults to
the service crew name + “Crew Member.” For example, Alpha Team Crew Member.
222
Field Service Lightning Work in the Dispatcher Console Gantt
223
Field Service Lightning Work in the Dispatcher Console Gantt
224
Field Service Lightning Work in the Dispatcher Console Gantt
Note: A resource absence must be properly geocoded by data integration rules—meaning it needs a latitude and longitude—to
appear on the map.
a. From the App Launcher, find and open the Field Service Admin app, and then click the Field Service Settings tab.
b. Click Dispatcher Console UI > Gantt Configurations and select Show absences on resource map.
225
Field Service Lightning Work in the Dispatcher Console Gantt
When automatic scheduling is used—with the Schedule or Candidates action—rule violations don’t occur. Field Service Lightning
automatically formulates schedules that don’t violate rules, so rule violations occur only as a result of manual scheduling.
226
Field Service Lightning Work in the Dispatcher Console Gantt
• Dispatchers without the Streaming API custom permission get timed updates on the The Field Service Lightning
Gantt, as defined in your settings. core features, managed
• Live updates aren’t available to community dispatchers. package, and mobile app
are available in Enterprise,
• Gantt Live Update access isn’t automatically available to all admins, and too many live Performance, Unlimited,
update requests can cause the Gantt to crash. and Developer Editions.
• Gantt Live Updates are subject to org limits for event delivery and PushTopic Streaming Work orders are also
Allocations. available in Professional
Edition.
1. Update sharing settings so dispatchers receive notifications only about the data they have
access to.
USER PERMISSIONS
a. From the App Launcher, find and open the Field Service Admin app, and then click the
Field Service Settings tab. To configure the Field Service
Lightning managed
b. Click Dispatcher Console UI > Updating the Gantt.
package:
c. Under Live Updates, check that each object’s sharing setting is Private. If not, update the • Customize Application
object’s sharing setting to Private in Salesforce Setup.
To view live updates on the
Gantt:
2. On the same Updating the Gantt page, click Update push topics. Push topics are used to
• Streaming API custom
send event notifications on specified objects, fields, and criteria. Field Service Lightning creates
permission
push topics for the following objects.
• Service resource
• Resource absence
• Service appointment
• Assigned resource
• Service resource capacity
• FSL operation
• Optimization request
227
Field Service Lightning Work in the Dispatcher Console Map
228
Field Service Lightning Work in the Dispatcher Console Map
To navigate to the dispatcher console map, from the App Launcher, find and open the Field Service app, and then click Field Service.
Then, click the Map tab. To pop out the map and drag it anywhere within the dispatcher console, hover over the Map tab from the Gantt
and click .
Note: The dispatcher console map may appear different than the map displayed on service territory member detail pages because
of a difference in geocoding granularity. As a rule, the dispatcher console map is more accurate.
229
Field Service Lightning Work in the Dispatcher Console Map
USER PERMISSIONS
4. Click Save.
230
Field Service Lightning Work in the Dispatcher Console Map
5. From the App Launcher, find and open the Field Service app. To open the dispatcher console, click the Field Service tab.
6. Click Map > Map Layers > Reports.
7. Select a report and click Add Layer.
If you decide not to use customized icons and colors for your reports, they are mapped using the default style for that object type.
231
Field Service Lightning Work in the Dispatcher Console Map
Tip: To give access to a selection of your users, create custom permission sets and assign
USER PERMISSIONS
these permissions to those users.
To configure the Field Service
7. Create a tab for the Map Polygon custom object. Lightning managed
8. From the App Launcher, find and open the Field Service Admin app, and then click the Field package:
Service Settings tab. • Customize Application
232
Field Service Lightning Work in the Dispatcher Console Map
Note: The service territory field is used during appointment scheduling. When a new service appointment is created, the
Service Territory field auto-populates based on the appointment’s address. When a service appointment address changes and
its Service Territory field is empty, the address is matched to a polygon and that polygon’s territory.
Tip: Create custom actions to add to the actions list on polygons. For details, see Create Custom Actions for the Dispatcher Console.
233
Field Service Lightning Work in the Dispatcher Console Map
234
Field Service Lightning Field Service Lightning Object Fields
235
Field Service Lightning Field Service Lightning Objects
236
Field Service Lightning Field Service Lightning Objects
Field Service Mobile Settings A collection of settings related to the Field Service Lightning mobile
app.
Linked Article A knowledge article version that is attached to a work order, work order
line item, or work type.
Maintenance Asset An asset associated with a particular maintenance plan. The plan’s
work orders list the asset associated with it.
Maintenance Plan A plan for preventive maintenance on assets. Work orders are generated
for all maintenance visits.
Mobile Settings Assignment The assignment of a field service mobile settings configuration to a
user profile.
Operating Hours Field service hours that you can define for service territories, service
territory members, and accounts.
Product Consumed A product from your inventory that was used to complete a work order
or work order line item.
Product Item A portion of your inventory stored at a particular location. Every product
item is linked to a product and a location.
Product Request Line Item A subdivision of a product request, associated with a particular product.
Product Required A product that is required for the completion of a work order or work
order line item.
237
Field Service Lightning Field Service Lightning Objects
Service Crew A group of service resources that can be assigned to field service work
as a unit.
Service Resource A user or crew who can perform field service work. You can assign
service resources to service appointments and specify each resource’s
skills, service territory, and availability.
Service Resource Capacity The maximum number of scheduled hours or number of service
appointments that a capacity-based service resource can complete
within a specific time period.
Service Resource Skill A skill assigned to a service resource. You can specify skill level and
expiration.
Service Territory A region in which field service work is performed. You can assign service
resources to territories and create territory hierarchies.
Service Territory Member A service resource who is assigned to a particular service territory.
Skill Requirement A skill that is required to complete a particular field service task. Skill
requirements can be added to work types, work orders, and work order
line items.
Time Sheet Entry A period of time in which a service resource performs a specific function.
Time Slot A period of time on a specified day of the week during which field
service work can be performed. Operating hours consist of one or more
time slots.
Work Order Line Item Status Corresponds to the Status field on work order line items.
Work Type A template that helps you standardize your work orders.
238
Field Service Lightning Field Service Lightning Objects
Work Type Group Member A work type that belongs to a particular work type group.
The following objects are available whether or not Field Service Lightning is enabled. You’ll likely encounter them when completing
field service tasks.
Work Order A record that tracks work to be performed for customers. Work orders
can have their own service appointments and work order line items.
Work Order Line Item A subdivision of a work order, often representing a task to be
completed.
Custom Objects
The following objects are provided by the Field Service Lightning managed package. You can view them in Setup and create custom
tabs for them. Customize these objects only based on Salesforce’s recommendations.
Crew Management User Settings Territory A user’s crew management preferences for the most recently
loaded service territory.
239
Field Service Lightning Field Service Lightning Objects
Scheduling Policy A set of work rules and service objectives that guides schedule
optimization.
Scheduling Policy Work Rule A work rule assigned to a specific scheduling policy.
Territory Optimization Request A schedule optimization request for a specific service territory.
User Setting The user’s dispatcher console preferences, such as the last filters
used. Do not customize.
User Setting Territory A user’s dispatcher console preferences for the most recently loaded
service territory.
User Territory A relationship between a user and the service territory that they
belong to.
Work Rule A rule that narrows the list of candidates for a service appointment.
240
Field Service Lightning Linked Article Fields
Linked Object Type Read only. The type of record that the article is
attached to. For example, if the article is
attached to a work order, this field displays
“Work Order.”
Record Type ID The record type of the linked article. This field is
populated only if record types are used.
241
Field Service Lightning Location Fields for Field Service
242
Field Service Lightning Location Fields for Field Service
Root Location (Read Only) The top-level location in the location’s hierarchy.
Address
Addresses are mailing, billing, or home addresses, typically associated with a location. They have the following fields.
Location Type The type of location associated with the address. The values are:
• Warehouse (default)
• Site
• Van
• Plant
Associated Location
Associated locations represent a relationship between an account and a location. Multiple accounts can be associated with a location;
for example, a shopping mall location might be related to several accounts. They have the following fields.
243
Field Service Lightning Maintenance Plan Fields
Active From Date and time the location starts being associated with the account.
Active To Date and time when the location is no longer associated with the
account.
Associated Location Name (Read Only) Auto-generated number for the association.
Date of the first work order in the next batch The suggested date of service for the first work
order (not the date the work order is created).
This corresponds to the work order’s Suggested
244
Field Service Lightning Maintenance Plan Fields
Frequency (Required) Amount of time between the plan’s work orders. The
unit is specified in the Frequency Type field.
Generate new batch upon completion If both this option and Auto-generate work orders are selected,
a new batch of work orders isn’t generated until the last work order
generated from the maintenance plan is completed. A work order
is considered completed when its status falls into one of the
following status categories: Cannot Complete, Canceled,
Completed, or Closed.
If a maintenance plan covers multiple assets, work orders are
generated per asset. If a maintenance asset’s final work order is
completed late, its work order generation is delayed, which may
cause a staggered generation schedule between maintenance
assets.
245
Field Service Lightning Maintenance Plan Fields
Generation Timeframe (Required) How far in advance work orders are generated in each
batch. The unit is specified in the Generation Timeframe Type field.
Maintenance Plan Number (Read Only) An auto-assigned number that identifies the
maintenance plan.
Maintenance Window End (Days) Days after the suggested service date on the work order that its
service appointment can be scheduled.
Maintenance Window Start (Days) Days before the suggested service date on the work order that its
service appointment can be scheduled.
The maintenance window start and end fields affect the Earliest
Start Permitted and Due Date fields on the maintenance plan’s
work orders’ service appointments. For example, if you enter 3 for
both the maintenance window start and end, the Earliest Start
Permitted and the Due Date will be 3 days before and 3 days after,
respectively, the Suggested Maintenance Date on each work order.
If the maintenance window fields are left blank, the service
appointment date fields list their work order’s suggested
maintenance date.
Service Appointment Generation Method How service appointments are generated when more than one
asset is assoicated with the maintenance plan and work order
generation method is One work order line item per asset.
Choices are one service appointment for the parent work order or
one service appointment for each work order line items.
246
Field Service Lightning Maintenance Plan Fields
Work Order Generation Method How work orders are generated when more than one asset is
assoicated with the maintenance plan. Choices are one work order
for each asset or one parent work order and work order line items
for each asset.
Work Order Generation Status (Read Only) Indicates whether the work order generation is in
progress or complete. You can generate only one batch at a time.
Work Type The associated work type. Work orders generated from the
maintenance plan inherit its work type’s duration, required skills
and products, and linked articles. Maintenance assets covered by
the plan use the same work type, though you can update them to
use a different one.
Maintenance Asset
A maintenance asset is a part or product covered by the maintenance plan. The Assets related list on the maintenance plan lists all
covered assets. An asset can be covered by multiple maintenance plans.
Contract Line Item Contract line item associated with the maintenance asset. This field
can only list a contract line item that is associated with the asset,
and whose parent service contract is associated with the parent
maintenance plan.
Date of the first work order in the next batch The suggested date of service for the first work order (not the date
the work order is created). This corresponds to the work order’s
Suggested Maintenance Date. If left blank when the maintenance
asset is created, this field inherits its initial value from the related
maintenance plan. It auto-updates after each batch is generated.
Maintenance Asset Number (Read Only) An auto-assigned number that identifies the
maintenance asset.
Work Type Work type associated with the maintenance asset. Work orders
generated from the maintenance plan inherit its work type’s
duration, required skills and products, and linked articles.
Maintenance assets covered by the plan use the same work type,
though you can update them to use a different one.
247
Field Service Lightning Operating Hours Fields for Field Service
*The field label for the next suggested maintenance date on maintenance plans and maintenance assets is Date of the first work order
in the next batch.
Time Zone The time zone that the operating hours fall
within.
Time Slot
Time slots represent a time period within a day when field service work can be completed. After you create operating hours, create time
slots for each day via the Time Slots related list.
Name The name of the time slot. The name is auto-populated to a day
and time format—for example, Monday 9:00 AM - 10:00 PM—but
you can manually update it if you wish.
Operating Hours The operating hours that the time slot belongs to. An operating
hours’ time slots appear in the Operating Hours related list.
Type The type of time slot. Possible values are Normal and Extended.
You may choose to use Extended to represent overtime shifts.
248
Field Service Lightning Product Request and Transfer Fields
249
Field Service Lightning Product Request and Transfer Fields
Work Order Line Item The work order line item associated with the product request.
Case The case associated with the product request line item.
Parent The product request that the line item belongs to.
Product Request Line Item Number (Read Only) An auto-assigned number that identifies the product
request line item.
Quantity Unit Of Measure Units of the requested product; for example, kilograms or liters.
Quantity Unit of Measure picklist values are inherited from the
Quantity Unit of Measure field on products.
Shipment Type The type of shipment. The picklist includes the following values,
which can be customized:
• Rush
• Overnight
• Next Business Day
• Pick Up
Status The status of the shipment. The picklist includes the following
values, which can be customized:
• Draft
• Submitted
• Received
250
Field Service Lightning Product Request and Transfer Fields
Work Order Line Item The work order line item associated with the product request line
item.
Product Transfer
Product transfers track the transfer of product items between inventory locations. They have the following fields.
Product Name The product associated with the product transfer. If the product is
being transferred from outside your inventory—for example, if it’s
being ordered from a manufacturer—enter a product name.
Otherwise, we recommend entering a source product item.
Product Request The product request associated with the product transfer. Not all
transfers are created in response to a product request.
Product Request Line Item The product request line item associated with the product transfer.
Create a separate transfer for each line item on a product request.
Quantity Unit Of Measure The units of the product; for example, kilograms or liters. Quantity
Unit of Measure picklist values are inherited from the Quantity Unit
of Measure field on products.
Received Indicates that the product was received. To mark a product transfer
received, you need permission to update product items. Once you
mark a product item received, you can’t undo it.
Received By The contact who received the product at the destination location.
Return Order The return order associated with the product transfer.
Return Order Line Item The return order line item associated with the product transfer.
Shipment Expected Delivery Date The expected date of delivery, inherited from the related shipment.
251
Field Service Lightning Product Request and Transfer Fields
Shipment Tracking Number The shipment tracking number, inherited from the related
shipment.
Shipment Tracking URL The shipment tracking URL, inherited from the related shipment.
Source Product Item The product item representing the stock at the source location.
Enter a source product item if the product is being transferred from
a location within your inventory, such as a warehouse. Specifying
a source product item on a product transfer automatically updates
the quantity at the source location to reflect the transfer.
If the product is being transferred from outside your inventory—for
example, if it’s being ordered from a manufacturer—use the
Product Name field instead.
Shipment
A shipment tracks a product item while it is in transit. They have the following fields.
Shipment Number (Read Only) An auto-assigned number that identifies the shipment.
252
Field Service Lightning Product Item and Inventory Fields
Status The status of the shipment. The picklist includes the following
values, which can be customized:
• Shipped—The product is in transit.
• Delivered—The product is at the destination location.
Quantity Unit of Measure Units of the product item; for example, kilograms
or liters. Quantity Unit of Measure picklist values
are inherited from the Quantity Unit of Measure
field on products.
253
Field Service Lightning Product Item and Inventory Fields
Product Item Transaction Number (Read Only) Auto-generated number identifying the product item
transaction.
Related Record (Read Only) The product consumed or product transfer related to
the action. If the action wasn’t related to consumption or transfer,
the related record is blank.
Product Required
Products required are products that are needed to complete a work order or work order line item. You can add products required to
work orders, work order line items, and work types. They have the following fields.
Parent Record Type Indicates whether the parent record is a work order or a work order
line item.
254
Field Service Lightning Product Item and Inventory Fields
Quantity Unit of Measure Units of the required product; for example, kilograms or liters.
Quantity Unit of Measure picklist values are inherited from the
Quantity Unit of Measure field on products.
Product Consumed
Products consumed are items from your inventory that were used to complete a work order or work order line item. They have the
following fields.
Note: To create or delete products consumed, you need permission to create product items.
Price Book Entry Price book associated with the product consumed. If the work
order and the product item’s associated product are related to the
same price book, the Price Book Entry auto-populates based on
the product item.
Product Consumed Number (Read Only) Auto-generated number identifying the product
consumed.
Product Item Product item associated with the product consumed. Creating a
product consumed record subtracts the quantity consumed from
the linked product item’s quantity.
Quantity Unit of Measure Units of the consumed item; for example, kilograms or liters.
Quantity Unit of Measure picklist values are inherited from the
Quantity Unit of Measure field on products.
Work Order Line Item Work order line item associated with the product consumed.
255
Field Service Lightning Return Order Fields
Destination Location The location where the items are being returned
to. For example, if the return order tracks the
return of products from a technician’s van to a
warehouse, the warehouse is the destination
location.
Expected Arrival Date The date when the items are expected to arrive
at the destination location.
256
Field Service Lightning Return Order Fields
Ship From Address The return shipping address. This address tracks the location of the
items at the start of the return or repair. For example, if a customer
is returning an item, the Ship From address is the customer’s
address.
Shipment Type The type of shipment associated with the return order. Available
values are:
• Standard (default value)
• Rush
• Overnight
• Next Business Day
• Pickup
Source Location The items’ location at the start of the return or repair. For example,
if the return order tracks the return of products from a technician’s
service vehicle to a warehouse, the service vehicle is the source
location.
Destination Location The location where the items are being returned to. For example,
if the return order tracks the return of products from a technician’s
van to a warehouse, the warehouse is the destination location.
Order Product The order product associated with the return order line item. One
or more of the following fields must be filled out: Asset, Order
Product, Product, Product Item, and Product Request Line Item.
257
Field Service Lightning Return Order Fields
Product The product item representing the location of the product at the
start of the return. One or more of the following fields must be
filled out: Asset, Order Product, Product, Product Item, and Product
Request Line Item.
Product Item The product item associated with the return order line item. One
or more of the following fields must be filled out: Asset, Order
Product, Product, Product Item, and Product Request Line Item.
Product Request Line Item The product request line item associated with the return order line
item. One or more of the following fields must be filled out: Asset,
Order Product, Product, Product Item, and Product Request Line
Item.
Quantity Returned The quantity of items being returned. If multiple types of products
are being returned, track each product in a different return order
line item.
Quantity Unit of Measure Units of the returned items; for example, kilograms or liters. Quantity
Unit of Measure picklist values are inherited from the Quantity Unit
of Measure field on products.
Reason for Return The reason the items are being returned. Available values are:
• Damaged
• Defective
• Duplicate Order
• Wrong Item
• Wrong Quantity
• Not Satisfied
• Outdated
• Other
Repayment Method The method by which the customer or owner is reimbursed for
the items being returned. Available values are:
• Replace—The items are replaced
• Refund—The items are returned and the owner is refunded
• Credit—The items are returned and the owner receives credit
for them
258
Field Service Lightning Service Appointment Fields for Field Service
Return Order The return order that the return order line item belongs to.
Return Order Line Item Number (Read only) Auto-generated number that identifies the return order
line item.
Source Location The items’ location at the start of the return or repair. For example,
if the return order tracks the return of products from a technician’s
service vehicle to a warehouse, the service vehicle is the source
location.
259
Field Service Lightning Service Appointment Fields for Field Service
Arrival Window Start The beginning of the window of time in which the technician is
scheduled to arrive at the site. This window is typically larger than
the Scheduled Start and End window to allow time for delays and
scheduling changes. You may choose to share the Arrival Window
Start and End with the customer, but keep the Scheduled Start
and End internal-only.
Contact The contact associated with the appointment. If the parent record
is a work order or work order line item, this field’s value is inherited
from the parent.
Due Date The date by which the appointment must be completed. Earliest
Start Permitted and Due Date typically reflect terms in the
customer’s service-level agreement.
Earliest Start Permitted The date after which the appointment must be completed. Earliest
Start Permitted and Due Date typically reflect terms in the
customer’s service-level agreement.
Parent Record The parent record associated with the appointment. The parent
record can’t be updated after the service appointment is created.
Parent Record Status Category (Read only) The Status Category of the parent record. If the parent
record is a work order or work order line item, this field is populated;
otherwise, it remains blank.
Parent Record Type (Read only) The type of parent record: Account, Asset, Lead,
Opportunity, Work Order, or Work Order Line Item.
Scheduled End The time at which the appointment is scheduled to end. If you are
using the Field Service Lightning managed package with the
scheduling optimizer, this field is populated once the appointment
is assigned to a resource. Scheduled End – Scheduled Start =
Estimated Duration.
260
Field Service Lightning Service Appointment Fields for Field Service
Service Territory The service territory associated with the appointment. If the parent
record is a work order or work order line item, the appointment
inherits its parent’s service territory.
Status The status of the appointment. The picklist includes the following
values, which can be customized:
• None—Default value.
• Scheduled—The service appointment is scheduled.
• Dispatched—The service resource is in route.
• In Progress—The service resource started the work.
• Cannot Complete—The service resource couldn’t complete
the appointment for any reason.
• Completed—The service resource completed the work.
• Canceled—The service appointment has been canceled.
Status Category The category that each Status value falls into. The Status Category
field’s values are identical to the standard Status values.
If you create custom Status values, you must indicate which
category it belongs to. For example, if you create a Customer
Absent value, you may decide that it belongs in the Cannot
Complete category.
To learn which processes reference Status Category, see How are
Status Categories Used?
Work Type (Read only) The work type associated with the service appointment.
The work type is inherited from the appointment’s parent record
if the parent is a work order or work order line item.
261
Field Service Lightning Service Crew Fields
262
Field Service Lightning Service Report Fields
Leader Indicates that the member is the crew leader. Leaders can edit
assigned appointments and their parent records, while members
can only view them. Crew geolocation is based on the leader’s
location. Leaders appear in the crew management tool with a star
next to their name.
Service Crew The crew that the service resource belongs to.
Start Date Required. The day the service resource joins the crew.
263
Field Service Lightning Service Report Fields
Signed Indicates that the service report contains one or more signatures.
Digital Signature
Digital Signatures are signatures captured on service reports. For example, technicians can collect signatures from customers, technicians,
or anyone else involved in field service work.
Parent Record The service appointment, work order, or work order line item that
the service report belongs to.
Place Signed The place where the service report was signed.
Signature Type The role of the person signing. It comes with one value, Default.
Service reports can have one signature per type, so your admin
needs to create additional signature types in Setup.
Create at least one value for every role that might need to sign a
service report. For example, Technician, Customer, Supervisor, or
Supplier. If you want some service reports to be signed by multiple
people in one role—for example, if all technicians present at an
appointment should sign—create numbered types: Technician 1,
Technician 2, and so forth.
264
Field Service Lightning Service Resource Fields for Field Service
Include in Scheduling Optimization Use only if the Field Service Lightning managed
package is installed. When selected, this option
checks whether the resource can be assigned
to service appointments during the optimization
process. To be included in optimization,
resources need the Field Service Scheduling
permission set license. If this option is selected
and the resource doesn’t have the permission
set license, the user creating the service resource
is prompted to assign it.
265
Field Service Lightning Service Resource Fields for Field Service
Service Crew The associated service crew. If the service resource represents a
crew, select the crew.
Note: This field is hidden for all users by default. To use it,
update its field-level security settings in Setup and add it
to your service resource page layouts.
User The associated user. If the service resource represents a crew instead
of a single user, leave this field blank.
Resource Absence
Resource absences are periods of time in which a service resource isn’t available to work.
Absence Type The type of absence: Meeting, Training, Medical, or Vacation. You
can add custom values if needed, but the name Break is reserved
for the managed package.
End Time The date and time when the absence ends.
Start Time The date and time when the absence begins.
Resource Capacity
A service resource’s capacity indicates how much work the resource can perform in a specified time period.
266
Field Service Lightning Service Resource Fields for Field Service
Time Period Day, Week, or Month. For example, if a resource can work 80 hours
per month, select Month and enter 80 in Hours per Time Period.
Work Items per Time Period The total number of service appointments that the resource can
complete per time period. You must fill out this field, the Hours
per Time Period field, or both.
Assigned Resource
Assigned resources are service resources who are assigned to a service appointment. They appear in the Assigned Resources related list
on service appointments. Assign a service appointment to a service crew by creating an assigned resource record that is linked to the
service resource record representing the crew.
Estimated Travel Time (Minutes) The estimated travel time in minutes to the work site.
267
Field Service Lightning Service Territory Fields for Field Service
Resource Preference
Resource preferences indicate which service resources should be assigned to field service work. You can designate certain service
resources as preferred, required, or excluded on specific accounts or work orders. Work orders inherit their associated account’s resource
preferences.
Related Record The work order or account with the resource preference.
268
Field Service Lightning Service Territory Fields for Field Service
Operating Hours The territory’s operating hours, which indicate when service
appointments within the territory should occur. Service resources
who are members of a territory automatically inherit the territory’s
operating hours unless different hours are specified on the service
territory member record.
Parent Territory The territory’s parent service territory, if it has one. For example, a
Northern California territory can have a State of California territory
as its parent.
Top-Level Territory (Read only) The top-level territory in a hierarchy of service territories.
Depending on where a territory lies in the hierarchy, its top-level
territory might be the same as its parent.
Typical In-Territory Travel Time Estimated number of minutes needed to travel from one location
to another within the service territory. You can use this field in Apex
customization.
End Date The date when the service resource is no longer a member of the
territory. If the resource will be working in the territory for the
foreseeable future, leave this field blank. This field is mainly useful
for indicating when a temporary relocation ends.
Operating Hours The member’s operating hours, which are inherited from the service
territory.
Service Territory The service territory that the service resource is assigned to.
269
Field Service Lightning Service Territory Fields for Field Service
Territory Type • Primary: Where the resource works most often—for example,
near their home base. Service resources can have only one
primary territory.
• Secondary: Where the resource can be assigned to
appointments if needed. Service resources can have multiple
secondary territories with overlapping dates.
• Relocation: Representing a temporary move. Resources with
relocation territories are always assigned to appointments
within their relocation territories during the specified relocation
dates. If they don’t have a relocation territory, the primary
territories are favored over the secondary.
For example, a service resource can have the following territories:
• Primary territory: West Chicago
• Secondary territories:
– East Chicago
– South Chicago
Service Territory Location Number An auto-generated number identifying the territory location.
270
Field Service Lightning Shift Fields for Field Service
Created By (Read Only) User who created the time sheet. The Field Service Lightning
core features, managed
Created Date (Read Only) Date the time sheet was created. package, and mobile app
are available in Enterprise,
End Time The date and time that the shift ends.
Performance, Unlimited,
Job Profile Job profile associated with the shift. and Developer Editions.
Work orders are also
Label The customizable label, or name, for the shift. available in Professional
Edition.
Last Modified By (Read Only) User who last modified the time
sheet.
Last Modified Date (Read Only) Date the time sheet was last
modified.
Start Time The date and time that the shift starts.
Status Category The status of the shift using static values. This
field is derived from the Status field using the
mapping you define. The picklist includes the
following values:
• Tentative
• Published
• Confirmed
Time Slot Type The type of time slot for the shift. This field uses
the same values as the Time Slot field in the
Operating Hours object. The picklist includes
the following values:
271
Field Service Lightning Skill Fields for Field Service
Note: When you create a skill, leave the Assign Users and Assign Profiles sections blank. They
are specific to Chat, which also uses skills.
Skill Level The resource’s skill level. Skill level can range from zero to 99.99.
Start Date The date when the resource gains the skill. For example, if the skill
represents a certification, the start date would be the date of
certification.
272
Field Service Lightning Time Sheet Fields
Skill Requirement
Skill requirements are skills that a service resource needs to complete a task. They appear in the Skill Requirements related list on work
type, work order, and work order line item detail pages.
Skill Level The required skill level. Skill level can range from zero to 99.99.
Time Sheet End Date The last day the time sheet covers.
Time Sheet Entry Count (Read Only) The number of related time sheet
entries.
273
Field Service Lightning Time Sheet Fields
Created Date (Read Only) Date the time sheet entry was created.
Description A text box for notes on how the time was spent. For example, “This
service took longer than normal because the machine was
jammed.”
Duration (in Minutes) (Read Only) Minutes recorded on the time sheet entry.
Last Modified By (Read Only) User who last modified the time sheet.
Last Modified Date (Read Only) Date the time sheet was last modified.
Status The status of the time sheet entry. The picklist includes the
following values, which can be customized:
• None
• New
• Submitted
• Approved
Type The type of work performed. The picklist includes the following
values, which can be customized:
• None
• Direct
• Indirect
Work Order The work order related to the time sheet entry. Work orders are
searchable by their content.
Work Order Line Item The work order line item related to the time sheet entry. Work order
line items are searchable by their content.
274
Field Service Lightning Work Order Fields for Field Service
275
Field Service Lightning Work Order Fields for Field Service
Field Description
End Date The date when the work order is completed. This field is blank
unless you set up automation to configure it. For a sample workflow
rule that configures the Start Date field (a similar field), see below.
Entitlement Process End Time The time the work order exits an entitlement process. If an
entitlement process applies to a work order, this field appears.
Entitlement Process Start Time The time the work order entered an entitlement process. If an
entitlement process applies to a work order, this field appears.
Generated from maintenance plan (Read Only) Indicates that the work order was generated from a
maintenance plan, rather than manually created.
Grand Total (Read Only) The total price of the work order with tax added.
Last Modified Date The date when the work order was last modified.
Last Viewed Date The date when the work order was last viewed.
Line Items (Read Only) The number of work order line items on the work order.
Location The location associated with the work order. For example, a work
site.
Longitude Used with Latitude to specify the precise geolocation of the address
where the work order is completed. Acceptable values are numbers
between –180 and 180 with up to 15 decimal places.
Maintenance Plan The maintenance plan associated with the work order. When the
work order is auto-generated from a maintenance plan, this field
automatically lists the related plan.
276
Field Service Lightning Work Order Fields for Field Service
Field Description
an entitlement process applies to a work order, this field appears.
To learn more, see Milestone Statuses.
Minimum Crew Size The minimum crew size allowed for a crew assigned to the work
order.
If you’re not using the Field Service Lightning managed package,
this field serves as a suggestion rather than a rule. If you are using
the managed package, the scheduling optimizer counts the
number of service crew members on a service crew to determine
whether it fits a work order’s minimum crew size requirement.
Parent Work Order The work order’s parent work order, if it has one.
Postal Code The postal code where the work order is completed. Maximum
length is 20 characters.
Price Book The price book associated with the work order. Adding a price
book to the work order lets you assign different price book entries
(products) to the work order’s line items. This field is only available
if products are enabled.
Priority The priority of the work order. The picklist includes the following
values, which can be customized:
• Low
• Medium
• High
• Critical
Recommended Crew Size The recommended number of people on the service crew assigned
to the work order.
Record Type The record type associated with the work type.
Return Order The return order associated with the work order.
Return Order Line Item The return order line item associated with the work order.
277
Field Service Lightning Work Order Fields for Field Service
Field Description
Root Work Order (Read Only) The top-level work order in a work order hierarchy.
Depending on where a work order lies in the hierarchy, its root
might be the same as its parent.
Service Appointment Count The number of service appointments on the work order.
Service Contract The service contract associated with the work order.
Service Report Language The language used for all service reports and service report
previews created for the work order, its service appointments, and
its work order line items and their service appointments. If the field
is blank, service reports are generated in the default language in
Salesforce of the person creating the report.
To appear as an option in the Service Report Language field, a
language must be set up in Translation Workbench or be one of
Salesforce’s 18 fully supported languages. Service report field names
are translated, but rich text field names, service report section
names, and text field values (such as service notes) aren’t translated.
Service Report Template The service report template that the work order’s service reports
should use.
If you don’t specify a service report template on a work order, it
uses the service report template listed on its work type. If the work
type doesn’t list a template or no work type is specified, the work
order uses the default service report template.
Service Territory The service territory where the work order is taking place.
Start Date The date when the work order goes into effect. This field is blank
unless you set up automation to populate it. For a sample workflow
rule that configures this field, see below.
State The state where the work order is completed. Maximum length is
80 characters.
Status The status of the work order. The picklist includes the following
values, which can be customized:
• New—Work order was created, but there hasn’t yet been any
activity.
• In Progress—Work has begun.
• On Hold—Work is paused.
• Completed—Work is complete.
• Cannot Complete—Work could not be completed.
• Closed—All work and associated activity is complete.
278
Field Service Lightning Work Order Fields for Field Service
Field Description
• Canceled—Work is canceled, typically before any work began.
Changing a work order’s status does not affect the status of its
work order line items or associated service appointments.
Status Category The category that each status value falls into. The Status Category
field has eight default values: seven values which are identical to
the default Status values, and a None value for statuses without a
status category.
If you create custom Status values, you must indicate which
category it belongs to. For example, if you create a Waiting for
Response value, you may decide that it belongs in the On Hold
category.
To learn which processes reference Status Category, see How are
Status Categories Used?
Street The street number and name where the work order is completed.
Subject The subject of the work order. Try to describe the nature and
purpose of the job to be completed. For example, “Annual on-site
well maintenance.” The maximum length is 255 characters.
Subtotal (Read Only) The total of the work order line items’ subtotals before
discounts and taxes are applied.
Suggested Maintenance Date The suggested date that the work order is completed. When the
work order is generated from a maintenance plan, this field is
automatically populated based on the maintenance plan’s settings.
Tax The total tax on the work order. For example, in a work order whose
total price is $100, enter $10 to apply a 10 percent tax. You can
enter a number with or without the currency symbol and you can
use up to two decimal places.
Total Price (Read Only) The total of the work order line items’ price after
discounts but before tax is added.
Work Order Number An auto-generated number that identifies the work order.
Work Type The work type associated with the work order. When a work type
is selected, the work order automatically inherits the work type’s
Duration, Duration Type, and required skills.
Example: The Start Date and End Date fields are blank by default, but you can set up workflow rules to configure them. The
following rule populates the Start Date field with the current date and time when the Status field is changed to In Progress:
1. Create a workflow rule on the Work Order object:
279
Field Service Lightning Work Order Line Item Fields for Field Service
Currency ISO Code The ISO code for any currency allowed by the
organization. Available only for orgs with the
multicurrency feature enabled.
280
Field Service Lightning Work Order Line Item Fields for Field Service
Field Description
Duration The estimated time required to complete the line item. Specify the
duration unit in the Duration Type field.
Is Closed Indicates whether the line item has been closed. Changing the line
item’s status to Closed causes this checkbox to be selected in the
user interface.
Is Generated From Maintenance Plan Identifies whether the work order line item is generated from a
maintenance plan.
Last Referenced Date The date when the line item was last modified. Its label in the user
interface is Last Modified Date
Last Viewed Date The date when the line item was last viewed.
Line Item Number An auto-generated number that identifies the line item.
List Price The price of the line item (product) as listed in its corresponding
price book entry. If a product isn’t specified, the list price defaults
to zero. (Read only)
Location A location associated with the work order line item. For example,
a work site.
Longitude Used with Latitude to specify the precise geolocation of the address
where the work order is completed. Acceptable values are numbers
between –180 and 180 with up to 15 decimal places.
Maintenance Plan The maintenance plan associated with the work order line item.
Minimum Crew Size The minimum crew size allowed for a crew assigned to the line
item.
If you’re not using the Field Service Lightning managed package,
this field serves as a suggestion rather than a rule. If you are using
281
Field Service Lightning Work Order Line Item Fields for Field Service
Field Description
the managed package, the scheduling optimizer counts the
number of service crew members on a service crew to determine
whether it fits a line item’s minimum crew size requirement.
Order The order associated with the line item. For example, you may
need to order replacement parts before you can complete the line
item.
Parent Work Order Line Item The line item’s parent line item, if it has one.
Tip: View, create, and delete a line item’s child line items
in the Child Work Order Line Items related list.
Postal Code The postal code where the line item is completed. Maximum length
is 20 characters.
Pricebook Entry The price book entry (product) associated with the line item. The
label in the user interface is Product. This field’s lookup search
only returns products that are included in the work order’s price
book.
Priority The priority of the line item. The picklist includes the following
values, which can be customized:
• Low
• Medium
• High
• Critical
Product The product (price book entry) associated with the line item. This
field’s lookup search only returns products that are included in the
parent work order’s price book.
Recommended Crew Size The recommended number of people on the service crew assigned
to the line item.
Return Order The return order associated with the work order line item.
Return Order Line Item The return order line item associated with the work order line item.
Root Work Order Line Item The top-level line item in a line item hierarchy. Depending on
where a line item lies in the hierarchy, its root might be the same
as its parent. (Read only)
Service Appointment Count The number of service appointments on the work order line item.
Service Report Template The service report template that the line item’s service reports
should use.
If you don’t specify a service report template on a work order line
item, it uses the service report template listed on its work type. If
282
Field Service Lightning Work Order Line Item Fields for Field Service
Field Description
the work type doesn’t list a template or no work type is specified,
the line item uses the default service report template.
Note: This field stays blank unless you update it on the line
item. So to find out which template the line item’s service
reports will use, check its work type.
Service Territory The service territory where the line item work is taking place.
Start Date The date when the line item goes into effect.
State The state where the line item is completed. Maximum length is 80
characters.
Status The status of the line item. The picklist includes the following values,
which can be customized:
• New—Line item was created, but there hasn’t yet been any
activity.
• In Progress—Work has begun.
• On Hold—Work is paused.
• Completed—Work is complete.
• Cannot Complete—Work could not be completed.
• Closed—All work and associated activity is complete.
• Canceled—Work is canceled, typically before any work began.
Status Category The category that each status value falls into. The Status Category
field has eight default values: seven values which are identical to
the default Status values, and a None value for statuses without a
status category.
If you create custom Status values, you must indicate which
category it belongs to. For example, if you create a Waiting for
Response value, you may decide that it belongs in the On Hold
category.
To learn which processes reference Status Category, see How are
Status Categories Used?
Street The street number and name where the line item is completed.
Subtotal The line item’s unit price multiplied by the quantity. (Read only)
Total Price The line item’s subtotal with discounts applied. (Read only)
Unit Price By default, the unit price for a line item is the product’s list price
from the price book, but you can change it.
283
Field Service Lightning Work Type Fields for Field Service
Field Description
Work Order The parent work order of the line item. Because work order line
items must be associated with a work order, this field is required.
Work Order Line Item Number An auto-generated number that identifies the work order line item.
Work Type The work type associated with the line item. When a work type is
selected, the work order line item automatically inherits the work
type’s Duration, Duration Type, and required skills.
Description The description of the work type. Try to add details about the task or
tasks that this work type represents.
Estimated Duration The estimated length of the work. The estimated duration is in
minutes or hours based on the value selected in the Duration Type
field.
Exact Appointments If selected, service appointment time slots reflect the time needed
for the work rather than a time window in which the work occurs.
284
Field Service Lightning Work Type Fields for Field Service
Minimum Crew Size The minimum crew size allowed for a crew assigned to records using the work type.
If you’re not using the Field Service Lightning managed package, this field serves as a suggestion
rather than a rule. If you are using the managed package, the scheduling optimizer counts the
number of service crew members on a service crew to determine whether it fits a record’s
minimum crew size requirement.
Note: This field is hidden for all users by default. To use it, update its field-level security
settings and add it to your work type page layouts.
Name The name of the work type. Try to use a name that helps users quickly understand the type of
work orders that can be created from the work type. For example, “Annual Refrigerator
Maintenance” or “Valve Replacement.”
Recommended Crew Size The recommended number of people on the service crew assigned to the record using this
work type.
Note: This field is hidden for all users by default. To use it, update its field-level security
settings and add it to your work type page layouts.
Service Report Template The service report template associated with the work type.
If you choose not to specify a service report template on a work order, it uses the service report
template listed on its work type. If the work type doesn’t list a template or no work type is
specified, the work order uses the default service report template. The same is true for work
order line items.
285
Field Service Lightning Field Service Lightning Mobile App
Work order overview screen Help your team quickly find the information they
need to complete assignments. The work order
286
Field Service Lightning Field Service Lightning Mobile App Requirements
Feature Description
overview screen displays information about a work order’s service
appointments, line items, asset history, and more.
Find nearby work Help your team find other work orders in the same location so they
can take care of nearby jobs.
Inventory tab Let your team manage track consumption, request products, and
view their inventory from the app.
287
Field Service Lightning Field Service Lightning Mobile App Considerations
Because we enhance functionality with every release, we support the latest version of the Field Service Lightning app available in Google
Play or the App Store only.
For optimal performance, keep your mobile devices’ operating systems updated and upgrade to the latest model of devices as allowed
by your mobile plan. Future versions of the Field Service Lightning mobile app may require removing support for older operating systems,
and sometimes newer operating systems don’t perform well on older devices.
Salesforce Customer Support uses commercially reasonable efforts to troubleshoot issues with the Field Service Lightning app, provided:
• A user’s device meets current minimum platform requirements
• Field Service Lightning app users have the most recent version installed
Wireless Connection
The Field Service Lightning app is optimized for offline performance, but a Wi-Fi® or cellular network connection is needed for the app
to communicate with Salesforce. For cellular connections, a 3G network or faster is required. For the best performance, we recommend
using Wi-Fi or LTE.
288
Field Service Lightning Field Service Lightning Mobile App Considerations
• If a service report template includes a related list, but the record that the service report is being generated for doesn’t have
the related list on its page layout, the related list isn’t populated.
• On the printed report, all related lists are printed. In the mobile preview, a related list must be on the preview page layout
to appear on the preview.
Inventory Management
• App users can add only one serialized product item as a product consumed on work orders. This limitation doesn’t apply to non-mobile
platforms.
• For better performance, only 1,000 of the most recently modified inventory items are primed.
• Only 1,000 products are shown in inventory lists.
Chatter
• The Feed tab in iOS is supported only on the work order, work order line item, service appointment, and case objects. The Feed tab
in Android is supported only on the work order, work order line item, and service appointment objects.
• (Android only) Chatter is disabled when the app doesn’t have internet connectivity.
Knowledge
• (iOS only) Images in knowledge articles display normally if they are hosted outside of Salesforce. Images uploaded to Salesforce
don't load correctly. As an alternative, we recommend using an image link that users can open themselves. You can avoid this issue
by selecting the option to use POST requests for cross-domain sessions. Find this option on the Session Settings page in Setup.
• (Android only) If a device is running in any of Salesforce’s 26 supported languages, the app automatically translates knowledge
articles to that language. Otherwise, the app defaults to English.
• (Android only) The Knowledge Article action isn't visible on the Work Order Overview screen. View knowledge articles using the
related list.
Barcode Scanner
• The barcode scanner is compatible only with 1D serial barcodes and 2D QR codes.
• In barcode scanning, the Android app uses the Zebra Crossing library. The iOS app uses Apple’s built-in libraries, except for
AVMetadataObjectTypeFace. For details, see AVMetadataObjectType.
Flows
• Select formula functions and operators are available offline. See Available Formula Functions and Operators on page 327.
• Screen flows launched using quick actions or app extensions aren't supported.
289
Field Service Lightning Field Service Lightning Mobile App Considerations
Note: Some flows that have actions with output parameters may not cause an error immediately, but they are still not
supported.
• Flow picklists that include a default value are not supported. If you choose a default value, it is not shown as the default value in the
picklist.
• Flow record variables require record fields to be accessed through their field API names. Use of field relationship names is not
supported.
• Record field lookups are limited to one level of indentation. If more levels are required, use assignment elements.
• Flow text areas have a 2000 character limit.
• Using semicolons when defining user choices in flow checkbox groups and multi-select picklists is not supported. If you use semicolons
for user choices, the data does not render accurately.
• Record Choice Sets do not retain the value that is selected. A Record Choice Set variable cannot be used to determine what selection
was made; however, the component used to make the selection (such as a picklist) saves that value for later use.
Work Orders
To numerically sort work order line item records, use the following format.
• Add a zero, if needed, to create a two-digit number. For example, 02 correctly sorts before 12.
• If 100 items or more are required, add zeros to create a three-digit number. For example, 002 and 012 correctly sorts before 100.
290
Field Service Lightning Field Service Lightning Mobile App Considerations
General Limitations
• When displaying related lists in the mobile app (such as the work order line items for a work order), we may not be able to display
more than 200 items due to performance considerations.
• Plain text fields no longer support rich text or HTML content.
• Time fields (without a date) are not supported in the FSL mobile app.
• Under the profile tab, only 10 resource absence records are displayed.
• The Notes related list is not supported.
• Under the Files related list, only 50 files are displayed.
• Visualforce pages aren’t supported in the app, including actions and Visualforce components on page layouts.
• Lightning Component and custom override quick actions aren’t supported.
• Lookup filters aren’t supported.
• Enhanced notes are not supported.
• Users are not able to change the ownership of objects, like Service Appointments or Work Orders.
• In some countries, certain mapping features (such as driving directions and ETA) are not supported for Apple or Google maps.
• Google Maps is the only supported mapping application for features in the Field Service Lightning app.
• If a user's device is offline, its location data can't be accessed. When the device is back online, its last known location is sent to
Salesforce.
• Contact cards can't be viewed on the Work Order Overview screen. To view the contact information for a work order, add the Contact
field to the FSL Service Appointment Layout.
• Formulas aren't supported on the Details tab.
• If a default list view is selected, all list views that a user has access to display in the app. There is no way to hide or suppress specific
list views in the Field Service app.
• The Event Insights card is available only on Android devices.
• (Android only) By default, you must use a Lightning app extension to automatically open records in the Salesforce app.
• (Android only) There is no Notification tab.
• (Android only) Features that use Google services, like push notifications and Google maps, are not supported in China.
• (Android only) Related list file previews are limited to .pdf, .html, and .txt file types. To view other file types you must have third-party
apps installed. For example, to view spreadsheets you need to download an application like Google Sheets.
• (iOS only) Only plain text is supported for rich text fields.
• (iOS only) Default values are not available in offline mode.
• (iOS only) Lookup fields, like Account, aren’t supported on the Schedule, Work Order, and Work Order Line Item tabs.
• (iOS only) Custom override on actions isn’t supported, including custom override on lookup logic.
291
Field Service Lightning Field Service Lightning Mobile Security
For information about data protection regulations and Service Cloud, see Data Protection and The Field Service Lightning
Privacy. core features, managed
package, and mobile app
are available in Enterprise,
Local Encryption at Rest Performance, Unlimited,
Encryption boosts the security of your customers’ data and helps you comply with privacy policies, and Developer Editions.
Work orders are also
regulatory requirements, and contractual obligations. Shield Platform Encryption and Field Audit
available in Professional
Trail are supported for the following fields on work orders, work order line items, and service
Edition.
appointments:
• Description Field Service Lightning
mobile users need the Field
• Subject Service Mobile user license
• Address (Street and City only) to access the app.
To encrypt these fields, add them to your Encryption Policy in Setup. The Subject and Address fields
support both probabilistic and deterministic encryption, while the Description field supports only
probabilistic encryption. If Field Audit Trail is enabled, you can set field history data retention policies for the fields whose data you want
to retain.
Important:
• Encryption is not supported for the Latitude and Longitude fields, which could be used to pinpoint an address.
• When you encrypt a field, existing values aren’t encrypted. Contact Salesforce for help with encrypting existing data.
Offline data is stored using Core Data, and encrypted using Data is stored using the Sqlcipher provider for Sqlite3. Cached data
NSFileProtectionCompleteUntilFirstUserAuthentication. This is purged based on a least-recently-used cache policy.
authentication dictates how passcodes are exposed internally to
access the offline data. The passcode for the offline data is removed
from the local keychain when Salesforce is closed or running in
the background. Salesforce offline data is only accessible when the
app is open and in the foreground.
Files and attachments are stored on the device’s file system in a Files are stored in an iOS sandboxed directory and are also
double-encrypted format. The device’s hardware encryption encrypted by application encryption. While viewing, files are
encrypts the files while the device is locked. In addition, Salesforce temporarily unencrypted in another sandbox directory, but are
292
Field Service Lightning Field Service Lightning Mobile Security
Feed data is stored using Core Data, and encrypted using All Chatter feed data is stored with the Sqlcipher provider for
NSFileProtectionCompleteUntilFirstUserAuthentication. This Sqlite3. Cached data is purged based on a least-recently-used cache
authentication dictates how passcodes are exposed internally to policy.
access the feed data. The passcode for the feed data is removed In addition, Feed functionality is provided by a shared component,
from the local keychain when Salesforce is closed or running in which makes the experience on iOS and Android the same.
the background. Salesforce feed data is only accessible when the
app is open and in the foreground.
Also, the feed data storage is time-based. The feed cache purges
items older than one week, unless the remainder of feed items is
fewer than 25 items. Also feeds that have more than 500 items
have their excess items removed.
User Authentication
the Salesforce mobile app supports certificate-based login, whereby Certificate-based authentication is a function of the Identity
the customer can push a unique certificate to the device using Provider. Files are stored in the application directory and are
Mobile Device Management (MDM). The certificate can encrypted using application encryption. The files are decrypted
authenticate the user to Salesforce. while viewing and deleted after the view operation is complete.
The directory is cleared when the user logs out.
293
Field Service Lightning Field Service Lightning Mobile Security
Trusted IP Ranges
Logins to the Field Service Lightning mobile app can be restricted to specific trusted IP ranges, which is also true for the Salesforce mobile
app. You can implement this using a Virtual Private Network (VPN) solution on mobile devices. After logging in to VPN, users can log in
to the app. Afterwards, the user can log in to Salesforce.
Device Identification
Salesforce is piloting a new feature to track device fingerprints accessing the Salesforce services. The feature supports the ability to see
who logged in with a particular device and to revoke access to specific devices.
Note: This feature does not work on Samsung phones (and other manufacturers of Android phones) where a custom clipboard
implementation is used.
• FORCE_EMAIL_CLIENT_TO : If a user taps on an email action within the app, the user is directed to the email app specified in the
attribute value.
• SHOW_OPEN_IN : Prevents users from opening files in applications outside of the app.
• SHOW_PRINT : Used to disable printing from within the app.
The following table shows the level of support for these features in the Field Service Lightning (FSL) mobile app as well as the Salesforce
mobile app.
FORCE_EMAIL_CLIENT_TO
SHOW_PRINT
294
Field Service Lightning Field Service Lightning Android and iOS Mobile App
Comparison
The Field Service Mobile app settings are non-restrictive by default. To change a setting from the default value, go to Setup.
Enter Connected Apps in the Quick Find box, select Manage Connected Apps, then click the name of the Field Service connected
app. Update the attribute from the Custom Attributes section on the connected app page.
AppServiceHosts
AppServiceHostLabels
OnlyShowAuthorizedHosts
ClearClipboardOnBackground
295
Field Service Lightning Supported Data Types in the Field Service Lightning Mobile
App
Geolocation
Number
Percent
Phone
Picklist (Multiple Select) (Picklists with fewer than six options are
shown in an expanded view.)
Text
Text Area
296
Field Service Lightning Download the Connected App
USER PERMISSIONS
297
Field Service Lightning Give Users Access to the Field Service Lightning Mobile App
298
Field Service Lightning Give Users Access to the Field Service Lightning Mobile App
6. Create a service resource record for each user. For instructions, see Create Service Resources for Field Service.
Important: To use the Field Service Lightning mobile app, each user needs Read access to their service resource record.
7. (Android only) Add Apex class access to the user profile for Google Maps functionality.
a. From Setup, enter Profiles in the Quick Find box, then select Profiles.
b. Select the profile for the users who require access to Google Maps.
c. From the profile page, click Apex Class Access.
d. Click Edit.
e. Add the following Apex classes to the list of Enabled Apex Classes: GoogleApis_geo, GoogleApis_direction.
f. Click Save.
299
Field Service Lightning Let Users Manage Inventory from the Field Service Lightning
Mobile App
Let Users Manage Inventory from the Field Service Lightning Mobile App
Customize your page layouts and user permissions so that your team can take care of inventory
EDITIONS
management tasks. For example, give technicians the ability to log product consumption, create
product requests, and keep their service vehicle inventory current. Inventory management is Available in: Salesforce
supported on both Android and iOS. Classic and Lightning
Before getting started, get to know Salesforce inventory management terms and processes. See Experience
Set Up Your Field Service Inventory.
The Field Service Lightning
core features, managed
package, and mobile app
Show the Inventory Tab (Android and iOS)
are available in Enterprise,
Let users view and update their inventory, log inventory consumption, and request parts from the Performance, Unlimited,
Inventory tab. To see the Inventory tab, app users must be active service resources who are associated and Developer Editions.
with a mobile inventory location. They must have at least Read access to product items or product Work orders are also
requests. available in Professional
Edition.
A location represents a physical area where products are stored. Because field service workers
typically bring products with them in their vehicle, you can create a field location type to represent Field Service Lightning
their inventory, such as a vehicle or toolbox. mobile users need the Field
Service Mobile user license
1. From the full Salesforce site, click the Service Resources tab.
to access the app.
2. On a service resource, click Edit.
3. In the Location lookup field, enter a location that has both Inventory Location and Mobile USER PERMISSIONS
Location selected.
To update page layouts:
Note: If you don’t see the Location field, add it to your service resource page layout.
• Customize Application
To update connected apps:
• Customize Application
AND either
Modify All Data
OR
Manage Connected
Apps
300
Field Service Lightning Let Users Manage Inventory from the Field Service Lightning
Mobile App
Because this service resource is associated with the location, the user sees the Inventory tab in the app.
Note: Only 1,000 products are shown in inventory lists in the Salesforce mobile app.
1. On the Product Items tab in the full Salesforce site, create product items for the mobile inventory location associated with the service
resource. For example, if Service Van 42 contains 30 batteries, create a product item associated with the Service Van 42 location and
the Battery product. For more information, see Create Product Items to Represent Inventory.
2. To let your team create or update the product items representing their inventory, assign the object permissions listed in Create
Product Items to Represent Inventory.
301
Field Service Lightning Customize the Field Service Lightning Mobile App
1. Add the Products Consumed related list to the work order page layout to make it visible in the Products and Related tabs of the
work order carousel.
2. Assign the user the object permissions listed in Track Inventory Consumption.
Note: Android and iOS users can consume only one serialized product item per product per work order using the Products
Consumed related list. For example, you could have multiple product items that are assigned serial numbers and that are all
associated with your Inverter product. An app user can add only one of them as a product consumed on a specific work order.
This limit doesn’t apply to non-mobile platforms.
302
Field Service Lightning Customize the Field Service Lightning Mobile App
1. From Setup, enter Field Service Mobile Settings in the Quick Find box, The Field Service Lightning
then select Field Service Mobile Settings core features, managed
package, and mobile app
2. Your org comes with one settings configuration named Field Service Mobile Settings, which is
are available in Enterprise,
assigned to all user profiles by default.
Performance, Unlimited,
• To edit that configuration, click Edit. and Developer Editions.
• To create a new configuration of mobile settings that can be assigned to different user Work orders are also
profiles, click New. available in Professional
Edition.
3. Update the label if desired.
Field Service Lightning
For example, you might want two settings configurations named Supervisor Settings mobile users need the Field
and Technician Settings, respectively. Service Mobile user license
to access the app.
4. Update the settings as needed.
Tip: To give app users edit access to their field service records, select Enable Full Edit
USER PERMISSIONS
on Records. If you want to restrict editing from the mobile app, don’t select this option.
To configure Field Service
5. Click Save. Mobile Settings:
6. Click Mobile Settings Assignment, then click Edit Assignment to assign your settings • Customize Application
configurations to user profiles.
303
Field Service Lightning Customize the Field Service Lightning Mobile App
304
Field Service Lightning Customize the Field Service Lightning Mobile App
Products Consumed Product consumed related list on the work You can reach the Products Consumed
order. Product consumed number must be screen from the Related tab or the Products
the first field. tab in the work order carousel.
Record Highlight for any record Compact Layout of the record (for example, A record highlight is a preview of a record.
Service Appointment Compact Layout) The top-most field in a record’s compact
layout is displayed prominently.
Record Lookup Search Layout of the record (for example, A record lookup is a search for a record. To
Contact Search Layout) change the search results, update the search
layout in your org.
Related Lists Related list layout Related list sorting uses the default page
layout sorting. If the user overrides the sort
setting, the app uses this setting for related
list sorting. Related list sorting only sorts on
one column.
Schedule • The layout selected in the Default The Schedule tab lists service appointments
List View Developer Name assigned to the user.
field on the Field Service Mobile Settings For details, see Customize the Schedule Tab.
assigned to the user’s profile.
• (If no list view is specified) Service Tip: The Default List View
Appointment search layout Developer Name is the name
of the list view that shows when the
mobile Service Appointment page
is first opened. If the Default
List View Developer
Name isn’t defined, mobile users
see their service appointments
within the date picker range. This list
and the list defined are available
offline. However, there isn't an
option to change to another list view
on the mobile device unless the
Default List View
Developer Name is defined.
305
Field Service Lightning Customize the Field Service Lightning Mobile App
Work Order Overview List view layout You can reach the Work Order Overview
• First field in Work Order compact layout screen by tapping a service appointment
is in bold in the app from the Schedule tab.
IN THIS SECTION:
Customize the Schedule Tab
The Schedule tab in the Field Service Lightning mobile app shows service appointments that are assigned to the user. The Schedule
tab layout is based on a list view specified in Setup. If no list view is specified, it uses the service appointment search layout.
Customize the Layout of the Work Order Overview Screen
When a user taps a service appointment on the Schedule tab, an overview of the work order is shown. You can customize the
highlights and cards shown on the work order overview screen.
306
Field Service Lightning Customize the Field Service Lightning Mobile App
USER PERMISSIONS
307
Field Service Lightning Customize the Field Service Lightning Mobile App
You can base the Schedule tab on a list view. Using a list view allows you to set criteria to filter the records that appear to app users.
1. Create a service appointment list view with up to four fields. Set filter criteria to filter the records according to your use case. Note
the API name of the list view.
2. From Setup, enter Field Service Mobile Settings in the Quick Find box, then select Field Service Mobile
Settings.
3. Click Edit next to the mobile settings configuration you want to define the list view for.
4. In the Default List View Developer Name field, enter the API name of the list view you want to use.
Tip: The Default List View Developer Name is the name of the list view that shows when the mobile Service
Appointment page is first opened. If the Default List View Developer Name isn’t defined, mobile users see
their service appointments within the date picker range. This list and the list defined are available offline. However, there isn't
an option to change to another list view on the mobile device unless the Default List View Developer Name
is defined.
5. Click Save.
If no list view is specified in Setup, users viewing service appointments from the Schedule tab see the following fields:
• Scheduled Start
• Scheduled End
• Address
• Top field in the Service Appointment search layout (excluding the previous three).
Considerations for Customizing the Schedule Tab
• The service appointment calendar view appears differently on Android and iOS devices. On Android, the calendar uses a month
view. On iOS, the calendar uses a week view.
• If the Schedule tab is based on a list view, including the Scheduled Start field in your list view filter lets app users see a date picker
with a range of 45 days before and after the current date. If the list view doesn’t include this field, users just see a single Schedule
tab of the user’s appointments based on your filter criteria, as it would appear on the full Salesforce site.
• Service appointments in the schedule list are shown in chronological order. This order cannot be changed.
• Lookup fields, like Account, aren’t supported on the Schedule tab and won’t show up.
• Formulas aren't supported on the Schedule tab.
308
Field Service Lightning Customize the Field Service Lightning Mobile App
• The app prominently displays the top two fields of the service appointment search layout, so consider which fields your mobile
workforce needs to see on the Schedule tab. Many users, for example, may prefer to see Subject instead of the service appointment
ID. Scheduled Start and Address are displayed in the same location regardless of the list view or search layout settings
• Multi-day appointments appear on the Schedule tab in the following way:
– If a multi-day appointment includes both a Scheduled Start and Scheduled End, the appointment appears on the schedule for
every day between those two dates and includes a visual progress bar representing the job’s scheduled completion.
– If a multi-day appointment includes a Scheduled End but not a Scheduled Start, the appointment appears on the schedule every
day until the Scheduled End date.
– If a multi-day appointment includes a Scheduled Start but not a Scheduled End, the appointment appears on the schedule every
day after the Scheduled Start date until the appointment is complete.
309
Field Service Lightning Customize the Field Service Lightning Mobile App
Important:
• When you modify a page layout, users must log out and log in to the Field Service Lightning mobile app to see the changes.
• Not all field types are supported in the Field Service Lightning app. Before you configure your layouts, review Supported Data
Types in the Field Service Lightning Mobile App
Add Cards
On the Overview tab in the work order carousel, users see information about the work order and its child records. The information appears
in cards, which are discrete spaces for different kinds of information. The following cards can be added to the work order overview screen.
310
Field Service Lightning Customize the Field Service Lightning Mobile App
Knowledge Shows knowledge articles that In iOS, the Knowledge card is iOS only
are attached to the work order, only visible if an article is
with a snippet of each article attached to the work order.
included.
Service Appointment Shows a map and the option to If the work order has one or Android only
navigate to the address of the more service appointments, the
appointment. If the address is Service Appointment card is
not set, the card instead visible.
presents the user with the
option to set the address, and The following fields on this card
then activate navigation. cannot be removed from it: Start
Time, End Time, Date, Address,
ETA (estimated time of arrival).
Service Report Displays service reports If a service report has been Android and iOS
associated with the work order’s previously generated, the
service appointments. Service Report card appears at
the top of the Overview tab.
There is no option to create a
service report. Otherwise, the
card appears at the bottom of
the Overview tab and includes
an option to create a service
report.
The Service Report card is visible
by default in iOS. To make the
card visible in Android, manually
add it to layout.
Work Order Line Item Shows a visual progress If the work order has work order Android and iOS
indicator for the work order and line items, the Work Order Line
lists its work order line items. iOS Item card is visible.
users with the proper
permissions can tap the + icon In Android, this card displays
to create line items. For details, four fields for each line item. The
see Let Users Create Work Order Work Order Line Item Number
Line Items from the Field Service field is always visible. It's
Lightning Mobile App. followed by the first three fields
from the Work Order Line Items
311
Field Service Lightning Customize the Field Service Lightning Mobile App
2. Click Edit next to the mobile settings configuration you want to modify, or New to set up a The Field Service Lightning
new settings configuration. core features, managed
Each configuration can be assigned to one or more user profiles. package, and mobile app
are available in Enterprise,
3. Under Branding Colors, update the hex color code of each setting as needed. Performance, Unlimited,
and Developer Editions.
Important: Each value must consist of the # symbol followed by six letters or numbers. Work orders are also
available in Professional
4. When you have entered values for every token you wish to modify, click Save. Edition.
Users must log out and log in to the app to see changes to branding.
Field Service Lightning
mobile users need the Field
Note: iOS 13 and later app users can enable Dark Mode from their OS settings. However,
Service Mobile user license
this overrides the custom branding colors for some UI elements.
to access the app.
USER PERMISSIONS
To customize branding
colors:
• Customize Application
312
Field Service Lightning Customize the Field Service Lightning Mobile App
Navbar Inverted Color The secondary color of the top bar in the app. #FFFFFF
Brand Inverted Color The color of toasts and the contrast color for the floating action #FFFFFF
button.
Feedback Secondary Color The color of success messages or progress icons. #13C4A3
Feedback Selected Color The color indicating the user’s current selection. #FFFFFF
Primary Brand Color The color of non-interactive areas in the app. #803ABE
Secondary Brand Color The color of interactive areas in the app. #2A7AB0
Contrast Tertiary Color The color of the icons on the settings screen and of primary lines #9FAAB5
that delineate different areas of the UI.
313
Field Service Lightning Customize the Field Service Lightning Mobile App
Contrast Quinary Color The color of the background behind cards in the UI. #EEEEEE
Contrast Inverted Color The color of card backgrounds in the UI. #FFFFFF
Add a Profile Tab Background Image in the Field Service Lightning Mobile App
Add a Profile Tab Background Image in the Field Service Lightning Mobile App.
EDITIONS
1. Upload your image as a static resource.
Available in: Salesforce
a. From Setup, enter Static Resources into the Quick Find box and click Static
Classic and Lightning
Resources.
Experience
b. Click New.
The Field Service Lightning
c. Give the static resource a name, like background_banner. Remember the name, since core features, managed
you need to use it in a later step. package, and mobile app
d. Select an image file for upload. An image sized at 3072 x 819 pixels leads to the best results are available in Enterprise,
on large displays such as iPads in landscape mode. However, if your users often encounter Performance, Unlimited,
slow mobile networks, consider using a smaller image. and Developer Editions.
Work orders are also
e. Click Save. available in Professional
Edition.
2. Create a custom attribute to use the static resource on every user’s Profile tab.
a. From Setup, enter Connected Apps into the Quick Find box, then select Field Service Lightning
Connected Apps. mobile users need the Field
Service Mobile user license
b. b. Select Salesforce Field Service for iOS or Salesforce Field Service for Android. to access the app.
c. Scroll down to the list Custom Attributes and click New.
d. For the attribute key, enter COMPANY_PROFILE_IMAGE_RESOURCE_NAME. USER PERMISSIONS
e. For the attribute value, enter the name of the static resource you created surrounded by To set the company profile
quotation marks. image:
• Customize Application
Tip: If you named your static resource background_banner, your attribute value
is“background_banner”.
f. Click Save.
314
Field Service Lightning Customize the Field Service Lightning Mobile App
315
Field Service Lightning Customize the Field Service Lightning Mobile App
Track Service Resource Geolocation with the Field Service Lightning Mobile App
Use geolocation to get a bird’s-eye view of your mobile workforce. You can exclude certain users
EDITIONS
from geolocation tracking.
When service resource tracking is enabled, the Field Service Lightning mobile app uploads the Available in: Salesforce
geolocation of app users to Salesforce at regular intervals. Enable service resource tracking in Setup. Classic and Lightning
Experience
1. From Setup, enter Field Service Settings in the Quick Find box, and select
Field Service Mobile Settings. The Field Service Lightning
2. Click Edit next to the settings configuration you want to update. core features, managed
package, and mobile app
3. Under Additional Settings, check Collect Service Resource Geolocation History. are available in Enterprise,
4. Enter values for the following geolocation-related fields. Performance, Unlimited,
and Developer Editions.
Tip: Higher precision or higher frequency settings increase battery consumption on Work orders are also
mobile devices. To conserve battery power with Android O and later, your position is available in Professional
updated less while the app is in the background. To get an accurate position update, Edition.
open the Field Service Lightning mobile app on your phone.
Field Service Lightning
Important: Due to a limitation with iOS devices when in background mode, you can mobile users need the Field
expect a location update as soon as the device moves 500 meters or more from its previous Service Mobile user license
location, but you should not expect a location update more frequently than once every to access the app.
five minutes. When the app is in the foreground, it correctly obeys the values specified
in the Geolocation Update Frequency in Minutes and Geolocation Accuracy fields. USER PERMISSIONS
• Geolocation Update Frequency in Minutes: Controls how often geolocation is polled
To configure resource
when the app is running in the foreground. For iOS devices, this value also controls update
tracking:
frequency when the app is in the background.
• Customize Application
• Geolocation Update Frequency in Minutes (Background Mode): For Android devices,
To assign permission sets:
this value controls how often geolocation is polled when the app is running in the
• Assign Permission Sets
background. See the note above about iOS devices when in background mode.
• Geolocation Accuracy: This value controls the accuracy of the geolocation data collected
when the app is running in the foreground. Choose from the following values:
– Fine: 10 meters
– Medium: 100 meters
– Coarse: 1 kilometer
• Geolocation Accuracy (Background Mode): For Android devices, this value controls the accuracy of the geolocation data
collected when the app is running in the background. See the note above about iOS devices when in background mode. Choose
from the following values:
– Medium: 100 meters
– Coarse: 1 kilometer
– Very Coarse: The app doesn’t poll for geolocation data, and geolocation coordinates update only when another app polls
for geolocation. The accuracy of the geolocation data depends on the accuracy setting of the application that triggers the
geolocation poll.
5. Click Save.
Geolocation tracking is now enabled!
316
Field Service Lightning Customize the Field Service Lightning Mobile App
What if you want to exclude specific service resources from tracking? For example, if not all members of your workforce are legally
protected against geolocation tracking.
Individual mobile users can turn off location tracking for the Field Service Lightning mobile app from their phone’s operating system
settings. To exclude them from tracking at the admin level:
1. From Setup, enter Permission Sets into the Quick Find box and select Permission Sets.
2. Create a separate permission set for users that you wish to exclude from geolocation tracking. Clone your Field Service Standard
permission set and give it a new name.
3. From the settings of your new permission set, click System Permissions.
4. Click Edit and select Exclude Technician from Geolocation Tracking.
5. Click Save.
6. Click Manage Assignments, and then click Add Assignment.
7. Select the users that you wish to exclude from geolocation tracking, and then click Assign.
Which Actions Appear in the Field Service Lightning Mobile App The Field Service Lightning
Learn which actions are visible in the Android and iOS app action launcher. core features, managed
package, and mobile app
Create Quick Actions for the Field Service Lightning Mobile App
are available in Enterprise,
Add quick actions to object page layouts so your mobile workforce can quickly create and edit Performance, Unlimited,
records, send messages to contacts, and more. and Developer Editions.
Let Users Create Work Order Line Items from the Field Service Lightning Mobile App Work orders are also
Help your team stay organized in the field by letting them create work order line items to split available in Professional
Edition.
work orders or work order line items into sub-tasks. This feature is available in the Field Service
Lightning mobile app for iOS, but not for Android. Field Service Lightning
Create App Extensions for the Field Service Lightning Mobile App mobile users need the Field
Service Mobile user license
Create app extensions to let users pass data from the Field Service Lightning app to another
to access the app.
app.
Add Flows to the Field Service Lightning Mobile App
USER PERMISSIONS
Guide your team through mobile flows in which they can view information, create and update
records, and trigger input-based actions. To create quick actions and
add them to page layouts:
• Customize Application
317
Field Service Lightning Customize the Field Service Lightning Mobile App
• The Knowledge Article action isn't visible on the Work Order Overview screen in Android. View knowledge articles using the related
list.
318
Field Service Lightning Customize the Field Service Lightning Mobile App
Create Quick Actions for the Field Service Lightning Mobile App
Add quick actions to object page layouts so your mobile workforce can quickly create and edit
EDITIONS
records, send messages to contacts, and more.
Users viewing records can call a quick action by tapping the action from the action launcher. Quick Available in: Salesforce
actions are assigned to record page layouts. For example, you can add a Create Opportunity action Classic and Lightning
to the contact page layout to let users create an opportunity from any contact record in the app. Experience
Create a work order quick action and add it to the work order overview screen. The Field Service Lightning
core features, managed
Tip: You can follow these steps for any field service object available in the app. package, and mobile app
are available in Enterprise,
1. From the Object Manager in Setup, click Work Orders, then click Buttons, Links, and Actions.
Performance, Unlimited,
2. Click New Action. and Developer Editions.
3. Configure an action to either create or edit a record, and save your changes. Work orders are also
available in Professional
4. From the Object Manager, click Page Layouts under Work Orders. Edition.
5. Click the work order page layout.
Field Service Lightning
6. From the layout editor, select Quick Actions. mobile users need the Field
7. Drag your newly created action into the Quick Actions in the Salesforce Classic Publisher Service Mobile user license
section. to access the app.
319
Field Service Lightning Customize the Field Service Lightning Mobile App
Let Users Create Work Order Line Items from the Field Service Lightning Mobile App
Help your team stay organized in the field by letting them create work order line items to split work
EDITIONS
orders or work order line items into sub-tasks. This feature is available in the Field Service Lightning
mobile app for iOS, but not for Android. Available in: Salesforce
1. Create a quick action to create a work order line item. Classic and Lightning
Experience
a. From the Object Manager in Setup, select Work Order, and then click Buttons, Links, and
Actions. The Field Service Lightning
b. Click New Action. core features, managed
package, and mobile app
c. Select the action type Create a Record. are available in Enterprise,
d. Select the target object Work Order Line Item. Performance, Unlimited,
and Developer Editions.
e. Select the standard label type New Child [Record]. Work orders are also
f. Enter a label, such as New Line Item. available in Professional
This automatically generates the API name. Edition.
When this action is added to the layout, iOS users see a + icon in the Work Order Line Item card on work orders and work order line
items. Users can tap the icon to create a new work order line item.
320
Field Service Lightning Customize the Field Service Lightning Mobile App
Create App Extensions for the Field Service Lightning Mobile App
Create app extensions to let users pass data from the Field Service Lightning app to another app.
EDITIONS
App Extension Type Supported in Android Supported in iOS Available in: Salesforce
Android Yes No Classic and Lightning
Experience
iOS No Yes
The Field Service Lightning
Lightning Apps Yes Yes core features, managed
package, and mobile app
Web apps Yes Yes are available in Enterprise,
Flow Yes Yes Performance, Unlimited,
and Developer Editions.
Work orders are also
available in Professional
To set up an app extension, follow the steps below.
Edition.
1. From Setup, enter Field Service Mobile Settings in the Quick Find box, then
select Field Service Mobile Settings. Field Service Lightning
mobile users need the Field
2. Click Edit next to the mobile settings configuration that you want to create an app extension Service Mobile user license
for. to access the app.
3. Under App Extensions, click Add.
4. Fill out the fields. USER PERMISSIONS
• Field Service Mobile Settings: Automatically populated. Represents the current Mobile To create and modify App
Field Service Settings configuration. Extensions:
• Type: A picklist of app extension types. The iOS and Android types will only show on their • Customize Application
respective devices. Flow refers to a Flow (Setup > Process Automation > Flows) of the
type Field Service Mobile Flow. Lightning App refers to an app that is exposed in Salesforce
for Android or Salesforce for iOS (Setup > Mobile Apps > Salesforce > Salesforce Navigation).
• Label: The label as it appears to users in the app. The label isn’t localized automatically.
• Name: The extension’s name.
• Scoped To Object Types: The records from which a user can activate an app extension. Scoping an app extension to an object
lets users activate that app extension from records of the specified type. The object names are entered as comma separated
values and cannot include spaces. For example, to scope an extension to the Work Order object and the Service Appointment
object, enter WorkOrder,ServiceAppointment. To create a global app extension so users can activate it from any
record, leave this field blank.
• Launch Value: A launch value of "https://google.com" will launch a web browser on both iOS and Android. The value to use
to launch the app or Flow. If type is Flow, then the launch value is the API name of the flow you want to use. If type is Lightning
App, the launch value is the name of the tab in Salesforce for iOS and Salesforce for Android. The tab name represents a Lightning
Component Tab and you can find the tab name in Setup > Salesforce Navigation. The launch values for types iOS, Android,
and Lightning App support passing parameters.
Important: For Lightning App types: Salesforce for Android version 17.0 supports passing Lightning App parameters. Salesforce
for iOS version 18.0 does not currently support passing parameters. To bypass this issue, use a type of iOS with a URL format
of “https://{orgURL}/lightning/n/{tab name}?params=...”
5. Click Save.
321
Field Service Lightning Customize the Field Service Lightning Mobile App
Warning: the Salesforce mobile app can launch and accept parameters for Visualforce pages exposed as a Lightning Page
Tab. However, the Lightning Page Tab name can’t have any spaces in it.
[other]: Flow app extensions do not accept tokens. They receive the Flow input parameters described in Considerations for
Using Flows in the Field Service Lightning Mobile App on page 326.
The launch value supports static URLs for web addresses, as well as dynamic values that can be used to pass contextual information
to the other app in the form of tokens. These tokens can pass field information from any record that is visible on the Field Service
Lightning app. For example, if the user is viewing a service appointment, the tokens can be used to pass the data from any field on
that service appointment to the app extension. The basic format for these tokens is based on the names of the field, like so: {!Name}.
Tip: The following example uses a token to dynamically pass a custom text field that is on a work order into a Google search.
The token is written in bold for clarity: https://www.google.com/#q={!WO_Custom_Text_Field__c}
The field name is case sensitive and must match the field name exactly as it is defined on the object.
Values that aren't related to a record are called global variables. When you use a global variable in a token, use the format
{!$User.email}.
User.displayName
User.email
User.firstName
User.id
User.language*
User.lastName
User.locale*
User.nickName
User.orgId
User.userName
322
Field Service Lightning Customize the Field Service Lightning Mobile App
USER PERMISSIONS
323
Field Service Lightning Customize the Field Service Lightning Mobile App
324
Field Service Lightning Customize the Field Service Lightning Mobile App
Create a Flow to Capture Images in the Field Service Lightning Mobile App
Create a flow that lets your team capture images from the Field Service Lightning mobile app. For
EDITIONS
example, make it easy for technicians to save photos of a customer’s asset before and after service.
1. Build a flow with a Screen element that contains a File Upload component. Available in: Salesforce
Classic and Lightning
An API name is generated when you label your flow. You need the API name to connect the
Experience
flow to the Field Service Lightning mobile app.
The Field Service Lightning
2. Save your flow as the Field Service Mobile Flow type. core features, managed
You can now connect the flow to the Field Service Lightning app with an app extension or Quick package, and mobile app
Action, just like any other flow. are available in Enterprise,
Performance, Unlimited,
and Developer Editions.
Work orders are also
available in Professional
Edition.
USER PERMISSIONS
325
Field Service Lightning Customize the Field Service Lightning Mobile App
Because the API name of the service report flow is unique, you can have only one Service_Report_Flow at a time.
Considerations for Using Flows in the Field Service Lightning Mobile App
Review flow considerations before using flows in the Field Service Lightning mobile app.
EDITIONS
If the user selects the choice value to use in a screen component, such as a radio button or
multi-select picklist, the screen component is set to this value. If no choice value is configured, the screen component is set to the choice
label.
326
Field Service Lightning Customize the Field Service Lightning Mobile App
Note: Some flows that have actions with output parameters may not cause an error immediately, but they are still not
supported.
• Flow picklists that include a default value are not supported. If you choose a default value, it is not shown as the default value in the
picklist.
• Flow record variables require record fields to be accessed through their field API names. Use of field relationship names is not
supported.
• Record field lookups are limited to one level of indentation. If more levels are required, use assignment elements.
• Flow text areas have a 2000 character limit.
• Using semicolons when defining user choices in flow checkbox groups and multi-select picklists is not supported. If you use semicolons
for user choices, the data does not render accurately.
• Record Choice Sets do not retain the value that is selected. A Record Choice Set variable cannot be used to determine what selection
was made; however, the component used to make the selection (such as a picklist) saves that value for later use.
327
Field Service Lightning Using the Field Service Lightning Mobile App
• RIGHT
• SUBSTITUTE
• TRIM
• UPPER
• VALUE
328
Field Service Lightning Using the Field Service Lightning Mobile App
Logging In
When given the option, log in to Salesforce from the app. If prompted, create a passcode for an added level of security. Depending on
how your Salesforce org is configured, you may need to enter information for a custom domain:
• Click the gear icon in the top right of the login screen to specify production or sandbox org, or press + to enter a custom domain.
If you’re a community user, the first login is slightly different. On the initial login screen, click the settings button in the top right, then
add a connection with the URL of your Salesforce community. The URL can be found in Setup under Communities. When entering the
community URL, omit https://.
Note: If you see a prompt that says “FieldServiceApp Wants to Use salesforce.com to Sign In,” accept it to log in to the app.
329
Field Service Lightning Using the Field Service Lightning Mobile App
Customize Push Notifications for the Field Service Lightning Mobile App
Push notifications alert your mobile workforce to approaching appointments and scheduling
EDITIONS
changes.
1. Ensure that the connected app (different from the app itself) has been downloaded. Available in: Salesforce
Classic and Lightning
2. Enable notifications in Setup.
Experience
a. From Setup, enter Field Service Settings in the Quick Find box, then select
Field Service Settings. The Field Service Lightning
core features, managed
b. Under Notifications, select Enable notifications, and save your changes. package, and mobile app
are available in Enterprise,
3. Choose when service appointment notifications are sent.
Performance, Unlimited,
a. From Setup, enter Field Service Mobile Settings in the Quick Find box, and Developer Editions.
then select Field Service Mobile Settings. Work orders are also
available in Professional
b. Next to your mobile settings configuration, click Edit.
Edition.
c. Under Customization, select how to send appointment notifications and then save your
changes. Field Service Lightning
mobile users need the Field
• When you select Send appointment notifications on assignment, users are notified Service Mobile user license
when they’re assigned to a service appointment and when their assignment is changed to access the app.
or removed. They’re not notified when they are dispatched for the appointment.
• When you select Send appointment notifications on dispatch, users are notified
USER PERMISSIONS
when they’re dispatched for a service appointment and when their assignment is
changed or removed. To customize push
• When you select both options, users receive assignment and dispatch notifications. notifications:
• Customize Application
• If you select neither option, no service appointment notifications are sent.
Note: Technicians are not automatically added as followers to work orders and service appointment records that they are assigned
to. Consider creating an Apex trigger on the service resource object to add or remove users as followers when assignments change.
330
Field Service Lightning Using the Field Service Lightning Mobile App
Other Objects All objects referenced by the above key objects are primed to a
depth of 3. This depth means that the app primes any objects
331
Field Service Lightning Using the Field Service Lightning Mobile App
Special Objects If an object being primed has a reference field that refers to any of
the following object types, that referenced object is also primed
(even if already at a depth of 3). Special object types include:
Product, Product Consumed, Product Required, Product Request,
Product Request Line Item, Product Transfer, Account, Case,
Contract, Assigned Resource.
Related Lists For related lists referenced by key objects, we prime the list of files
and the object types that it contains. We also prime up to 25
records in the related list. If a related listcontains more than 25
records, the 25 most recently modified records are primed.
This limit doesn’t apply to the Articles related list, which has no
limit.
A related list of type Service Reports or Content Document is
always primed. Note that only metadata about the files from the
files related list are primed. The actual file data, for example the file
name and version, are not primed
Service Reports Service reports and previews associated with all the above work
orders and work order line items are primed.
Knowledge Articles Knowledge articles are primed using the Embedded Service
Knowledge SDK.
Object Feeds If feeds are enabled in the org, feeds are primed for supported
object types using the Feed SDK offline priming feature. Supported
objects include: Work Order, Work Order Line Item, Case, Service
Appointment, Product Request, Product Request Line Item, and
Asset.
Quick Actions For every object that is primed, we also prime the page and search
layouts, which contains the list of quick actions for that object type.
Create and Update quick actions are primed from the Quick Actions
in the Salesforce Classic Publisher section on the page layout.
332
Field Service Lightning Using the Field Service Lightning Mobile App
Flows All active flows referenced in Field Service Mobile Settings App
Extensions are primed. Subflows are primed to a depth of 5. All
metadata and quick actions for referenced objects in a flow are
also primed. If a flow has an issue during priming (for example, an
unsupported flow element), then that flow is not primed.
Price Books Price books aren’t primed for offline usage due to performance
considerations.
333
Field Service Lightning Using the Field Service Lightning Mobile App
USER PERMISSIONS
334
Field Service Lightning Using the Field Service Lightning Mobile App
1. Complete the steps in Create Service Report Templates to prepare for and create service report The Field Service Lightning
templates core features, managed
package, and mobile app
2. Ensure that the service appointment page layout includes the Service Reports related list.
are available in Enterprise,
3. Add the Work Type field to work order and work order line item page layouts, and make Performance, Unlimited,
sure users have permission to view it. and Developer Editions.
4. Add the Service Report Template field to the work type page layout. Work orders are also
available in Professional
5. (Recommended) Select a service report template in the Service Report Template field on each Edition.
work type in your org.
Field Service Lightning
Create a Service Report in the App mobile users need the Field
To create a service report in the app, navigate to a service appointment, work order, or work Service Mobile user license
order line item. Tap the action icon, then tap Create Service Report. If the service report to access the app.
template includes a signature section, you’re prompted to Sign & Confirm. If there isn’t a
signature section, only a Confirm option appears.
USER PERMISSIONS
In Android, the Create Service Report action appears on the Service Reports card. If a work order
already has a service report, users can edit the existing report, but can’t create additional reports. To create or edit a Service
Report Template:
Service reports are translated in the language selected in the Service Report Language field on • Customize Application
the associated work order. If that field is blank, they use the default language of the person
generating the report.
Create a Service Report Offline
Mobile workers can create service report previews while offline. For the iOS app, you can disable offline service report generation.
1. From Setup, enter Connected Apps in the Quick Find box, then select Connected Apps.
2. Click Salesforce Field Service for iOS.
3. In the Custom Attributes list, click New.
4. Set the Attribute key to DISABLE_SERVICE_REPORT_PREVIEW_IOS.
5. Set the Attribute value to "true". Be sure to include the quotation marks.
Limitations
• Users cannot select a template when creating a service report in the mobile app. Instead, a template is selected based on the
following order:
1. The work order template
2. The work type template
3. The standard template
335
Field Service Lightning Using the Field Service Lightning Mobile App
– The app doesn’t automatically get the latest data before generating a service report preview, so data in service report previews
could be out of date. This applies to both online and offline service report previews.
– If a reference field exceeds the maximum priming depth of 2, it isn't populated.
– Formula field values could be inaccurate in a preview because they aren’t dynamically calculated.
– Roll-up summary fields are blank.
– Related lists behave differently in mobile previews.
• The order of records in related lists could be different between the preview and the printed report.
• If a service report template includes a related list, but the record that the service report is being generated for doesn’t
have the related list on its page layout, the related list isn’t populated.
• On the printed report, all related lists are printed. In the mobile preview, a related list must be on the preview page layout
to appear on the preview.
336
Field Service Lightning Using the Field Service Lightning Mobile App
• (Android only) The Knowledge Article action isn't visible on the Work Order Overview screen. View knowledge articles using the
related list.
1. Add the Absences related list to the service resource page layout, and customize its fields as The Field Service Lightning
needed. core features, managed
package, and mobile app
Tip: The date picklist values on resource absences are based on the Picklist Time are available in Enterprise,
Interval in Minutes setting on the Field Service Mobile Settings page in Setup. Performance, Unlimited,
and Developer Editions.
2. Add the "Non Availability" record type to user profiles.
Work orders are also
a. From Setup, enter Users in the Quick Find box, then select Profiles. available in Professional
b. Select the user profile that you want to add the record type to. Edition.
Important: For resource absences created from the app to be considered for schedule USER PERMISSIONS
optimization, Non Availability must be selected as the default record type.
To view, create, edit, or
a. Click Save. delete resource absences:
• Read on service
3. Optionally, hide certain resource absence types from the Profile tab in the app. resources
a. From Setup, enter Connected Apps in the Quick Find box, then select Manage
Connected Apps.
b. Select Salesforce Field Service for Android or Salesforce Field Service for iOS.
c. Under Custom Attributes, click New.
d. For Attribute key, enter EXCLUDE_RESOURCE_ABSENCE_TYPES.
e. For Attribute value, enter a comma-separated list of the resource absence types you want to hide from the Profile tab. Then click
Save.
For example, if you want to hide meetings and trainings from the Profile tab, you would enter "Meeting, Training".
Note: Under the profile tab, only 10 resource absence records are displayed.
337
Field Service Lightning Using the Field Service Lightning Mobile App
• Training
• Medical
338