Support Field Service
Support Field Service
names and marks. Other marks appearing herein may be trademarks of their respective owners.
CONTENTS
Field Service (formerly known as Field Service Lightning) gives you a powerful, highly customizable,
EDITIONS
mobile-friendly field service hub in Salesforce.
Running a field service business means managing numerous moving parts. With Field Service, you Available in: both Salesforce
get the tools that you need to manage work orders, scheduling, and your mobile workforce. Here Classic (not available in all
are some of the things you can do. orgs) and Lightning
Experience
• Create records that represent your field service workers, dispatchers, and agents, and add details
about their skills, location, and availability The Field Service core
• Set up multilevel service territories that represent the regions where mobile workers can provide features, managed
services package, and mobile app
are available in Enterprise,
• Track the location and status of your inventory, warehouses, service vehicles, and customer Unlimited, and Developer
sites Editions.
• Schedule one-time or recurring work orders for customers, and add details about worker
preferences, required skills, and parts
• Create maintenance plans and templates to standardize your field service tasks
• Generate service reports to keep customers informed about service progress
Note: For usage restrictions that apply to this product, see this document.
1
Salesforce Field Service
2
Salesforce Field Service Where Do I Start with Field Service?
The landing pages direct you to resources for five key stops in the Field Service journey. If you’re new to Field Service, start with Discover
Field Service. Here you can find the Field Service glossary to help you learn about key concepts and terms, and curated resources to set
3
Salesforce Field Service Discover Field Service
you up for success. Next, Build Field Service guides you through the setup process. Each successive stop in the journey builds on tasks
you’ve completed on previous landing pages, so follow these in order.
What Is Salesforce Field Service? Learn about Salesforce and how AI is transforming our Service Cloud and Field Service.
• What is Field Service Management?
• Playlist Service Cloud: Field Service Demo
• Key Concepts and Glossary
How Can It Help Me? Learn how to work smarter with Salesforce Field Service.
4
Salesforce Field Service Build Field Service
Learn from the Experts Find resources to guide you in your setup journey.
• Salesforce Professional Services
• Field Service Trailblazer Community
• Trailhead Academy
• Salesforce Field Service Ask an Expert Office Hours
• Considerations When Selecting a Consulting Partner
• Salesforce Admins: Upcoming and Recent Events
Plan Your Experience Get the most out of setting up Field Service.
• Set Key Performance Indicators
5
Salesforce Field Service Build Field Service
Give Users Access Grant users permission to use Field Service, the Field Service mobile app, and Briefcase for offline
access.
• Manage Permissions
• Create Permission Sets
• Download the Field Service Connected App for the Mobile App
• Give Users Access to the Field Service Mobile App
• Trail: Offline Briefcase
• Set Up Briefcase for the Field Service Mobile App
Set Up Field Service Get Field Service up and running for your team.
• Set Up Territories, Operating Hours, and Shifts
• Set Up Work Order Management
• Set Up Your Workforce
• Set Up Your Inventory
• Get Ready for Scheduling and Optimization
6
Salesforce Field Service Customize Field Service
Customize the Dispatcher Console Tailor the dispatcher console to work better for your business.
• Customize the Console
• Trail: Customize Console Settings
• Trail: Customize Your View
Customize the Mobile App Craft custom actions, tabs, screens, and functions for your mobile workforce.
• Learn More About Mobile Settings
• Set Up Custom Actions
• Customize the Look and Feel
• Brand the Mobile App
• Customize Push Notifications
• Trail: Customize User Settings
7
Salesforce Field Service Customize Field Service
• Customize and Extend the Mobile App with Lightning Web Components
Work with Flows Automate processes and improve efficiency with flows.
• Trail: Flow Builder Basics
• Automate Your Business Processes
• Video: Get Started with Flow Builder
• Build Flows in the Mobile App
• Considerations for Using Flows in the Mobile App
• Set Up the Mobile Widget
• Salesforce Admins – Automation and Workflows
Resources for Developers and Enhance your implementation using these additional resources.
Advanced Admins • Video: Salesforce Admins: – Use Low-Code Tools to Customize Your Salesforce Org
• Trail: Request a Developer Edition Org for Trailhead
• Field Service Developer Guide
Extend your Field Service Experience These optional add-ons help your team get more done.
• Trail: Visual Remote Assistant
• Set Up Visual Remote Assistant (optional purchase)
• Video: Appointment Assistant Self-Service Scheduling
• Set Up Appointment Assistant Self Service Scheduling (optional purchase)
• ServiceMax Asset 360 for Salesforce (optional purchase)
8
Salesforce Field Service Optimize Field Service Schedules
Get Started Learn about optimization and how to set it up so that you can build better schedules.
• What’s Schedule Optimization?
• How Does the Field Service Optimization Engine Work?
• Get Ready for Field Service Scheduling and Optimization
• Learn What’s New and Available in Enhanced Scheduling and Optimization
• Explore Our Resources to Adopt and Implement Enhanced Scheduling and Optimization
• Transition to Enhanced Scheduling and Optimization
Explore Metrics and Troubleshoot Learn how to fix issues and gain useful insights into optimization.
Optimization
• Explore Metrics in Field Service Optimization Hub (Enhanced Scheduling and Optimization)
• Video: Optimization Insights (standard optimization)
9
Salesforce Field Service Monitor and Troubleshoot Field Service
Help with Schedules Account for additional scheduling needs and fine-tune your schedule before or after optimization.
• Maximize Your Scheduling Performance
• Explore Holiday Management (Enhanced Scheduling and Optimization)
• Account for Flexible Breaks with the Resource Availability Work Rule Type (Enhanced
Scheduling and Optimization)
• Support Locationless or Virtual Service by Using the Off Site Appointment Field (Enhanced
Scheduling and Optimization)
• Support More Accurate Travel Times and Schedules with Travel Modes (Enhanced Scheduling
and Optimization)
• Get Recommendations with Field Service Appointment Insights (Enhanced Scheduling and
Optimization)
• Check Rule Violations on the Gantt
• Group and Schedule Nearby Work with Appointment Bundler
• Control How Much Work is Scheduled with the Count Work Rule Type (Enhanced Scheduling
and Optimization)
• Further Explore How Much Work is Scheduled by Managing Work Capacity (Enhanced
Scheduling and Optimization)
• Enable Service Appointment Sliding to Maximize Schedules (Enhanced Scheduling and
Optimization)
10
Salesforce Field Service Field Service Limits and Limitations
Keep up with your Field Service assets, and get everything running smoothly.
Set Up Operational Reporting Gain insights into your Service Center and assets.
• Create Field Service Reports
• Set Up Salesforce Labs Field Service Dashboards
• Explore Metrics in the Optimzation Hub
• Track Asset Availability and Reliability
• About the Field Service Analytics App (optional purchase)
• Field Service Analytics Pre-Built Dashboards
• AppExchange Field Service Dashboards
More Resources:
• Trail: Gain Insight with Einstein Discovery
• The 8 Metrics That Matter - And How To Improve Them
Help Your Mobile Workers Arrive View your mobile worker’s location.
Safely and On-time
• Set Up Appointment Assistant Real-Time Location (optional purchase)
• Field Service Mobile Security
• Automatic Status Change
Keep Your Service Center and Mobile Keep things running smoothly with these resources.
App in Top Shape
• Video: Salesforce Admins: Release Resources
• Test Your Field Service Configuration with Health Check
• Field Service Mobile App FAQ
11
Salesforce Field Service Field Service Limits and Limitations
Limit Details
Maximum number of work order line items in a work order line 10,000
item hierarchy
12
Salesforce Field Service Field Service Limits and Limitations
Limit Details
Maximum number of child assets per asset 2,000
Maximum size of asset hierarchies that can be viewed in the tree 500
grid view
Maximum number of skills displayed in the Gantt Skills filter panel 2,000
13
Salesforce Field Service Field Service Limits and Limitations
Limit Details
Maximum number of service appointments displayed in the 1,000
Long-Term view in the Gantt
Minimum screen resolution for a smooth dispatcher console 1366 x 768 pixels (minimum)
experience 1920 x 1080 pixels (recommended)
Maximum skills per service resource When you're using Enhanced Scheduling and Optimization, the
limit is 250. When you're not using Enhanced Scheduling and
Optimization, the limit is 100.
14
Salesforce Field Service Field Service Limits and Limitations
Limit Details
Service appointments sent to optimization for evaluation are
counted against this limit, even if they aren’t scheduled or
rescheduled by optimization. This count includes appointments
that are pinned or in the Pinned status and appointments that
don’t meet the filter criteria. See Optimization Horizon.
A bundle is a group of service appointments that are counted as
one service appointment.
Maximum days optimized per request When you’re using Enhanced Scheduling and Optimization, the
limit is 30. When you’re not using Enhanced Scheduling and
Optimization the limit is 21.
See Manage Scheduled Jobs in Field Service.
Note: For usage restrictions that apply to this product, see this document.
Limitations
Dispatcher Console
• The Gantt shows information from the past four years to the current date and shows four years from the current date into the
future.
• Territory utilization calculation doesn’t consider secondary territory members.
15
Salesforce Field Service Field Service Limits and Limitations
• With the Gantt chart Timezone field set to Territory Timezone in Field Service Settings (under Dispatcher Console UI, Gantt
Configurations), if both primary and secondary service territories are selected, the service resource is shown in the secondary
service territory only if it has the same time zone as the primary service territory. If the secondary service territory has a different
time zone, the service resource is shown only in the primary service territory. If only a secondary service territory is selected, the
service resource is shown under that territory regardless of the time zone.
• The dispatcher console map can look different than the map shown on service territory member detail pages because of a
difference in geocoding granularity. The dispatcher console map tends to be more accurate.
• 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.
• The service appointment list in the dispatcher console stops loading data after 3,000 service appointment records are loaded
from the server. When that limit is reached, you receive an error that the scheduling horizon is too long. If you haven’t turned
on advanced filtering, filtering happens on the client side. In this case, all service appointments in the selected time domain and
service territories before the filter conditions are applied are loaded from the server. If you’ve turned on advanced filtering, the
filter conditions are applied on the server side before loading data to the client.
• The limit is based on the number of service appointments loaded to the list, but the service appointment list can still show more
than 3,000 service appointments if service appointments are scheduled on the Gantt that are outside the filter list criteria.
Document Builder
• Each Salesforce org is granted an allowance of 250 documents per user per month for the following licenses:
– Field Service Dispatcher
– Field Service Dispatcher Plus Login-Based
– Field Service Mobile
– Field Service Mobile Login-Based
– Field Service Mobile Plus Login-Based
– Field Service Standard
If you exceed the 250 per user per month limit, you have an extra 10,000 documents per month to cover your service document
needs during high-volume months.
• A document template can have only one signature of each type, such as Customer, Partner, Technician, or Manager. If you expect
to require two people with the same role, say Customer, to sign the same document, you can assign numbered types, such as
Customer1 and Customer2, to your template.
• A related record table can have up to 1,000 records.
• The size limit for a Service Document is 300 MB.
• On the desktop site, you can create document templates for all objects, Work Order, Work Order Line Item, and Service
Appointment, and generate PDFs from these entities on your desktop. The Field Service mobile app lets you create service
documents from the Service Appointment and Work Order objects on iOS and only from Service Appointment on Android.
• PDFs can be up to 50 pages.
• A service document template can contain only one signature per type. To collect multiple signatures on a service document,
add more signature types. In Setup, edit the Signature Type picklist field on the Digital Signature object. Create at least one value
for each role that can sign a service document, for example, Technician, Customer, Supervisor, and Supplier. If you expect multiple
people in one role, for example, all mobile workers who are at the appointment, to sign a service report, create numbered types:
Technician 1, Technician 2, and so forth.
• You can’t generate documents over 100 MB.
• On related list field tables, lookup fields show field IDs instead of field values.
• You can’t use URLs to render images.
16
Salesforce Field Service Field Service Limits and Limitations
• Account names don’t appear in service documents when the Account field isn’t added to the template.
• If you have multiple image galleries on a template, the same set of images repeat across all image galleries.
• You must add the service document template field must be added to work order and service appointment page layouts.
• When you create a service document from a work order record detail page on the Field Service mobile app, you see a service
appointment template instead of a work order template.
• With rich text, only black appears on documents.
• The parent record field value is empty in service documents.
• When you’re designing a template, refreshing the browser can result in missing fields. If you must refresh, use the Refresh button
on the design template page instead of refreshing the browser.
• Long text area fields aren’t supported for related list components in Document Builder.
• Languages that read right-to-left are translated, but the document format isn’t supported.
• In rich text fields, only custom labels are translated.
• In rich text fields, email addresses include a mailto: tag during design time. The mailto tag doesn’t show up in preview or in the
final PDF.
• Long text and picklists aren’t supported for embedded expressions in rich text.
• Community users are supported only for sites with URLs ending in .site.com.
Inventory Management
• Workers using the Field Service mobile app can consume—via the Products Consumed related list—only one serialized product
item per product per work order. This limitation doesn’t apply to nonmobile 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 enable 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.
• 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
With multiday scheduling, you can schedule service appointments that span multiple days. It includes the following limitations.
• Enhanced Scheduling and Optimization doesn't properly handle multiday work that starts or ends during nonworking hours at
a time when travel at the resource's expense is allowed. Such cases can result in incorrect overlapping violations and inaccurate
travel times.
• A service resource can’t be assigned to any other appointment during a multiday service appointment.
• When you’re not using Enhanced Scheduling and Optimization, 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.
• The duration of multiday service appointments can’t span more than 56 calandar days.
17
Salesforce Field Service Field Service Limits and Limitations
• 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.
• You can only schedule one multiday service appointment at a time. Scheduling multiple multiday service appointments in bulk
isn't supported.
Operating Hours
• You can’t create a parent-child relationship between a custom object and Time Slot where Time Slot is the parent object.
• Operating hours can't span a full 24 hours. Instead, use the operating hours 00:00–23:58.
• If you aren’t using Enhanced Scheduling and Optimization, operating hours for secondary service territory memberships must
be identical to or contained within the resource’s primary territory membership’s hours.
Salesforce App
Most Field Service 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. After you create the record,
the parent record field lists the parent work order.
• If the Created Date or Last Modified Date fields are in the future, creating or updating records can cause an error when working
offline with the offline sync permission disabled.
• The dispatcher console—a Field Service 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 five Match Boolean work rules.
• The Gantt and Appointment Booking features can retrieve up to 2,000 scheduling policies.
• Match Fields work rules are supported for schedule optimization only when you're using Enhanced Scheduling and Optimization.
• Match Time work rules are supported for schedule optimization only when you’re using Enhanced Scheduling and Optimization.
• The Emergency Chatter action doesn't support multiday service appointments, bundled service appointments, or service
appointments with a scheduling dependency.
• Schedule optimization is supported only for service appointments whose parent record is a work order or work order line item.
• When you’re not using Enhanced Scheduling and Optimization, scheduling and optimization is supported only for service
territories with at least one primary service territory member.
• When you're using Enhanced Scheduling and Optimization, we recommend that optimization requests that include a service
resource's secondary territory memberships also include the corresponding primary territory membership. However, optimization
requests can still optimize a secondary territory member without the related primary. For example, if you have an optimization
18
Salesforce Field Service Field Service Limits and Limitations
request configured with the service territory Los Angeles, and a service resource has a primary service territory membership of
San Diego and a secondary service territory membership of Los Angeles, the service resource’s schedule for Los Angeles can be
optimized. When you’re not using Enhanced Scheduling and Optimization, optimization requests that include a service resource's
secondary territory memberships must also include the corresponding primary territory membership.
• Only active territories included in the scheduled optimization job are optimized.
• If a service appointment or resource absence doesn’t include an address, the scheduling optimizer assumes that the appointment
is at the assigned resource’s home base. This assumption could cause the optimizer to delete the Travel From value from the
previous service appointment or resource absence with an address. To avoid deletion, add the resource’s home base address
(the Service Territory Member address or, if there isn't a specified address, then the Service Territory address) to the service
appointment or resource absence.
• Global and In-day optimization validate that for already scheduled service appointments, the Scheduled End -Scheduled Start
time = Duration, while taking resource efficiency into consideration. Service appointments that violate this requirement are
unscheduled.
• 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.
• If you drag a multiday service appointment, or manually change its Scheduled Start, the Scheduled End doesn’t go beyond the
due date regardless of the appointment Duration.
• Resource schedule optimization has the following limitations and considerations.
– Under Keep these appointments scheduled, you can select a category of appointments that must remain scheduled.
The optimization can move and then reschedule appointments in this category. If the optimization must keep more than
50 appointments scheduled, it fails.
– 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.
– The Gantt doesn’t show percentage-based progress for resource schedule optimization requests.
– Shifts assigned to secondary territories aren't considered during resource schedule optimization. Instead, use only shifts
without territories or use time slots. This limitation doesn't apply to enhanced scheduling and optimization.
• When you’re not using Enhanced Scheduling and Optimization, if the Fix Overlaps feature is in use, the Reshuffle other
assignments option is only partially supported wuth the When unable to find a valid schedule for an appointment setting.
If more than one service 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 can sometimes 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 appointments with populated Scheduled Start or Scheduled End fields, but without an Assigned Resource, can be
corrupted and lead to unexpected behavior in all Field Service actions.
• Using seconds or milliseconds in the service appointment Scheduled Start and Scheduled End fields isn't supported. For example,
if Scheduled Start is set to 8:00:00 AM and Scheduled End is set to 8:00:45 AM, the optimization engine can unschedule the
19
Salesforce Field Service Field Service Limits and Limitations
service appointment because the start and end time is considered the same (8:00 AM). Using seconds or milliseconds in the
following service appointment fields also isn't supported:
– Due Date
– Earliest Start Permitted
– Arrival Window Start
– Arrival Window End
– Any DateTime field used in work rules of type Field Service - Match Time Rule in your scheduling policy, including custom
fields.
Using seconds or milliseconds in the Start and End DateTime field of the following objects isn't supported:
– Resource Absence
– Time Slot
– Shift
– Service Resource Skill
– Service Territory Member
– Custom objects used in Enhanced Match Rules
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 isn’t supported in Visualforce pages. To include Service Report Lookup in a Visualforce page for
the edit of a Work Order, create a Custom lookup.
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.
Sharing
In Setup, Sharing Settings let you specify default internal and external access to Field Service records. For example, you can share
dispatched service appointments to external Experience Builder site users, such as a team of contractors. But if the Default Internal
Access is Private or Public Read Only, set the Default External Access to Private or Public Read Only also. If the internal setting is Public
Read Write, external resources can see dispatched appointments only when the external setting is Public Read Write and you enable
dispatch sharing to resources.
Street-Level Routing (SLR)
• If a service appointment requires a travel distance of more than 100 kilometers, aerial routing is used.
• Predictive travel isn’t supported with multiday work scheduling. In multiday work scheduling, the exact departure time for each
day is unknown, so SLR is used, corresponding to the fastest travel time (the best SLR travel time that you would get on a night
slot with minimum traffic). Complex work uses point-to-point predictive routing in optimization, and the most optimistic SLR
travel time for platform scheduling. This limitation isn’t relevant when you’re using Enhanced Scheduling and Optimization,
because the enhanced engine doesn’t use SLR.
20
Salesforce Field Service Field Service Key Concepts and Glossary
• 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 aren’t 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, for example, an Uncommitted Work Pending error.
When the schedule falls back to aerial routing due to a failure in the callout, overlaps can appear on the Gantt after the travel
time and break update runs and updates the travel to SLR or predictive travel. To avoid an 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.
SEE ALSO:
Limits and Limitations for Enhanced Scheduling and Optimization
21
Salesforce Field Service Field Service Key Concepts and Glossary
you by generating an optimal schedule according to scheduling policies that define your organizational priorities and constraints.
Schedule optimization helps you comply with service-level agreements and minimize travel time, overtime, costs, and no-shows.
You can define the scope of optimization in different ways.
• Global optimization—Assesses time slots and mobile worker options to schedule upcoming appointments in the best order.
• In-Day Optimization—Optimizes the schedule for one or more territories on the day of service.
• Resource Schedule Optimization (RSO)—Optimizes a specific mobile worker’s day. Reshuffle—Moves existing appointments
to schedule a high-priority appointment.
Service Appointment
A service appointment provides the scheduling and assignment details of a field service visit—onsite or remote—to a customer. A
service appointment can be with or without an arrival window that is derived from a customer’s appointment time.
Service Territory
A service territory is the most basic grouping of service resources in Field Service. A grouping can be based on geographic regions,
such as cities, counties, and neighborhoods, or according to product lines or type of customer. You can assign service resources to
territories and create territory hierarchies, depending on how your business is structured.
Work Order
A work order is a request for field service work. It includes the work type and other relevant information for scheduling the service
appointment. A work order can include several work order line items representing different types of work that must be done or
various assets to be worked on.
Glossary Terms
The frequently used terms
Term Description
Absence A time period when the resource isn’t available for scheduling. An absence can have locations. You
sometimes need the resource absence location to schedule a service appointment before or after
an absence. Absences with a location can also have travel times associated with them. Also referred
to as Resource Absence.
Admin A user who manages Field Service features and sets up user permissions for your org. An admin
must have access to Field Service settings.
Arrival window A time frame that limits the scheduled start time of a service appointment that was scheduled
using appointment booking. The scheduled start time must be between the start time and the end
time of the window.
Asset attributes Describes the state of an asset and can represent its health and performance. Asset attributes
provide a better understanding of the condition of assets and let mobile workers repair and maintain
those assets in the field more efficiently. An asset usually has multiple attributes.
Assigned resource A service resource who is assigned to a service appointment and has relevant information, such as
the travel time and distance.
Briefcase Builder This tool lets admins configure datasets of records that are required for mobile resources to interact
with the Field Service mobile app when they’re offline.
Capacity-based resource A resource representing one or more service resources with a bucket of working hours or service
appointments per period (for example, 100 working hours per week or four service appointments
22
Salesforce Field Service Field Service Key Concepts and Glossary
Term Description
a day). Scheduling service appointments to a capacity-based resource is as easy as scheduling to
a regular service resource.
Check rules A logic service that verifies whether a service appointment conforms to the scheduling rules. When
manually scheduling a service appointment, you can use this service to check whether the scheduling
violates a scheduling rule.
Complex work A composite service appointment, composed of interdependent service appointments, each of
which is performed separately. The appointment dependency defines the time relationship between
service appointments. For example, a service appointment can only be started after the completion
of another service appointment.
Crew A team of service resources scheduled to work together. Resources are allocated to a crew for a
specific time period. During an allocation, crew members can only be scheduled as part of a crew.
Dispatcher console: Gantt A visual representation in the form of a Gantt chart of the service resources and their appointments
over time. The UI provides easy access to many service appointments and resource-related activities.
Dispatcher console: Map A view that displays a map of service appointments, resources’ home bases, and last known locations.
You can add other objects with locations.
Drip feed A method for dispatching service appointments, one by one, as the previous service appointments
are completed.
Duration The time that a service appointment takes to complete. Duration is used to optimize the schedule.
Enhanced Scheduling and The Enhanced Scheduling and Optimization engine is gradually replacing the optimization
Optimization functionality and associated manual and semiautomatic scheduling services. This engine provides
an architecture and services that are more efficient and improve scalability, performance, and
schedule quality. It includes innovative capabilities such as Travel Modes, Service Appointment
Sliding, Multiple Flexible Breaks, Scheduled Jobs, Holiday Management, Offsite Appointments, and
Optimization Hub. As of Summer ’23, new Salesforce orgs have Enhanced Scheduling and
Optimization enabled for all territories by default. Existing orgs can switch to use Enhanced
Scheduling and Optimization for all service territories or per territory.
Entitlement The customer service level (for example, Basic, Premium, VIP) which dictates the response time.
Field Service mobile flow A flow that is supported in the Field Service mobile app, and uses Flow Builder and the Field Service
Mobile Flow type.
Field Service permission sets Allow users to access Field Service features by assigning them permission set licenses. Field Service
includes three permission set licenses related to the managed package and mobile app.
• Field Service Dispatcher—Provides access to the dispatcher console.
• Field Service Scheduling—Allows the user to be shown on the dispatcher console Gantt and
to be included in scheduling and optimization.
• Field Service Mobile—Provides access to the Field Service mobile app.
Field Service settings You can adjust your Field Service settings in two places.
• Setup—Where you initially enable Field Service and set up features.
23
Salesforce Field Service Field Service Key Concepts and Glossary
Term Description
Flexible breaks Admins can set a break duration and a time window for when the break must occur relative to the
start of the mobile resource’s day.
Get Candidates An action that suggests which service resources can be assigned to a service appointment and
when.
Grade A numerical score given to an assignment or an appointment slot according to the relative fulfillment
of a set of objectives.
Holiday management This feature lets admins account for business holiday closures. Admins can refine working hours
by updating operating hours so that service appointments aren’t scheduled on holidays.
Home base A location where a resource starts and ends work each day. You can temporarily change the home
base of a resource. You can define a home base at the Service Territory level or Service Territory
Member level, which overrides the Service Territory level.
Horizon or scheduling horizon • The date range for scheduling a service appointment.
• (Mobile) The time period for priming service appointments.
Inventory The available serialized or not serialized products in a fixed location, such as a warehouse, or a
mobile location that represents the service resource’s stock. Product transfers track the movement
of inventory from one location to another. The inventory numbers at storage locations are updated
automatically to reflect transfers.
Maintenance plan Defines how often maintenance visits occur according to a schedule or based on usage criteria.
For example, maintain the generator every 1,000 operating hours, start from 0 and stop at 100,000
hours. The Maintenance Plan automatically generates work orders for future visits.
Manual scheduling A process by which a dispatcher manually creates assignments. Manual scheduling enables manual
intervention in the scheduling process.
Mobile actions Quick actions, global actions, flows, and app extensions that help your team work more efficiently
from the field. Actions are displayed in a predefined order in the action launcher on record pages
in the app.
Mobile push notification A push notification in the mobile app that informs the mobile workforce of events, such as status
changes, approaching appointments, scheduling changes, or comments added. To create
customized notifications, install the connect app and use the Notification Builder Platform.
Multi-day work A service appointment that spans over multiple days. The maximum period is 8 weeks.
Notifications Center A UI display of notifications relevant to the dispatcher, such as scheduling results and other action
feedback information.
Operating hours The times when field service work can be performed by service resources (weekly recurring
availability per resource and per territory), customer accounts (visiting hours per customer), and
24
Salesforce Field Service Field Service Key Concepts and Glossary
Term Description
appointment booking. Operating hours consist of the time zone and time slots, which can be
broken down into arrival windows.
Optimization Hub This set of dashboards shows the impact and improvements of an optimization request, formatted
as standard KPIs. The optimization hub enables users to gain visibility across the scheduling of
service appointments within service territories.
Outcome-based contracts This feature lets service providers define KPIs for their customers to measure and track service
outcomes and assess the compliance of service contracts. For example, a contract is compliant if
an electric vehicle’s battery is strong as indicated by the charging speed of the battery. Tracking
the vehicle’s charging speed over a time indicates that its battery is strong and therefore, that the
contract is compliant.
Priming Loading of data (records and metadata) to a mobile device according to the scheduling horizon,
so that mobile workers can perform their job while offline.
Priority The importance or urgency of a service appointment, on a numeric scale. The default priority range
is the 1–10 scale, where 1 is the highest priority and 10 is the lowest. You can also choose to use a
scale of 1–100. Used by the optimization process to ensure that when there’s limited resource
availability, service appointments are scheduled according to importance.
Product item A part for services that can be requested, required, transferred, and consumed in field service work.
The Product Item object is used across clouds (Marketing, Sales, Industries, and Commerce).
Relevance group A group of service appointments or service territory members that require their own work rules or
service objectives. For example, use relevance groups to enforce your company policy on breaks
and travel time for full-time versus part-time employees.
Relocation A type of service territory membership in which a service resource is temporarily moved from one
territory to another. A relocation can also temporarily change the resource’s home base.
Resource efficiency The relative speed at which a resource works (1 = the nominal rate). For example, if a service
appointment is expected to take 1 hour, it takes a resource with an efficiency of 0.5 2 hours.
Scheduled job Scheduled jobs are Apex jobs scheduled to run at a given time in the future. In Field Service,
scheduled jobs are used to group a set of data to submit for optimization or share records with
user territories.
Scheduled start and scheduled A scheduled time slot for a service appointment.
end
Scheduling dependencies Scheduling dependencies between related service appointments helps you account for situations
when mobile resources must perform related service appointments in a certain order. For example,
ensure that a particular appointment can’t start until a related appointment is completed or that
two appointments must start at the same time.
Scheduling policy A set of work rules and service objectives that guide the schedule optimizer in its decisions. You
can use scheduling policies to promote or de-emphasize factors, like business priorities, travel time,
25
Salesforce Field Service Field Service Key Concepts and Glossary
Term Description
and customer preferences. For example, if an organization has 100 resources, work rules look at
various criteria, such as availability, territory assignment, skills, driving distance, to reduce the number
of potential candidates to five. These five candidates are then analyzed by service objectives to
assign a grade to each candidate. The grade determines who, out of the five, is the best resource
and time slot to schedule.
Scheduling recipe A scheduling automation that is triggered by certain events to solve overlaps (caused by urgent
service appointments or late ending of service appointments) or free spaces (caused by service
appointments ending early or canceled).
Serialized product A product with a serial number whose movements between locations, such as warehouses, depots,
or mobile workers, can be tracked.
Service appointment list A Field Service view that displays service appointments. The list provides easy access to service
appointments and actions in the Gantt view of the Dispatcher console.
Service appointment status or A lifecycle sequence of stages or statuses through which a service appointment passes. The lifecycle
status category covers the time from when the service appointment enters the organization until the time it’s
completed. Each status category can include several statuses.
Service appointment sliding This feature enables moving service appointments on the Gantt for the same resource to an earlier
or later time within the resource’s shift. Appointment sliding lets you free up time for a new service
appointment when using appointment booking and scheduling operations.
Service appointment time Field Service includes the time properties that are relevant for the four standard Match Time Rule
properties 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 that 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 End is equal to or earlier than
the Arrival Window End.
Service contract A contractual agreement to provide service to a customer based on their profile. Service contracts
represent different types of customer service, such as subscriptions or service level agreements
(SLAs) that stipulate a certain due date or a start-by date. The products covered by a service contract
are the contract line items.
Service objective A logic entity that evaluates and grades assignments or schedules. Service objectives enable using
business priorities to choose the best candidate for the job. For example, if the top priority is to
minimize travel, the qualified candidate closest to the job site is the best choice.
Service report A customer-facing report summarizing the status of service appointments and work orders.
26
Salesforce Field Service Field Service Key Concepts and Glossary
Term Description
Service resource list A part of the Gantt view that displays all the resources in the system. The Service Resource List
provides easy access to resources and actions in the Gantt view of the Dispatcher console.
Shift availability A set of working periods for your shift-based workforce, such as contractors or on-call staff. You
can create and assign shifts for particular dates and times when you need coverage.
Skill An ability required to perform a field service task. You can assign skills to service resources to
represent certifications or areas of expertise. You can add skill requirements to work types, work
orders, and work order line items to indicate the skills required to complete the work. Skills can also
have skill levels.
Time-phased Refers to a property whose value varies at specified times. For example, time-phased skills of a crew
that change when a resource is added or removed from the crew (applies to Skills, Territory
Membership, and Crew Membership).
Time sheets A tool that tracks the time that your field service employees spend on tasks. Time sheets are mainly
used for payment and charging.
Travel modes Travel modes reflect transportation type (car, light truck, heavy truck, bicycle, or walking), the use
of toll roads, and hazmat considerations. Travel modes enhance predictive travel by providing more
accurate travel time predictions and improving the completion rate of service appointments.
Work Capacity The Work Capacity feature lets users control the amount of work that the optimization service can
schedule for service resources. This feature enables capacity reservation based on dynamic company
priorities. Limiting work capacity is done by adding adjustable thresholds that limit how many
hours or what percentage of the total work capacity can be scheduled for working on specific
service appointments. For example, you can limit the total duration of new installation jobs scheduled
in the New York territory to 100 hours per day during weekdays for the next 2 months. You can
also limit maintenance jobs to 50 hours per day on Mondays. Or set the limit as a percentage of
the total calculated available work capacity. For example, limit the installation jobs in Miami to 15%
of the total calculated available time in Miami per day during the same time period.
Work order A request for one-time or recurring field service work. It includes the work type and all relevant
information for scheduling the service appointment. A work order can include several work order
line items.
Work plan or work steps A work plan is a set of prescribed work steps that guide frontline and back-office workers on how
to complete a work order. By following steps in work plans, field service teams can complete
assignments quickly, consistently, and with less guesswork.
Work rule A combination of rules determines which candidates can complete the job based on business
policies and organizational goals. A work rule determines whether the candidates have the required
skills and if they’re available in the right territory at the right time. For example, a rule can require
that a resource can be assigned to a service appointment only if they’re both in the same district.
Work type A template that is used for common field service work, such as cable installations or furnace repairs.
It includes the work duration, skills required for a specific work type, and so on.
SEE ALSO:
Concepts, Products, and Services
27
Salesforce Field Service Set Up Field Service
28
Salesforce Field Service Set Up Field Service
SEE ALSO:
Field Service Mobile App
Field Service Developer Guide
Trailhead: Get on the Road with Field Service
29
Salesforce Field Service Enable Field Service
4. Optionally, update the sharing settings. See Limit Access to Field Service Records.
5. When you set up work types, which are templates for work orders, you can opt to automatically add a service appointment to new
work orders or work order line items associated with a work type. Configure the number of days between the created date and due
date on auto-created service appointments.
6. If you want to use your knowledge base in field service, select the fields that the search engine scans to suggest articles on work
orders or work order line items.
7. Save your changes.
SEE ALSO:
Trailhead: Field Service Basics
30
Salesforce Field Service Install the Field Service Managed Package
You can install the managed package on a production or sandbox org. To assign a permission set
license:
2. Select Install for Admins Only. • Manage Users
If you receive a request to approve third-party access, click Yes and Continue. Approving this To create a permission set:
request allows the street-level routing and optimization services to function. • Manage Profiles and
Permission Sets
3. If a message indicates that the installation is taking longer than expected, click Done.
You’ll receive an email notification after the installation is complete.
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.
31
Salesforce Field Service Manage Field Service Permissions
Note: Salesforce Setup includes a separate Field Service Settings page where you can customize general settings related to field
service.
SEE ALSO:
Trailhead: Supercharge Field Service
Field Service Mobile App
Field Service Limits and Limitations
32
Salesforce Field Service Manage Field Service Permissions
Mobile workers (technicians) Mobile workers receive work orders and service
appointments from dispatchers or agents and
conduct customer site visits. They also update
job progress from mobile devices with the
Salesforce mobile app or the Field Service
mobile app.
33
Salesforce Field Service Manage Field Service Permissions
Dispatchers and field technicians can’t handle inbound customer communications in call centers, manage customer cases, or complete
sales-oriented tasks without additional licenses.
USER PERMISSIONS
Permission Set Description Who Needs It
Field Service Dispatcher Provides access to the Dispatchers To access field service
objects:
dispatcher console.
• Field Service Standard
Field Service Dispatcher Plus Provides login-based users with Contractor dispatchers To assign a permission set
Login-Based the Contractor Plus license license:
access to the dispatcher • Manage Users
console. To create a permission set:
Field Service Scheduling Allows the user to be shown on Mobile workers (field • Manage Profiles and
the dispatcher console Gantt technicians) Permission Sets
and included in scheduling and
optimization.
Field Service Scheduling Provides login-based users with Contractor mobile workers
Login-Based the Contractor license access (field technicians)
to Field Service Scheduling
features.
Field Service Scheduling Plus Provides login-based users with Contractor mobile workers
Login-Based the Contractor Plus license (field technicians)
access to Field Service
Scheduling features.
34
Salesforce Field Service Manage Field Service Permissions
Field Service Mobile Login-Based Provides login-based users with the Contractor mobile users and contractor
Contractor license access to Field Service admin
Mobile features.
Field Service Mobile Plus Login-Based Provides login-based users with the Contractor mobile users
Contractor Plus license access to Field
Service Mobile features.
Field Service Guest User Gives unauthenticated users limited access Guest users
to view and create records.
Dispatchers and field technicians can’t handle inbound customer communications in call centers, manage customer cases, or complete
sales-oriented tasks without additional licenses.
SEE ALSO:
Limit Access to Field Service Records
Set Up Inventory Access for Mobile Workers
35
Salesforce Field Service Manage Field Service Permissions
Field Service Field Service Field Service Agent Permissions provides the minimum
Agent Agent permissions needed to use the Field Service global
Permissions AND actions, such as Book Appointment, Get Candidates,
Field Service and Emergency actions.
Agent License* *The Field Service Agent License isn’t created in newer
Salesforce orgs.
Field Service Field Service Field Service Mobile License provides the permission
Resource Mobile License set license needed for users to log into the Field Service
AND Field mobile app.
Service Field Service Scheduling License provides the
Scheduling permission set license needed for the user to appear
License AND on the Gantt and to be scheduled by the scheduling
Field Service engine and optimizer.
Resource
Permissions Field Service Resource Permissions provides the
minimum permissions needed for users to update
appointment status and update their last known
location.
36
Salesforce Field Service Manage Field Service Permissions
Field Service Community Field Service Community Users can view and use the dispatcher console, view global actions and their
Dispatcher Dispatcher License AND related objects, and schedule, optimize, and dispatch service appointments.
Field Service Community
Dispatcher Permissions
Field Service Self Service Field Service Self Service Experience Builder site users can view all global actions and their related
License AND Field objects to create, book, and schedule their appointments.
Service Self Service
Permissions
Field Service Integration Field Service Integration Users can access data needed for optimization, automatic scheduling, and
service appointment bundling.
Field Service Bundle for Field Service Bundle for Users can schedule and manage bundled service appointments.
Dispatcher Dispatcher License AND
Field Service Bundle for
Dispatcher Permissions
Field Service Guest User Field Service Guest User Field Service Guest User License provides the permissions for unauthenticated
License users to run appointment booking and scheduling actions.
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.
SEE ALSO:
How Are Field Service Permission Sets Updated?
37
Salesforce Field Service Manage Field Service Permissions
Dispatcher: Access all global actions and their • Field Service Dispatcher License
related objects to create, book, and schedule
• Field Service Dispatcher Permissions
service appointments.
38
Salesforce Field Service Manage Field Service Permissions
Note: Avoid altering the default Salesforce Field Service permission sets within the managed package, as new package versions
override any changes. Instead, create additional permission sets to customize permissions for specific users. If you must revoke a
permission from the standard set for specific users, create a permission set group containing the Field Service standard permission
sets, your custom permission sets, and a muting permission set.
To check if a permission set is current, from the App Launcher, find and open the Field Service Admin app. Click Field Service Settings >
Getting Started > Permission Sets. Each permission set tile includes a message indicating that it’s current. If it doesn’t, click Update
Permissions on the tile.
Note: 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 Field Service Permission
Sets feature. To update permissions for Apex Class, Record Types, and Tabs Visibility, you must be an admin or have ModifyAllData
or ModifyMetadata permissions.
39
Salesforce Field Service Manage Field Service Permissions
Optionally, you can give users the extended custom permissions marked in the table. To use these permissions, add them to users, and
then activate them in Field Service Settings > Dispatcher Console UI > Extended Custom Permissions.
Note: If you activate the extended permissions without first adding them to users, you make the Gantt read-only. Activation is
required only after in existing orgs and is irreversible. Extended Custom Permissions is automatically activated in Salesforce as
of Summer ’20.
The managed package custom permissions use the FSL namespace prefix.
Bulk Schedule Schedule selected appointments from the appointment list or from polygons.
Bulk Unschedule Unschedule selected appointments from the appointment list or from polygons.
Create Custom Gantt Filters Create custom filters for appointments on the Gantt.
Fix Overlaps Resolve overlapping appointments from the resource action menu.
Enable Check Rules - All Services Initiate a rule validation check on demand. This checks rules for all services loaded on the Gantt when
the rule validation frequency isn’t Always.
Enable Gantt Locker Lock and unlock the Gantt chart using the Gantt locker. This action also disables dragging
appointments to the Gantt from the appointment list or map. Standard and custom actions on the
appointment list and map are still shown and enabled according to your org’s setup. This permission
is an extended custom permission.
Gantt - Enable Adjusting Edit the start and end time of a service appointment or resource absence on the Gantt.
Duration
Gantt - Enable Gantt Policy Select a nondefault policy for scheduling and calculating rule violations. This permission is an extended
Picker custom permission.
Gantt and List - Bundle and Bundle and unbundle service appointments from the Gantt or from the appointment list.
Unbundle
Gantt and List - Enable Bulk Check rules for multiple service appointments from the Gantt or from the appointment list.
Check Rule
Gantt and List - Enable Check Check rules for a single service appointment from the Gantt or from the appointment list.
Rules
Gantt and List - Show Get Find resources for an appointment from the appointment list or from the Gantt. This permission is
Candidates an extended custom permission.
40
Salesforce Field Service Manage Field Service Permissions
Gantt Palettes View View the Palettes tab in the Gantt, and apply the selected palette.
Gantt - Show Change Status Change the status from the Gantt. Without this permission, users can’t dispatch from the map. This
Action permission is an extended custom permission.
Gantt - Show Pin Service Pin or unpin appointments from the Gantt. This permission is an extended custom permission.
Gantt - Show Unschedule Unschedule appointments from the Gantt. This permission is an extended custom permission.
Group Nearby Adjust the schedule on the Gantt to find other appointments on that day that are close to the selected
appointment.
Hide map on Emergency Wizard Hide the map view in the Emergency Wizard to show only candidates.
Hide Live Positions from Hide the Live Positions marker from the dispatcher console map.
Dispatcher Console Map
Hide Actual Routes from Hide the Actual Route from the service resource’s map.
Resource Map
Hide Live Positions from Hide the Live Positions marker from the service resource’s map.
Resource Map
Hide Resource’s Last Seen Time Hide the service resource’s Last-Seen indicator from the Gantt.
from Gantt
Include Keep Scheduled in Show the Keep Scheduled Criteria setting in the Optimize window.
Optimize Window
Longterm View Show 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 from a map polygon. This permission is an extended custom permission.
Jeopardy
MDT View Show 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.
41
Salesforce Field Service Manage Field Service Permissions
Resource Schedule Optimization Optimize a resource’s schedule from the resource action menu.
Schedule Schedule an appointment from the appointment list or from the map.
Service List View - Exclude Show service appointments that aren’t bundle members in the appointment list.
Bundle Members
Service List View - Rule Violating Show the Rule Violating appointment list.
Streaming API After activating Gantt Live Updates, 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 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.
42
Salesforce Field Service Set Up Service Territories, Operating Hours, and Shifts for
Field Service
5. Click Save.
USER PERMISSIONS
6. Repeat the previous steps for the following objects.
• Service Appointment: Assign the FSL Service Appointment Layout To customize the Field
Service managed package:
• Service Resource: Assign the FSL Service Resource Layout
• Customize Application
• Work Order: Assign the FSL Work Order Layout
To assign page layouts:
• Work Order Line Item: Assign the FSL Work Order Line Item Layout • Manage Profiles and
• Work Type: Assign the FSL Work Type Layout Permission Sets
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: both Salesforce
Classic (not available in all
Create Service Territories for Field Service orgs) and Lightning
Organize your field service workforce by creating service territories from Guided Setup or from Experience
the Service Territories tab. Tailor these territories to represent geographic regions—such as The Field Service core
cities, counties, or neighborhoods—or functional areas such as field sales and field service, features, managed
depending on your business needs. For utility customers, service territories can include specific package, and mobile app
business units such as Gas or Electric. The territory location is stored in the address section. If are available in Enterprise,
you plan to build out a hierarchy of service territories, create the highest-level territories first. Unlimited, and Developer
Editions.
Create Operating Hours for Field Service
Set operating hours to make sure your field service workforce is available for appointments
during their working hours. Define customer availability so that appointments are scheduled
when customers can receive service, and establish default Appointment Booking and entitlement-based appointment windows to
enhance service delivery. This approach ensures efficient scheduling, aligning workforce and customer availability for improved
satisfaction.
43
Salesforce Field Service Set Up Service Territories, Operating Hours, and Shifts for
Field Service
SEE ALSO:
Set Up Your Field Service Workforce
To create service territories: Create on service territories Available in: both Salesforce
Classic (not available in all
To view service territories and the Service Read on service territories
orgs) and Lightning
Territories tab:
Experience
To edit service territories: Edit on service territories
The Field Service core
To delete service territories: Delete on service territories features, managed
package, and mobile app
To view service territory locations: Read on service territories are available in Enterprise,
To create, update, or delete service territory Edit on service territories Unlimited, and Developer
locations: Editions.
Organize your field service workforce by creating service territories from Guided Setup or from the Service Territories tab. Tailor these
territories to represent geographic regions—such as cities, counties, or neighborhoods—or functional areas such as field sales and field
service, depending on your business needs. For utility customers, service territories can include specific business units such as Gas or
Electric. The territory location is stored in the address section. If you plan to build out a hierarchy of service territories, create the highest-level
territories first.
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 mobile workers assigned to them. Review Guidelines for Creating Service Territories for
Field Service.
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 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 permission sets are scanned to make sure that they’re
up-to-date. You 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, address, and travel time buffer.
44
Salesforce Field Service Set Up Service Territories, Operating Hours, and Shifts for
Field Service
5. Operating hours indicate the working hours of mobile workers 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.
6. To account for activities other than driving, such as unloading technical gear, walking time in a building complex, or finding parking,
define a travel time buffer. Valid values are 0 to 120 minutes. When an appointment in this territory is scheduled, or when the schedule
changes, the buffer is added to the estimated travel time of the assigned resource. Defining a value for a territory overrides the travel
time buffer you define when setting up routing on page 138.
Travel time buffers are available only when you’re using Enhanced Scheduling and Optimization.
SEE ALSO:
Service Territory Fields for Field Service
Guidelines for Creating Service Territories for Field Service
45
Salesforce Field Service Set Up Service Territories, Operating Hours, and Shifts for
Field Service
Note: If your company provides service across multiple time zones, ensure that territories created don’t encompass geographies
that span multiple time zone. For example, Kentucky includes multiple time zones. Instead, create separate territories such as
Eastern Kentucky and Western Kentucky. Associate each territory with map polygon KML records that define geographical boundaries
aligning with the time zone line. This practice is critical to ensure that when you’re scheduling work, the scheduled times are
always set and communicated in the local time zone of both the customer and the technicians.
Note: Most Field Service customers adopt a private org-wide default sharing model for service territories, service resources, and
service appointments. This approach ensures that record access is granted on a need-to-know basis. Salesforce Field Service offers
out-of-the-box sharing capabilities that facilitate appropriate access when a private sharing model is in place. Specifically, service
resources and service appointments associated with a service territory are shared with dispatchers responsible for managing that
service territory. This sharing functionality is achieved through the use of public groups, User Territory records, and the user territory
scheduled job. See Limit Access to Field Service Records
If your primary and secondary service territories have the same operating hours, you don’t need to apply the operating hours to
both territories. It’s sufficient to set only the primary service territory operating hours and leave the secondary service territory
Operating Hours field empty.
Territory Size
The size of your service territories has a significant impact on scheduling, optimization, and dispatching. If a service territory is too large
and many service resources and dispatchers are assigned to it, optimization and dispatching become cumbersome. Try to stay within
these suggested limits when designing your service territories:
46
Salesforce Field Service Set Up Service Territories, Operating Hours, and Shifts for
Field Service
Note: Service territory members must have their home base location geocoded so that the scheduling engine knows the resource’s
start and end points.
Assign service resources to service territories in the Service Territories related list on the resource detail page or the Service Territory
Members related list on the territory detail page. Use the Type field to indicate whether the territory is a primary, secondary, or relocation
territory for the resource. Scheduling and optimization is supported only for service territories with at least one primary service territory
member.
• The primary territory is typically the territory where the resource works most often—for instance, near their home base. Resources
can have only one primary territory. If a Match Territory work rule is included in the applied scheduling policy, the resource can be
assigned only to appointments in their primary or relocation territories.
• Secondary territories are territories where the resource can be assigned to appointments if needed. A resource can have more than
one secondary territory.
• Relocation territories represent temporary moves and, during their active dates, serve as the primary territory during scheduling. If
a Working Territories work rule is included in the applied scheduling policy, the resource can also be assigned to appointments in
their secondary territories.
• If you aren’t using Enhanced Scheduling and Optimization, secondary territory memberships must be identical to, or contained
within, the primary territory membership for a particular time and resource. If the secondary territory memberships aren't fully covered
by a primary territory membership, availability applies only to the overlapping period.
Note: We recommend using 00:00 because it aligns with Field Service’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 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.
47
Salesforce Field Service Set Up Service Territories, Operating Hours, and Shifts for
Field Service
• If you're using 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.
SEE ALSO:
Service Territory Fields for Field Service
To view operating hours and time slots: Read on operating hours Available in: both Salesforce
Classic (not available in all
To create operating hours: Create on operating hours
orgs) and Lightning
To assign operating hours to service Edit on service resources Experience
resources:
The Field Service core
To assign operating hours to service Edit on service territories features, managed
territories: package, and mobile app
are available in Enterprise,
To assign operating hours to accounts: Edit on accounts Unlimited, and Developer
To update, create, or delete time slots: Edit on operating hours Editions.
Set operating hours to make sure your field service workforce is available for appointments during their working hours. Define customer
availability so that appointments are scheduled when customers can receive service, and establish default Appointment Booking and
entitlement-based appointment windows to enhance service delivery. This approach ensures efficient scheduling, aligning workforce
and customer availability for improved satisfaction.
48
Salesforce Field Service Set Up Service Territories, Operating Hours, and Shifts for
Field Service
We recommend creating operating hours in Guided Setup—a Field Service managed package feature—to save time and gain visibility
into how they’re used. Operating hours are an element of the following Guided Setup steps.
• Create Service Territories
• Create Service Resources
• Customize Appointment Booking
You can also create and manage operating hours from the Operating Hours tab, outside of Guided Setup. By default, only System
Administrators can view, create, and assign operating hours. Also, operating hours aren’t available in the Organization-Wide Default
Sharing Settings.
Operating hours are composed of time slots, which are managed from the Time Slots related list on an operating hours record. Time
slots can vary by day. A day can have multiple time slots, but they must be adjacent for the hours to be respected during optimization.
For example, an operating hours record can have the following time slots.
• Monday, 9 AM to 5 PM
• Tuesday, 9 AM to 5 PM
• Wednesday, 6 AM to 12 PM and Wednesday, 12 PM to 6 PM
• Thursday, 9 AM to 5 PM
• Friday, 9 AM to 5 PM
If a resource is unavailable during the day at a specific time slot, you must indicate this using Resource Absence, and not split availability.
For example, if a service resource is available on Wednesday, 6 AM to 12 PM, and again from 1 PM to 6 PM, then extend availability from
6 AM to 6 PM and insert a Resource Absence between 12 PM and 1 PM.
Each operating hours record is associated with a time zone, which ensures that scheduling and optimization work properly. For
appointment booking hours, Field Service uses the time zone listed on the operating hours of the service appointment’s 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 service territories list shows only selected territories. Use the
search bar to find territories that aren't selected. 24-hour operating hours coverage isn't supported for mobile workers and
capacity-based resources.
49
Salesforce Field Service Set Up Service Territories, Operating Hours, and Shifts for
Field Service
For example, suppose Shelly has a primary and secondary service territory. Her Monday hours are 12:00 PM to 5:00 PM in the primary
territory, but 9:00 AM to 5:00 PM in the secondary territory. When she’s being scheduled to a Monday service appointment in the
secondary territory, her primary hours are used because they’re more restrictive.
When you aren’t using Enhanced Scheduling and Optimization, secondary operating hours don’t contribute to resource availability
because they’re always fully contained in the primary operating hours. When you’re using Enhanced Scheduling and Optimization,
because secondary operating hours don’t need to be fully contained, operating hours on secondary service territories adds resource
availability. You can increase resource utilization and reduce response time by enabling your resources to service multiple time zones
in one shift. Set operating hours on secondary service territories in various time zones to maximize resource availability. For example, a
mobile worker can service adjacent cities in different time zones. Or, a service resource can provide technical assistance from a call center
to New York, Tel Aviv, London, and Sydney.
For example, Melissa has Columbus, GA, as her primary service territory with 9:00 AM to 5:00 PM operating hours and has a secondary
service territory Phenix City, AL, also with 9:00 AM to 5:00 PM operating hours. Columbus, GA is in a time zone that’s 1 hour ahead of
Phenix City, AL. Melissa's availability is calculated from each respective territory's operating hours such that Melissa is available to work
for 9 hours overall. During the first hour of her shift, Melissa services only Columbus, GA, while for the next 7 hours, she covers both
territories. During the last hour of her day, Melissa services only Phenix City, AL.
Note: 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.
50
Salesforce Field Service Set Up Service Territories, Operating Hours, and Shifts for
Field Service
SEE ALSO:
Guidelines for Creating Operating Hours for Field Service
Operating Hours Fields for Field Service
Time Zones and Appointment Booking
Work Rule Type: Service Appointment Visiting Hours
Guidelines for Setting Up Field Service Contractors
51
Salesforce Field Service Set Up Service Territories, Operating Hours, and Shifts for
Field Service
Service territories The default working hours for Select operating hours when
the service territory members, creating a service territory in
unless different hours are Guided Setup. Or, update the
specified on a service territory Operating Hours field on the
member record. service territory record.
Service territory members The hours when the member Update the Operating Hours
(a service resource) is available field on a service territory
to work if these hours differ member record.
from the service territory
operating hours.
If the member's availability is
the same as the service
territory, it’s a best practice not
to define separate operating
hours for the service territory
member. In this case, the
service territory's operating
hours govern the resource's
availability.
52
Salesforce Field Service Set Up Service Territories, Operating Hours, and Shifts for
Field Service
Note: If different appointment booking windows are needed for different level of service, add entitlements to your work orders.
For example, standard customers get 4-hour booking windows while VIP customers get 2-hour windows. In the Operating Hours
field on the entitlement, select the appropriate appointment booking window operating hours.
SEE ALSO:
Create Operating Hours for Field Service
Operating Hours Fields for Field Service
Time Zones and Appointment Booking
Work Rule Type: Service Appointment Visiting Hours
Guidelines for Setting Up Field Service Contractors
53
Salesforce Field Service Set Up Service Territories, Operating Hours, and Shifts for
Field Service
Note: It can take a few minutes for newly created holidays to appear in the search results.
54
Salesforce Field Service Set Up Service Territories, Operating Hours, and Shifts for
Field Service
SEE ALSO:
Set Up Support Holidays
Enable Enhanced Scheduling and Optimization
55
Salesforce Field Service Set Up Service Territories, Operating Hours, and Shifts for
Field Service
Shifts are similar to operating hours in Salesforce, with some key differences. Operating hours let The Field Service core
you define consistent, ongoing time slots when your team is available. Shifts, by contrast, let you features, managed
define variable time slots that can vary from day to day. You can use both shifts and operating hours package, and mobile app
to assign work, so that you can assign team members to shifts where and when they’re needed. are available in Enterprise,
Unlimited, and Developer
For example, if you use operating hours for your regular weekday hours, you can create shifts to Editions.
define weekend on-call duties. You can use shifts instead of operating hours. For example, you can
create shifts for a workforce of students or contractors who don’t have regular work hours. Make When the managed
sure you define an Operating Hours record with no associated time slots for the service resource's package is installed,
Territory Member records when using shifts instead of operating hours, as Resource Availability scheduling and optimization
considers both operating hours and shifts. consider shift availability.
Confirmed shifts appear on
the Gantt.
Shift Scheduling Versus Service Appointment Scheduling
Shift scheduling and service appointment scheduling are different functionalities. Shift scheduling
assigns ad hoc availability hours to a service resource, while service appointment scheduling assigns work to a service resource. You can
use shifts and shift scheduling in addition to service appointment scheduling.
Field Service includes specific tools and records for assigning shifts, distinct from tools used for scheduling service appointments. To
avoid confusion, learn more about the differences between shift scheduling tools and service appointment scheduling tools.
Scheduling objectives in Setup determine the best service resource Service objectives associated with scheduling policies determine
to be assigned a shift based on business goals. the best service resource to be assigned a service appointment
based on business goals.
Job profiles determine which skills a service resource must have Work types determine which skills a service resource must have to
to be assigned a shift. be assigned a service appointment as well as other factors such as
duration and due date.
Shift scheduling constraints can be used to limit how many shifts Count work rules can be used to limit how many service
can be assigned to a service resource within a given time frame. appointments can be assigned to a service resource each day.
Shift scheduling tools include the Get Candidates shift assignment Appointment scheduling tools include the Get Candidates and
action, and bulk shift assignment by using the Mass Shift Update Book Appointment actions on the Work Order page layout and
button on the shift list view. other tools for assigning service appointments.
56
Salesforce Field Service Set Up Service Territories, Operating Hours, and Shifts for
Field Service
• You must have at least one service resource who’s assigned to a service territory.
• To let them create shifts, give your shift and service managers access to view, create, and edit the following objects:
– Shifts
– Job Profiles
– Service Territories
– Service Resources
– Service Territory Memberships
• To select job profiles when you create shifts, add the Job Profile field to shift layouts.
• To select recordset filter criteria when you create shifts, add the Recordset Filter Criteria field to shift layouts. Give users access to
view the Recordset Filter Criteria object.
SEE ALSO:
Prepare Your Org for Shift Scheduling
Manage Field Service Shifts
57
Salesforce Field Service Set Up Service Territories, Operating Hours, and Shifts for
Field Service
58
Salesforce Field Service Set Up Service Territories, Operating Hours, and Shifts for
Field Service
appointments (work) to service resources. Each set of tools serves a unique purpose within Field Service to streamline the scheduling
process.
Note: Shifts and shift scheduling (assigning ad hoc availability hours to a service resource) is a different concept from service
appointment scheduling (assigning work to a service resource) in Field Service. Many Salesforce Field Service customers use Field
Service only to assign service appointments to their workforce and don’t use shifts or shift scheduling. However, some companies
use shifts and shift scheduling.
SEE ALSO:
Assign and Update Field Service Shifts
What Are Shifts?
Prepare Your Org for Shift Scheduling
59
Salesforce Field Service Set Up Service Territories, Operating Hours, and Shifts for
Field Service
• Balance Shifts— Scheduling balances the number of shifts across agents within the specified time period.
• Balance Non-Standard Shifts—Scheduling balances the number of non-standard shifts across agents within the specified
time period.
60
Salesforce Field Service Set Up Service Territories, Operating Hours, and Shifts for
Field Service
3. To edit a scheduling objective, open the dropdown action menu and select Edit.
4. To delete a scheduling objective, open the dropdown action menu and select Delete.
SEE ALSO:
Assign and Update Field Service Shifts
What Are Shifts?
Prepare Your Org for Shift Scheduling
61
Salesforce Field Service Set Up Service Territories, Operating Hours, and Shifts for
Field Service
SEE ALSO:
Assign and Update Field Service Shifts
What Are Shifts?
Prepare Your Org for Shift Scheduling
62
Salesforce Field Service Set Up Service Territories, Operating Hours, and Shifts for
Field Service
63
Salesforce Field Service Set Up Service Territories, Operating Hours, and Shifts for
Field Service
6. Open the Service Resource or Service Territory where you want to add a constraint.
7. In the Scheduling Constraints field, add your constraint, and save your changes.
Field Value
Shift Template Name Daily delivery shifts
64
Salesforce Field Service Set Up Service Territories, Operating Hours, and Shifts for
Field Service
Field Value
Pattern Length 1
For the shift pattern entries, add the morning, afternoon, and evening delivery shift templates. Because the pattern is for a single
day, the Day Position is one for each of the templates. When the shifts are created, you can optionally assign a service territory and
service resource to the shifts. You can’t assign multiple territories or resources, so we recommend keeping the patterns fairly simple.
Field Value
Shift Template Name Front desk shifts, Weekly (Monday)
Pattern Length 7
For the shift pattern entries, add the morning, afternoon, and weekend shift templates.
• Add the morning shift seven times, iterating through the day positions 1 through 7.
• Add the evening shift seven times, iterating through the day positions 1 through 7.
• Because the pattern starts on Monday, add the weekend surge shifts for Day Position four, five, and 6.
You now have a shift pattern that creates 17 shifts per week.
65
Salesforce Field Service Set Up Service Territories, Operating Hours, and Shifts for
Field Service
USER PERMISSIONS
66
Salesforce Field Service Set Up Service Territories, Operating Hours, and Shifts for
Field Service
8. Make sure that the shift templates and the shift pattern are active.
67
Salesforce Field Service Set Up Work Order Management for Field Service
Customize Work Order Settings for Field Service The Field Service core
To control how your team works with work orders and work types, customize page layouts and features, managed
assign user permissions. package, and mobile app
are available in Enterprise,
Set Up Knowledge for Work Orders Unlimited, and Developer
Attach knowledge articles to Field Service work orders, work order line items, and work types Editions.
to share guidelines and specs with mobile workers in the field. Learn how to customize page
layouts to let your team view or manage attached articles, also known as linked articles.
Set Up Path for Field Service
To guide your team as they complete field service jobs, add an interactive, color-coded progress bar to work orders, work order line
items, and service appointments.
Setup for Maintenance Work Rules
For Salesforce orgs created before the Spring ’21 (230) release, setup is required to take full advantage of Field Service maintenance
work rules.
SEE ALSO:
Manage Field Service Work Orders
68
Salesforce Field Service Set Up Work Order Management for Field Service
If the Field Service managed package is installed, use Guided Setup to quickly create your work The Field Service core
types. features, managed
package, and mobile app
1. From the App Launcher, find and open the Field Service Admin app, and then click the Field
are available in Enterprise,
Service Settings tab.
Unlimited, and Developer
2. Click Go to Guided Setup. When you launch guided setup, your Field Service permission sets Editions.
are scanned to make sure that they’re up-to-date. You see a message if you’re missing a necessary
permission.
USER PERMISSIONS
3. Click Create Work Types and Skills.
To create work types:
4. Enter a name to create a work type, and update the Name, Description, Due Date Offset, and
• Create on work types
Estimated Duration.
To apply work types to work
Note: Hover over each field’s info icon for help with filling it out. orders or work order line
items:
5. Select Auto-Create Service Appointment to generate a child service appointment when a • Edit on work orders
work order or work order line item is created from the work type.
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.
69
Salesforce Field Service Set Up Work Order Management for Field Service
SEE ALSO:
Work Type Fields for Field Service
Add Required Skills to Work Orders or Work Types for Field Service
Attach Knowledge Articles to Work Orders or Work Types
Track Required Inventory in Field Service
Trailhead: Field Service Center Customization
Note: If a work type is updated on a work order or service appointment, the derived values, for example, skills and duration, aren’t
automatically updated unless no values were initially set. Also, updating a work type after it’s been assigned to a work order or
service appointment doesn’t automatically update the derived properties.
You can update a record’s settings after they’re inherited from the work type.
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 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.
70
Salesforce Field Service Set Up Work Order Management for Field Service
Note: Customizations to skill requirements, such as validation rules or Apex triggers, aren't 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, aren't 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.
• 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.
71
Salesforce Field Service Set Up Work Order Management for Field Service
– An article attached to a work type can display in a different title or language in the Articles related list versus in the Knowledge
Lightning component. The Articles related list shows the article version that work orders and work order line items inherit from
the work type.
SEE ALSO:
Work Type Fields for Field Service
Set Up Knowledge for Work Orders
Add Required Skills to Work Orders or Work Types for Field Service
Create and update skills in Setup: Customize Application Available in: both Salesforce
Classic (not available in all
Assign skills to service resources: Edit on service resources
orgs) and Lightning
View service resources’ skills: Read on service resources Experience
Add required skills to work orders or work Edit on work orders The Field Service core
order line items: features, managed
package, and mobile app
Add required skills to work types: Edit on work types are available in Enterprise,
Unlimited, and Developer
Editions.
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. If you select the Match Skill Level field in the Match Skills work rule, service appointments are only scheduled to service resources
who have the same or higher skill level requirement.
If the Field Service 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.
Note:
• 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.
72
Salesforce Field Service Set Up Work Order Management for Field Service
3. Assign the skill to service resources (supported in both Salesforce Classic and Lightning Experience).
a. You can create and assign a service resource skill from a service resource record. In the Skills related list, select New, or select
Assign Skills to assign an existing skill.
b. Select a skill, and enter a skill level from 0 to 99.99.
c. Enter a start date and, if needed, an end date. For example, if a mobile worker must be recertified in a particular skill every six
months, enter an end date that’s six months later than the start date.
Note:
• The Field Service managed package comes with the Skill Selector Visualforce page component
(vf034_Skill_Selector_V2_Resource_Page) that supports up to 3000 records listed alphabetically by skill name. Any
other skills aren’t loaded, such that even if they’re assigned, they aren’t displayed.
• When you enter a start and end date in the Skills related list, these dates are shown in your user timezone. When you’re
using the Assign Skills action, the start and end dates are shown in the service resource's timezone.
4. Add the skill as a requirement on work types, work orders, or work order line items (supported in both Salesforce Classic and Lightning
Experience). 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 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.
Note: Skills can't be deleted. If a skill is no longer in use, add a prefix to the skill name, for example, add zDoNotUse_ to
move the skill to the bottom of the list.
SEE ALSO:
Skill Fields for Field Service
Add Required Skills to Work Orders or Work Types for Field Service
Create Work Types for Field Service
Guidelines for Creating Work Types for Field Service
Work Rule Type: Match Skills
73
Salesforce Field Service Set Up Work Order Management for Field Service
Create or clone work orders Create on work orders Standard User, Solution USER PERMISSIONS
Manager, Contract Manager,
Marketing User, and System To edit page layouts and set
field history tracking:
Administrator
• Customize Application
Edit work orders Edit on work orders Standard User, Solution To create and edit users:
Manager, Contract Manager, • Manage Internal Users
Marketing User, and System
Administrator
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.
74
Salesforce Field Service 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
– Service Appointments: Appointments indicating when the work is scheduled
– Service Reports: Reports summarizing the work for customers
– Skill Requirements: Skills needed to complete the line item
– Time Sheet Entries: Schedule of mobile workers’ time spent on the line item
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:
75
Salesforce Field Service Set Up Work Order Management for Field Service
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
SEE ALSO:
Work Order Fields for Field Service
Work Order Line Item Fields for Field Service
76
Salesforce Field Service 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 three status options include Contracted, Implementation, and Production.
Contracted
Indicates that an agreement or contract is signed between the service provider (such as Salesforce) and the client, but the actual
work on the project has not yet started. At this stage, the focus is often on planning, finalizing the scope of work, and preparing for
the implementation phase. No development or deployment has taken place yet. It's the preparatory phase after sales and before
delivery.
Implementation
Involves configuring the software, developing custom solutions, integrating with other systems, data migration, and setting up the
necessary infrastructure. It's a critical phase where the project starts taking shape, and the plans and designs are executed to build
the system as per the contract's specifications.
Production
The production status indicates that the system is fully developed, tested, and is deployed to a live environment where you can start
using it.At this point, the system is considered operational, and any further changes are typically handled through maintenance or
continuous improvement processes. The focus shifts to monitoring system performance, fixing any issues that arise, and adding
new features or updates as required.
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.
77
Salesforce Field Service Set Up Work Order Management for Field Service
• 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
• Usage-based and criteria-based preventive maintenance. If work orders are created from maintenance work rules that are incomplete,
then no new work orders are created until the active work order is completed. A work order is considered complete when its status
is Cannot Complete, Canceled, Completed, or Closed.
• Dispatcher console appointment list filters
• Dispatch scheduled jobs, which are triggered by an appointment’s status category being updated 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 from Dispatched or In-Progress
to Canceled, Completed, or Cannot Complete
• 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
78
Salesforce Field Service Set Up Work Order Management for Field Service
2. Let Lightning Experience users manage attached articles. In Lightning Experience, add the The Field Service core
Knowledge component to your work order, work order line item, and work type detail page features, managed
layouts. package, and mobile app
are available in Enterprise,
3. Let users view and modify attached articles from the console. In the layout editor for work orders
Unlimited, and Developer
and work order line items, select Custom Console Components and add the Knowledge One
Editions.
widget to the console sidebar.
4. The Knowledge One console widget suggests articles to attach based on key fields. Select the
fields that suggestions are based on. (The Knowledge Lightning component doesn’t offer article
USER PERMISSIONS
suggestions.) To attach or detach an
a. In Setup, enter Field Service in the Quick Find box, then select Field Service article on a work order or
Settings. work order line item:
• Read on work orders
b. Select the fields that the search engine should scan to suggest relevant articles from your AND Read on the article
knowledge base. type AND Knowledge
enabled
c. Save your changes.
To attach or detach an
5. Optionally, customize linked article page layouts, fields, validation rules, and more in Setup. article on a work type:
• In Lightning Experience, navigate to Linked Article in the Object Manager. • Read on work types AND
Read on the article type
• In Salesforce Classic, navigate to the Linked Articles page under Knowledge. AND Knowledge
enabled
Note: Linked articles include the following limitations.
To edit page layouts:
• Quick actions and global actions aren’t supported for linked articles. • Customize Application
• The Article widget and Feed Articles Tool aren’t available in the feed view. To edit console layouts:
• In Lightning Experience, clicking an article link in a feed item redirects you to the article • Customize Application
page in Salesforce Classic. In the Salesforce mobile app, linked articles can’t be accessed AND Service Cloud User
from feed items.
• 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.
SEE ALSO:
Attach Knowledge Articles to Work Orders or Work Types
View Knowledge Articles in the Field Service Mobile App
Linked Article Fields
79
Salesforce Field Service Set Up Work Order Management for Field Service
USER PERMISSIONS
To set up a path:
• Modify All Data
To create, customize, or
publish an Experience Cloud
site:
• Create and Set Up
Experiences 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 Experience Builder sites.
It isn’t available in Salesforce Classic, the Salesforce mobile app, or the Field Service mobile app.
80
Salesforce Field Service Set Up Work Order Management for Field Service
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 an Experience Builder site, drag the Path component onto the object detail page in Experience Builder.
SEE ALSO:
Lightning Flow for Service and the Actions & Recommendations Component
81
Salesforce Field Service Set Up Your Field Service Workforce
SEE ALSO:
Manage Field Service Resources
To create service resources: Create on service resources Available in: both Salesforce
Classic (not available in all
To deactivate service resources: Edit on service resources
orgs) and Lightning
To view resource capacities: Read on service resources Experience
To create, update, or delete resource Edit on service resources The Field Service core
capacities: features, managed
package, and mobile app
To view service resource skills: Read on service resources are available in Enterprise,
To create, update, or delete service resource Edit on service resources Unlimited, and Developer
skills: Editions.
82
Salesforce Field Service Set Up Your Field Service Workforce
To view, create, edit, or delete resource absences: Read on service resources AND Edit on service resources
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.
Note: If the Field Service 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 mobile
app.
5. Indicate whether the resource is a technician (a mobile worker), dispatcher, or crew.
Note: Field Service 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.
83
Salesforce Field Service Set Up Your Field Service Workforce
SEE ALSO:
Service Resource Fields for Field Service
With Enhanced Scheduling and Optimization, you must select Day. The Week and Month
options aren’t supported. USER PERMISSIONS
• For Hours per Time Period, base the resource’s capacity on the number of hours worked. To create, update, or delete
For example, if the resource can work 8 hours a day, enter 8. resource capacities:
• Edit on service resources
• For Work Items per Time Period, base the resource’s capacity on the number of service
appointments assigned to them. For example, if the resource can complete 5 appointments
a day, enter 5.
5. Save your changes. You can create multiple capacities for a resource as long as the start and end dates don’t overlap.
On the Gantt, you can see the percentage of booked capacity. You can also click the banner to see more details.
Note: To create a capacity for a date range, add the VF078_CapacityCalendar Visualforce component to the Service Resource
layout to display a Capacity Calendar. To create a capacity for only one criterion (Hours per Time Period or Work Items per Time
Period), make sure to delete the default value of 0.
84
Salesforce Field Service Set Up Your Field Service Workforce
Pay attention to these considerations if you’re using Enhanced Scheduling and Optimization.
• The Fix Overlaps feature isn’t supported for capacity-based service resources.
• Schedule optimization supports 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.
• If Hours per Time Period or Work Items per Time Period are set to 0, the result of the performed action considers it a capacity of 0.
However, on the Gantt, this value is considered empty.
• If you deselect Capacity-Based Resource, make sure you also remove the resource’s defined capacities. Otherwise, the capacity still
shows on the Gantt.
• Capacity-Based Resources doesn’t support complex work.
• Up to 5,000 objects (service appointments and service resources) are supported overall in any optimization or scheduling actions.
• Day is the only time period supported. The Week and Month options aren’t supported.
• The capacity banner on the Gantt doesn’t show the capacity percentage. Additionally, if you click the capacity banner to see more
details, the details window isn’t updated accordingly.
• Capacity-based resources can’t use the Count work rule.
• You can’t schedule appointments for capacity-based resources that aren’t assigned to a shift. This behavior is the same for regular
resources.
• If you manually change the status of a service appointment to None, or clear the Scheduled Start and Scheduled End fields, the
capacity consumption isn’t updated.
• You can assign any service appointment to a capacity-based resource, as long as they’re available. For appointments that span over
multiple days (crossing midnight), the duration is split over each day the service appointment spans. By considering the hours set
for each day separately, Field Service ensures accurate capacity tracking and optimal scheduling.
Pay attention to these considerations if you aren’t using Enhanced Scheduling and Optimization.
• The Fix Overlaps feature isn’t supported for capacity-based service resources.
• 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.
85
Salesforce Field Service Set Up Your Field Service Workforce
SEE ALSO:
Guidelines for Setting Up Field Service Contractors
Set Up Field Service in Experience Cloud Sites
Note: To give preference to highly efficient service resources in schedule optimization, create
a Resource Priority service objective based on the service resource Efficiency field.
Example: The estimated duration on the Battery Replacement work type is 60 minutes.
• Alexander, an expert, has an efficiency of 2.0. If Alexander is assigned to a Battery Replacement appointment, the appointment
is scheduled to end 30 minutes after the scheduled start (60/2=30).
• Jane, a mobile worker, has an efficiency of 1.0. If Jane is assigned to a Battery Replacement appointment, the appointment is
scheduled to end 1 hour after the scheduled start (60/1=60).
• Janice, a junior worker, has an efficiency of 0.5. If Janice is assigned to a Battery Replacement appointment, the appointment
is scheduled to end 2 hours after the scheduled start (60/0.5=120).
86
Salesforce Field Service Set Up Your Field Service Workforce
Note: After a user account is deactivated, the user is no longer visible on the Gantt. Let’s say a user just left your company. To
enable the dispatcher to work on the user’s service appointments and prevent the user from logging in to your organization, freeze
the user account before deactivating the user. Keep in mind that even though the user account is frozen, the service appointment
can be assigned to a service resource related to the user.
87
Salesforce Field Service Set Up Your Field Service Workforce
Note: Create a trigger that sends an approval request to a supervisor when a resource creates an absence.
SEE ALSO:
Service Resource Fields for Field Service
Create Service Crews
Freeze or Unfreeze User Accounts
Note: To customize contractors’ mobile app experience, assign a unique mobile settings configuration—accessible from the
Field Service Mobile Settings page in Setup—to the contractor user profile.
88
Salesforce Field Service Set Up Your Field Service Workforce
Note: Field Service contractor licenses can only be used by third-party contractors. They can’t be assigned to internal employees.
Note: The Contractors list view in the dispatcher console Service Appointment List shows only service appointments that are
assigned to capacity-based service resources.
Contractors are service resources
In this example, the contract manager is an Experience Cloud site user but not a service resource. The contracting mobile workers
are service resources with Field Service Mobile licenses.
This approach is best for you if it’s important for the scheduling engine to consider each worker’s schedule when making assignments.
And you want contractor workers to view and update appointment details in the field, so you store individual worker details in
Salesforce.
In this model, your process looks like this:
1. The dispatcher shares the work order with the contractor manager.
2. In your site, the contractor manager uses the Book Appointment action to assign the associated service appointment to a mobile
worker.
3. The mobile worker uses the mobile app. They can view their assignments and update the service appointment and work order
status when the work is complete.
Contractor managers are service resources
In this example, the contractor manager is an Experience Cloud site user and a service resource. But the contractor manager tracks
individual contracting mobile workers in a separate system.
This approach works best when you don’t want to track individual worker details in Salesforce. The contractor manager is responsible
for viewing and updating appointment details in the field. And you don’t need the scheduling engine to assign work based on
different schedules for each contractor worker.
When you use this model, your process looks like this:
1. The dispatcher assigns the service appointment to the contractor manager using their service resource record.
2. The contractor coordinates with the contractor team to complete the work.
89
Salesforce Field Service Set Up Your Field Service Workforce
3. After the service appointment is completed, the contractor updates the service appointment and work order status from your
site.
SEE ALSO:
Set Up Field Service in Experience Cloud Sites
Define Capacity-Based Resources
Guidelines for Creating Operating Hours for Field Service
To create service crews: Create on service crews Available in: both Salesforce
Classic (not available in all
To create service crews using the crew Create on service crews
orgs) and Lightning
management tool: AND Experience
Create on service resources The Field Service core
AND features, managed
package, and mobile app
Edit on service territories
are available in Enterprise,
Unlimited, and Developer
To create service resources representing Create on service resources
Editions.
crews:
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
90
Salesforce Field Service Set Up Your Field Service Workforce
6. Save your crew. This creates an active service resource of type Crew that’s used during scheduling. You can now view the crew in
the crew management tool and add members to it.
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.
91
Salesforce Field Service Set Up Your Field Service Workforce
SEE ALSO:
Service Crew Fields
View Service Crews on the Gantt
Set Up Crew Management
Manage Field Service Crew Membership
92
Salesforce Field Service Set Up Your Field Service Workforce
Efficiency
When an appointment is scheduled to a crew, the Efficiency field on the crew’s service resource is used to calculate the appointment’s
Scheduled End. The crew members’ efficiencies aren’t considered.
Geolocation Tracking and Service Territories
• The Last Known Location is tracked for crew leaders only. If a crew has more than one leader, the most recently captured location
is displayed on the service resource’s map.
• If a service resource is relocated to another service territory while they belong to a crew, the service resource membership record
is drawn only on the relocation territory.
• The service resource representing the service crew is the home base considered by Field Service while belonging to the crew.
• Travel calculation follows the service territory or the service territory member's address of the service resource representing the
service crew.
Membership Requirements
• Only active service resources of the Technician resource type can be added to crews. For example, you can't add a crew to a
crew.
• 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 the service resource of type Technician
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 could 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 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 can assign the work to mobile workers or to crews. When
using Enhanced Scheduling and Optimization, a Minimum Crew Size of 1 requires a crew.
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 zero on the service appointment’s parent record, only single service resources (Technician type)
are considered as candidates. If the Minimum Crew Size is 1 or more on the service appointment’s parent record, only Crew type
service resources are considered as candidates. This is also true for optimization, although a crew isn’t 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 must create this work rule and add it to your scheduling policies.
93
Salesforce Field Service Set Up Your Field Service Workforce
Multiday Appointments
When a multiday appointment is scheduled for a worker whose start date on a service crew is in the future, the multiday appointment
is elongated to last the duration of the worker’s membership in the service crew.
Resource Notifications
Service crew members assigned to a service appointment aren’t automatically made followers when the service appointment is
dispatched. Only one assigned resource can be set to automatically follow a dispatched service appointment. If you want all the
crew members to be followers, customize the push notifications for the Field Service Mobile App. Using custom push notifications
enables getting multiple notifications for different users based on an event, such as dispatching a service appointment.
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 isn’t 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 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.
Skills
Skills can be assigned to service resources of any type—Technician or Crew—and are considered during scheduling if the Match
Skills work rule is included in the scheduling policy.
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 Drilling and Installation skills, a service crew that has members
with that group of skills is considered as a candidate. When using Enhanced Scheduling and Optimization, only the skill set of the
crew members is considered when skill grouping is enabled, and the skill set of the crew is ignored (when skill grouping is disabled,
the Match Skills work rule considers the crew resource type skills only).
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 change based on crew
member allocations and skills that expire. For example, if a resource skill requires recertification every six months, the
scheduling engine considers crew members with the skill while their certifications are valid.
• 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.
94
Salesforce Field Service Set Up Your Field Service Workforce
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.
SEE ALSO:
Service Crew Fields
View Service Crews on the Gantt
Set Up Crew Management
Manage Field Service Crew Membership
View a Field Service Resource’s Daily Travel Route
USER PERMISSIONS
95
Salesforce Field Service 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 Field Service Crew Membership.
SEE ALSO:
Manage Field Service Crew Membership
Create Service Crews
View Service Crews on the Gantt
96
Salesforce Field Service Set Up Your Field Service Workforce
This is a Field Service managed package feature. The Field Service core
features, managed
package, and mobile app
Limit Default Access to Field Service Objects are available in Enterprise,
Limit default access to core Field Service objects (Work Order, Work Order Line Item, Service Unlimited, and Developer
Appointment, Service Resource, Service Territory). Editions.
1. In Setup, enter Sharing Settings in the Quick Find box, and then select Sharing
Settings. USER PERMISSIONS
2. Click Edit. To limit access to field
3. In the Default Internal Access column, select Private for the objects that you want to limit service records:
access to. • Field Service Admin
Permissions
To share dispatched service appointments to Experience Cloud site users when Default Internal
Access is Private or Public Read Only, set Default External Access to Private or Public Read Only
also. If the Default Internal Access setting is Public Read/Write, Experience Cloud site users can see dispatched appointments only
if the external setting is Public Read/Write and you enable dispatch sharing to resources.
97
Salesforce Field Service Set Up Your Field Service Workforce
98
Salesforce Field Service Set Up Your Field Service Workforce
General Considerations
• 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 retained.
• When using customized sharing logic, ensure that every dispatcher gets Read/Write access and not just Read-Only access to the
service appointments in their territory, so they can edit the Service Resources' schedule.
• When an appointment is canceled, it’s visible only to the appointment owner and the relevant dispatchers based on the user territory
object.
• You can give dispatchers access to records by sharing information across territories and syncing calendars to include absences and
other events.
• In some Salesforce orgs, the Field Service Admin app has similar sharing options. We recommend disabling the app sharing settings
and using the Setup settings.
• 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.
99
Salesforce Field Service Set Up Your Field Service Workforce
• 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 no territory is associated. Field Service 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.
• Dispatchers must have sharing settings for the primary service territory of a service resource in order to manage the resource's
schedule.
Example: John is a dispatcher for the New Jersey service territory. His user territory record gives him access to New Jersey field
service records. Madison is a mobile worker for the Pennsylvania service territory, but on August 1 she’s moving to the New Jersey
territory.
To reflect Madison’s move, add an end date of July 31 to her Pennsylvania service territory member record. Then, create a New
Jersey service territory member record for Madison with a start date of August 1.
With the User Territory sharing job configured 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 backward time horizon is set to 1 day, John receives access
to Madison’s field service records 1 day before she starts work in New Jersey.
SEE ALSO:
Field Service Permission Set Licenses
100
Salesforce Field Service Set Up Your Field Service Workforce
Sync Services and Resource Absences with Events Field Service Using Calendar Sync
You can keep your services and resource absences in sync with calendar events using Calendar
EDITIONS
Sync. Syncing services and resource absences to or from calendar events lets you maintain an
accurate view of your services and resource availability when you create events and request meetings Available in: both Salesforce
from your Salesforce calendar. Events can then be synced between external calendars and Salesforce. Classic (not available in all
orgs) and Lightning
This is a Field Service managed package feature.
Experience
Note: Calendar Sync permissions aren’t included in the managed package default permission The Field Service core
sets. To enable Calendar Sync, you must have Edit permissions on the Event object and Edit features, managed
permissions on Event fields: Id, StartDateTime, EndDateTime, Subject, IsReminderSet, package, and mobile app
ReminderDateTime, Location, OwnerId, Description, WhatId, IsAllDayEvent. are available in Enterprise,
1. From the App Launcher, find and open the Field Service Admin app, and then click the Field Unlimited, and Developer
Service Settings tab. Editions.
2. Select Sharing > Calendar Sync, and under Service Appointments and Resource Absence
configure the following settings. USER PERMISSIONS
101
Salesforce Field Service Set Up Your Field Service Workforce
Setting Description
• The service appointment's Scheduled Start Time is mapped
and synced to the event's Start Time.
• The service appointment's Scheduled End Time is mapped
and synced to the event's End Time.
• The service appointment's Assigned Resource is mapped and
synced to the event's Assigned To field.
• The service appointment's Service Territory is mapped and
synced to the event's Location.
If there are multiple assigned resources, an Event record is only
created for the first assigned resource.
If the service appointment is reassigned, the event's assigned owner
isn’t updated.
If the event's assigned owner is updated the service appointment's
Assigned Resource is also updated.
If the service appointment is rescheduled, the Event Start and End
time are updated, but only if the service appointment has a parent
record of type Work Order or Work Order Line Item.
Calendar Event type The value on the event Type field on the Event object that controls
whether a Service Appointment and Work Order are created.
Enforce validations when syncing Service Appointments and Controls whether to ignore the update if the matching record can’t
Salesforce calendar events be updated, or to continue without updating the matching record.
For example, if this setting isn’t enabled and you update the service
appointment Scheduled Start Time, and there’s a validation rule
on the Event object that prevents updates to the event's Start Time,
the scheduled appointment is updated, but the event isn’t. The
event still has the service appointment's original Start Time. If this
setting is enabled, both records aren’t updated.
Synchronize Absences from Salesforce calendar If enabled, whenever an Event record is created and the event Type
field is the same as the calendar event Type setting, a Resource
Absence record is created for the assigned user.
• The event’s Subject is mapped and synced to the resource
absence’s Type. Make sure to fill in the event's Subject field. If
left empty, the resource absence’s Type field is set to the default
value.
• The event’s Start and End fields are mapped and synced to the
corresponding resource absence fields.
102
Salesforce Field Service Set Up Your Field Service Workforce
Setting Description
• The event's Assigned To field is mapped and synced to the
resource absence’s Resource field. The user in the Assigned To
field must have a service resource linked to it. The resource
absence’s Resource field is the service resource that is linked
to the user in the event's Assigned To field.
Synchronize Absences to Salesforce calendar If enabled, whenever a Resource Absence record with Record Type
Non-Availability is created for a service resource, an Event record
is created for the User linked to the service resource record.
When you create an event with Event Type = Absence, the
Resource Absence record is created and the Type field is set to the
Subject of the event. An Inactive value is created for the Type field
if it doesn't exist.
Calendar Event type The value on the Event Type field on the Event object that controls
whether a Resource Absence record is created.
Enforce validations when syncing resource absences and Salesforce Controls whether to ignore an update if the matching record can’t
calendar events be updated, or to continue without updating the matching record.
Considerations
• Child events aren’t supported.
• Recurring events create a single Service Appointment record and a single Resource Absence record.
• Crews aren’t supported since the Service Resource, as a Crew, doesn't have a User to assign appointments to.
• When creating, updating, or deleting events in bulk, if one of the event records results in a failure, Calendar Sync doesn’t sync any
of the events in that request.
• You can’t create an event of type Resource Absence or Service Appointment when the Name field is populated with a Lead, or the
Related To field is populated with any value. The Related To field is preserved for the Resource Absence or Service Appointment that
is created and linked after the new event is inserted. You can’t relate an event to a Lead record if the event is already linked to another
object through the Related To field.
• Since Site Guest Users can’t be assigned with Edit Events permission, Calendar Sync with Site Guest User isn’t supported. This means
that events aren’t created, changed, or deleted after a Guest user has changed a Service Appointment or Resource Absence.
103
Salesforce Field Service Set Up Your Field Service Inventory
SEE ALSO:
Manage Your Field Service Inventory
Set Up Inventory Access for Mobile Workers
104
Salesforce Field Service Set Up Your Field Service Inventory
Add products required to work orders, work Edit on work orders, work order line items, or USER PERMISSIONS
order line items, or work types work types
To edit page layouts and set
Create, edit, or delete products consumed on Create on work orders AND Read on product field history tracking:
work orders or work order line items items • Customize Application
View product item transactions Read on product items To create and edit users:
• Manage Internal Users
Edit product item transactions Edit on product items
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.
Note:
– 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.
105
Salesforce Field Service 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.
106
Salesforce Field Service 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.
107
Salesforce Field Service 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.
SEE ALSO:
Product Item and Inventory Fields
Product Request and Transfer Fields
Location Fields for Field Service
108
Salesforce Field Service 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.
SEE ALSO:
Location Fields for Field Service
109
Salesforce Field Service Set Up Your Field Service Inventory
SEE ALSO:
Product Item and Inventory Fields
Manage Your Field Service Inventory
110
Salesforce Field Service Set Up Your Field Service Inventory
To create product items: Create on product items Available in: both Salesforce
Classic (not available in all
To view product item transactions: Read on product items
orgs) and Lightning
To create product item transactions: Create on product items Experience
To update product item transactions: Edit on product items The Field Service core
features, managed
To delete product item transactions: Modify All Records or Modify All Data on package, and mobile app
product items are available in Enterprise,
To create serialized products Create on serialized products Unlimited, and Developer
Editions.
In Field Service, use serialized products to assign a serial number to an asset type to track and
manage your inventory.
Before you can send serialized products in a product transfer, you must create a product that is serialized, and create the product item
with serialized products. When creating product items, you can only use locations that are designated Create Inventory Locations for
Field Service.
1. Create a product that is serialized.
a. From the App Launcher, open Products and click New.
b. For the Transfer Record Mode, select Send and Receive or Receive only.
c. Enter the Product Name.
d. Check Serialized.
e. To create an additional product that is serialized, click Save and New.
f. Save your work.
2. Create the product item by entering the product name and location.
a. From the App Launcher, open Product Items and click New.
b. Use the lookup field to select a Product Name.
c. Use the lookup field to select the Location where the product item is stored.
d. Enter 0.00 for the Quantity on Hand. The quantity on hand is updated when you add serialized products to the product
item.
e. Save your work.
3. Add the serialized items for the product that are at the location.
a. On the Related tab of the Product Item, go to Serialized Products and click New.
b. Enter the Serial Number.
c. Use the lookup field to select a serialized Product.
d. To add additional serialized products, click Save and New.
e. Save your work.
111
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Watch a video
Watch the video to see how you can benefit from improved schedule quality using the innovative new engine available by default for
new users as of Summer ’23, and easily transitioned to by existing users, for all territories. The video covers additional supported features
and the new offsite service appointment feature.
Watch a video
112
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
113
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
114
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
SEE ALSO:
Manage Field Service Optimization
Adopt and Implement Field Service Enhanced Scheduling and Optimization
115
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
116
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Use ScheduleService class methods to automatically schedule your appointments when they’re created or updated. With Apex code,
you can define the scenarios when a service appointment must be scheduled and how to schedule it.
For example, to book an appointment through integration, you can use the GetSlots() method to retrieve available time options for
scheduling a service appointment. When you call GetSlots(), you can pass a scheduling policy that doesn't include service objectives
to minimize time spent evaluating and grading scheduling options, which improves performance and decreases latency. Then, use
the Schedule() method to schedule the appointment to the best possible and highest-scoring service resource by using a scheduling
policy that includes all your required service objectives. By using Apex, you can define different scheduling policies and customize
the events in which a service appointment is automatically scheduled.
Schedule optimization is the process of refining the schedule by evaluating thousands of scheduling options to find an optimal schedule.
As events happen throughout the day —, for example, as new service appointments are created and schedules change —, optimization
processes ensure that your schedule is continuously improved to produce an optimal schedule over time.
You can optimize your schedule in several ways, either proactively or reactively.
• Global optimization evaluates schedules for all resources in one or more territories over a longer period of time than the other
optimization methods do. With more time to evaluate more scheduling permutations, the optimizer produces better scheduling
results. Depending on the amount of data and the complexity of the schedule, global optimization can take up to 2 hours to complete
processing, but the result is an improved schedule over other optimization methods.
To use global optimization, trigger an optimization process with a scheduling policy that doesn’t have the In-Day Optimization
checkbox selected. You can run global optimization by clicking Optimize in the dispatcher console, but it's more commonly run as
a background process during low-volume periods. Global optimization can take a long time to finish, so it's best to schedule it as a
background process when there’s not much activity on the schedule that can conflict with results. For example, schedule it to run
once, sometime after midnight in the territory’s time zone.
For global optimization, we recommend that you choose the lowest time horizon that has the most schedule activity, allowing
optimization to concentrate its resources on producing a schedule for what’s more time-critical. For example, if most service
appointments must be scheduled within the next 3 days, set your optimization horizon from today to 3 days from now for the best
results. Increasing the time horizon means the optimizer spends time generating a schedule that isn’t as critical as the immediate
next few days. Because global optimization can be scheduled to run every night, it progressively moves through future days when
it’s within the horizon date range. Automate future day schedules without global optimization by using other methods, or use a
separate global optimization job for a future time period.
• In-day optimization evaluates schedules for all resources in one or more territories in a short period of time. This optimization responds
to the dynamic nature of updates that happen throughout the day, such as reschedules, cancellations, and onsite time updates.
Because in-day optimization is typically run within the business day to quickly optimize the schedule, the process caps its run time
to provide a rapid result. This process runs for up to 5 minutes for Enhanced Scheduling and Optimization, and up to 10 minutes if
you’re not using Enhanced Scheduling and Optimization.
To use in-day optimization, trigger an optimization process with a scheduling policy that has the In-Day Optimization checkbox
selected. You can run in-day optimization by clicking Optimize in the dispatcher console, or you can run it recursively throughout
the day using a scheduled job. When you create an optimization job with an in-day scheduling policy, the Schedule tab provides
additional options to run optimization at set intervals throughout the day to continuously optimize as your day progresses.
For in-day optimization, we recommend that you run the optimization for a time horizon of a maximum of 2 days, for example,
today and tomorrow. You can run in-day optimization for more days, but because the run time for in-day optimization is limited,
it’s best to prioritize what’s most critical for optimization processing. Most reschedules, cancellations, and onsite time updates that
happen throughout the day affect today and tomorrow’s schedule, so it’s most efficient to focus on those days.
117
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
While in-day optimization can fix schedule exceptions and optimize schedules according to service objectives to improve efficiency,
global optimization is a faster-running optimization process that yields better schedule metrics.
• Resource schedule optimization is an optimization process that evaluates and creates a schedule for a resource when last-minute
changes occur, such as canceled jobs, jobs running late, scheduling conflicts (overlaps), or emergencies. While resource schedule
optimization can be run programmatically to react to certain scheduling events, you typically run it from the dispatcher console. To
run the optimization from the dispatcher console, select Resource Schedule Optimization from the action menu of the resource
whose schedule you want to optimize.For resource schedule optimization, we recommend that you choose the lowest time horizon
for the resource that you want to impact. Typically, choose one day for the best results. Use global or in-day optimization to optimize
longer time periods.
• Scheduling recipes are configurable actions that you can set to automatically perform Resource Schedule Optimization for a given
service resource when certain criteria are met. For example, create a recipe to resolve schedule conflicts that occur when a job runs
late. You can also create a recipe to fill gaps in the schedule when an appointment is canceled. Scheduling recipes are triggered
immediately when changes are made to the schedule, so you don't have to intervene manually.
• Fix Overlaps by Using an Automated Scheduling Flow provides the same outcome and functionality as scheduling recipes. It enables
you to perform and trigger Resource Schedule Optimization from Flow based on user-defined criteria and events, such as an
appointment running late. The value of this feature compared to Scheduling Recipes is that it’s configurable in Flow. Also, other
event-based automation can exist, and this feature has a greater ability to integrate with current business processes and automation.
• Fix overlaps can be used to automatically resolve overlaps created in the schedule, for example, an appointment ending late.
Overlapping service appointments are unrealistic as a service resource can’t perform more than one service at a time. Fix overlaps
can quickly resolve overlaps to produce a more realistic schedule. Fix Overlaps can resolve schedule overlaps, but it doesn't schedule
new work to a service resource or optimize a resource’s schedule according to service objectives. Fix Overlaps is a good choice when
you want to resolve an overlap without disrupting the schedule too much. If you want to resolve an overlap and optimize a resource’s
schedule according to service objectives and other work that’s not yet scheduled to the resource, then Resource Schedule Optimization
is a better choice.
The methods described in this topic are the most common automated scheduling and optimization methods used to produce efficient
schedules. For a full list of scheduling services, see Field Service Scheduling and Optimization Services.
Learn how to set up your data for success in Considerations for Effective Schedule Automation and Optimization in Field Service.
SEE ALSO:
What’s Schedule Optimization?
Manage Field Service Optimization
Schedule Service Appointments for Field Service
Adopt and Implement Field Service Enhanced Scheduling and Optimization
118
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
119
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
After you define your metrics, be clear about what level of improvement you expect to see and how it impacts your business objectives.
For example, if one of your metrics is Utilization, what level of improvement impacts your Cost to Serve?
Before implementing automation, find the baseline measurements for each of your defined metrics so that you can measure the
improvement automation has on those metrics. Use Field Service tools to track the progress of your metrics over time.
• Optimization Hub: Capture before-and-after data on common scheduling metrics when you run optimization. This data helps you
visualize and measure the impact and value that schedule optimization has on a technician’s schedule metrics.
• Field Service Intelligence: Use the prebuilt dashboard to gain visibility into your scheduling metrics without having to run optimization.
These metrics help you identify how your company is tracking against your KPIs, how healthy your operation is, and where you can
improve.
• Reports and Dashboards: Customize your Salesforce reports and dashboards.
120
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Note: When designing your scheduling and optimization solution, make sure you consider Salesforce limits and considerations
to avoid failures.
Consider some aspects.
• Accurate geolocations: Salesforce Field Service has a built-in data integration service that resolves addresses on records into
geolocations or latitude and longitude coordinates. These geolocations calculate travel times between appointments so that the
best resource and time for an appointment can be scheduled. If the record addresses have data issues, such as missing a house
number or ZIP code, the service can’t accurately resolve the address to a geolocation. This missing information affects the resulting
schedule and travel metrics, so it's important to ensure data and address integrity. Use Address field validation rules and reporting
on API-accessible latitude and longitude fields to ensure data integrity.
• Service territory hierarchy: Create a defined structure for your business’s service territories to help you manage your service resources
more easily. A defined structure modularizes data into segments, which enhances the optimization’s ability to build an effective
schedule. See Guidelines for Creating Service Territories for Field Service.
• Operating hours: Operating hours define when your resources are available to be scheduled for work and when your customers are
available for onsite visits. Several types of operating hours help the optimizer find the best schedule for your work. See Guidelines
for Creating Operating Hours for Field Service.
• Estimated duration: Service appointments require an estimated duration to complete the appointment. The better the estimate, the
less uncertainty in the schedule. The most common way to define the duration of work is by work type. To set up work types, consider
how long each type of work takes to complete based on historical data as well as feedback from service resources. Regularly review
work durations for accuracy, more frequently at the beginning of your implementation to make sure you have a good baseline, and
then less frequently as estimates become more accurate. See Guidelines for Creating Work Types for Field Service.
121
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
In addition to the accuracy of the schedule, not being specific with scheduling criteria can lead to a lower-quality schedule. As the
number of possible permutations of the schedule increases, it requires more calculations and time to find a suitable schedule. For
example, if five service appointments are to be scheduled to two candidate service resources over two time options, there are 1,024
schedule options available. By slightly increasing the complexity to schedule five service appointments to five candidates over five time
options, the number of schedule options increases to over 9.7 million. By keeping the number of candidates and time options lower,
the complexity of optimization is reduced and a better result can be found quicker.
Note: Candidate service resources is the number of service resources eligible to be assigned a service appointment after work
rules are applied.
The number of candidate service resources, the scheduling horizon (how far out you're scheduling), and variables such as appointment
window granularity (30 minutes versus 2 hours) have an impact on the performance and run-time of scheduling and optimization
services.
What are the consequences of defining too many or unnecessary scheduling criteria? Defining too many scheduling criteria can make
it more difficult to find a service resource for an appointment. You can define as many scheduling criteria as needed, but each criterion
is applied in addition to the others, which further reduces the number of scheduling options and resources that can perform the work.
For example, a service appointment is in a remote area where only one service resource has the skills within that area to service it. If that
service resource calls out sick, the customer’s appointment is missed and can incur an SLA penalty.
Review your resource coverage to make sure that you have enough alternate scheduling options so the optimizer can reassign jobs in
cases of low resource availability.
If multiple specialized skills are necessary for job completion, define these as criteria. However, if some criteria aren’t requirements to
complete the job, define these as a Preferred type Service Resource Preference and not as a Required Service Resource Preference. This
setting reduces the candidates to only that specific resource.
When you define scheduling criteria, make sure that the appointment can be scheduled.
For example, an appointment with a 30-day delta between Earliest Start Permitted and Due Date, yields more scheduling options than
a 3-day period, which is a tight turnaround. While a shorter turnaround time is more appealing to some end customers, it’s important
to set customer expectations and time requirements on service appointments to something that the company can commit to.
Consider these best practices to simplify optimization complexity.
• Reduce your optimization horizon to the lowest possible date range that makes sense for your business.
• Increase the duration of your appointment slot windows to the extent it makes sense for your business to reduce the number of
time options.
• Use work rules such as Maximum Travel from Home and Extended Match to reduce the number of candidate service resources.
Learn how to improve the performance of scheduling and optimization processes. See Guidelines for Avoiding Apex CPU Timeouts in
Field Service.
SEE ALSO:
Adopt and Implement Field Service Enhanced Scheduling and Optimization
What’s Schedule Optimization?
Manage Field Service Optimization
Schedule Service Appointments for Field Service
Field Service Limits and Limitations
Limits and Limitations for Enhanced Scheduling and Optimization
122
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Optimization Options
Define the scope of optimization to include an entire service territory’s schedule or just a single resource’s schedule.
• 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.
123
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Component Description
Relevance group A subset of service resources or service appointments. Use
relevance group to apply work rules or service objectives to certain
resources—for example, full-time resources only—or service
appointments. You can create modified versions of work rules and
service objectives for each group and assign them to the group
using Visualforce components.
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. Scheduled service appointments that have
already started (Scheduled Start time is in the past) are considered by the optimizer as pinned and aren't moved or unscheduled. The
service appointment's travel time can be updated since the next service appointment can be updated.
When optimizing your team’s or a service resource’s schedule, appointments with rule violations remain pinned. With Enhanced
Scheduling and Optimization, the optimization engine tries to fix rule violations to improve the schedule by rescheduling or unscheduling
rule violating appointments. To keep these appointments scheduled as is on the Gantt, the service appointments must first be pinned
or in a pinned status.
Note: If Fix Overlaps is selected in the scheduling policy, any existing appointment overlaps are addressed during in-day or global
optimization. When overlaps are being fixed, the overlapping appointments are unscheduled. If the optimization engine is unable
to find a valid schedule for any appointments, these appointments remain unscheduled. If Fix Overlaps isn’t selected, overlaps are
left as is. This is not to be confused with the Fix Overlaps feature in the dynamic Gantt, which is used to reschedule overlapping
appointments. In the Fix Overlaps managed package feature, you can configure fix overlap settings. For example, when unable to
find a valid schedule for an appointment, you can select to put the appointment in jeopardy, unschedule it, or reshuffle other
assignments.
Note: Not sure where to start? Create a scheduling recipe to address common scheduling challenges, like appointment cancellations
or overlaps.
SEE ALSO:
Adopt and Implement Field Service Enhanced Scheduling and Optimization
Get Ready for Field Service Scheduling and Optimization
124
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
The good news is that you can let Field Service’s optimization engine do the work for you. By generating an optimal schedule for your
team and customers, according to your priorities and constraints, schedule optimization helps you comply with service-level agreements
and minimize travel time, overtime, costs, and no-shows.
How is this done? For a given time horizon, optimization grades assignments based on service objectives in the scheduling policy, 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.
It’s important to prepare for the inevitability of scale. Scale in customer calls, scale in resource appointments, scale in travel time and
even overtime expense.
Schedules and availability are key to assigning resources, tracking projects, and ensuring customer satisfaction. The optimization engine
considers all of the available resources and appointment times and uses the scheduling policies that you set to find the most qualified
candidate and time slot based on your service objectives. Scheduled service appointments that have already started (Scheduled Start
time is in the past) are considered by the optimizer as pinned and aren't moved or unscheduled. The service appointment's travel time
can be updated since the next service appointment can be updated.
Optimization Process
1. The optimization engine receives all the relevant service appointment, service territory, and service resource data for the given time
horizon.
2. The appointments are then ordered according to priority, and evaluated accordingly. The priority is defined using the Work Order
Priority Field, Work Order Line Item Priority Field, and Service Appointment Priority Field options in Field Service Settings. Then it
starts to evaluate the highest priority appointment first.
3. The optimization engine then compares the prioritized appointment's details, such as territory, required skills, and due date, to the
scheduling policy’s work rules.
4. Work rules help filter out unqualified or unavailable candidates.
5. It views the scheduling policy’s work rules. Work rules remove candidates who can’t complete the appointment because they're
unqualified or unavailable. Now it has a pool of candidates who are ready and able to do the job.
6. The optimization engine searches for available time slots between a service appointment’s earliest start permitted and due date (or
arrival window start and end dates if they’re available) within the time horizon.
7. Each available time slot and qualified candidate is then evaluated according to the scheduling policy’s service objectives.
8. This process is then repeated for remaining slots and candidates, adds the scores, and assigns the appointment to the candidate
and time slot with the highest score.
The optimizer continues to the next appointment on the list (ordered by priority) and repeats the process. When all service appointments
sent to optimization are scheduled on the Gantt, or the Gantt is full, the schedule receives an overall Utilization grade.
125
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Get Started Set Up Enhanced Scheduling and Create a Scheduled Optimization Job
Optimization
Get Ready for Scheduling and Enable Enhanced Scheduling and Manage Scheduled Jobs
Optimization Optimization
126
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Optimize Your Field Service Schedule Video: Travel Modes Limits and Limitations for Enhanced
Scheduling and Optimization
Optimize Today’s Schedule Set Up Travel Modes Limitations for Enhanced Optimization
per Territory
Optimize a Single Resource’s Schedule Video: Service Appointment Sliding Considerations for Enhanced Scheduling
and Optimization
Trailhead: Field Service Optimization Enable Service Appointment Sliding Field Service Limits and Limitations
Best Practices Explore Metrics in the Optimization Hub Improve your Schedule with
Appointment Insights
127
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Salesforce orgs created in Summer ’23 and later have Enhanced Scheduling and Optimization enabled by default for all service territories.
Orgs created before Summer ’23 can opt in and enable the enhanced engine for all or selected service territories and benefit from
advanced features, more efficient services, and improved scalability, performance, and schedule quality.
Note: Enhanced Scheduling and Optimization uses point-to-point predictive routing regardless of the travel time calculation
preferences set in the Routing section of Field Service Settings.
Automatically Transition to Enhanced Scheduling and Optimization
Users prior to Summer ’23 can easily upgrade all service territories to use Enhanced Scheduling and Optimization with a guided flow
(recommended) comprising readiness checks and links to Salesforce Help. Discover what configuration updates are required for your
Salesforce org, get workarounds for unsupported features, and review the differences in behavior when using the enhanced engine.
1. In the Field Service Admin app, go to Field Service Settings.
2. Select Getting Started and then select the Home tab, or go directly to the Activation page under Optimization.
3. Click Run Readiness Check.
128
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
4. Review the information and click to learn more in Salesforce Help. Only the steps relevant to your Salesforce org are shown. Then
enable Enhanced Scheduling and Optimization for all service territories. All the required settings are automatically
.delbane
Manually Transition to Enhanced Scheduling and Optimization
Transition to Enhanced Scheduling and Optimization for all or selected territories. Configure your Salesforce org to transition smoothly
to the enhanced engine.
1. Enable Enhanced Scheduling and Optimization and Field Service Integration in Setup under Field Service Settings.
2. Create or update the required permission sets in Field Service Settings.
3. Check whether the Enhanced Scheduling and Optimization service is configured in Remote Sites Settings. This service is typically
created automatically.
4. Check that point-to-point predictive routing is enabled in Field Service Settings > Scheduling > Routing. Enhanced Scheduling
and Optimization uses point-to-point predictive routing regardless of the travel time calculation preferences set in the Routing
section of Field Service Settings.
5. Configure Enhanced Scheduling and Optimization per territory. To enable Enhanced Scheduling and Optimization for a territory,
select Use enhanced scheduling and optimization in the service territory record. If the checkbox isn’t available, add it to the
Service Territory page layout. Review the limits and considerations that apply when you're using Enhanced Optimization per Territory.
Note: Use of the Enhanced Scheduling and Optimization services is controlled by the service territory. Some territories can
be enabled to use Enhanced Scheduling and Optimization while others aren’t, based on your rollout strategy. You can select
to enable all service territories to use Enhanced Scheduling and Optimization in Field Service Settings > Scheduling >
General Logic.
6. (Optional) To use background optimization such as global or in-day optimization, create a scheduled optimization job. The Enhanced
Optimization job type includes additional options.
• Time periods let you set up one job for multiple optimization horizons instead of separate jobs.
• Territory grouping lets you create multiple optimization groups within the same optimization job. Each optimization request
includes all the service territories in the group for each time period. For example, if you have three time periods and five groups,
15 optimization requests run. You can only add territories enabled for Enhanced Scheduling and Optimization to a group.
7. To reserve time slots for designated types of work create a recordset filter criteria for designated work.
8. Check all your Service Resource Availability work rules. If either or both of the Travel From Home (minutes) and Travel To Home
(minutes) fields are empty, this means that you allow service resources to travel for an unlimited time outside of their shift times. To
maintain the same behavior when transitioning to Enhanced Scheduling and Optimization, enter a very high value, for example,
500 minutes in the Travel To/From Home fields.
129
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
9. Review your customizations related to Enhanced Scheduling and Optimization to assess their impact. For insights into how potential
changes can affect your custom code, see What’s the Fate of Older Salesforce Customizations?
10. Determine whether you have custom batch processes that update data in service territories. If these bulk actions use different
engines, split these processes into different datasets so that service territories from the same engine are processed together. All
service appointment territories and service resource territories within the same optimization request must use the same optimization
engine. A notification is shown when you’re running bulk operations such as global optimization with different territory optimization
settings, because it can’t be determined which optimization engine to use. See Limitations for Enhanced Optimization per Territory.
11. Update the Field Service Integration permission set, assigned to the Platform Integration User, to have Read access for any custom
fields that are referenced by the scheduling logic. Enhanced Scheduling and Optimization uses the Platform Integration User.
12. (Optional) Enhanced Scheduling and Optimization provides innovative features that were previously unavailable. Explore and apply
these features to your solution as needed. Examples of such features include:
• Set up travel modes and define different modes of transportation per service territory or service territory member to calculate
travel based on that mode of transportation.
• Set up sliding to allow Appointment Booking to find more available time slots by sliding scheduled appointments left or right
to squeeze in a new appointment.
• Create multiple flexible breaks with break timings that have a configurable offset from the start of the working day instead of a
static hour. Create up to three breaks in a day and set a latest scheduled time for breaks.
• Create holidays to set non-working times for the duration of the holiday period. Create holiday shifts for service resources who
are available to work during the holiday.
• Explore metrics in Optimization Hub. Use this enhanced version of Optimization Insights to provide KPI metric data on optimization
requests and to show statistical improvements the optimizer made.
• Create time and resource dependencies between appointments to enforce scheduling constraints. Enhanced Scheduling and
Optimization supports up to five Service appointments in a complex work chain.
• Use Gradeless Appointment Booking to improve the performance of appointment booking response time by removing objectives
from your appointment booking scheduling policy. By not specifying objectives, you save processing time required for scoring
the slot, and appointment booking only needs to find the first slot available instead of comparing against all service resources
that offer the slot.
• Use Schedule Mode to get more information on what action caused the most recent change in schedule. Additional options in
Schedule Mode, available with Enhanced Scheduling and Optimization, provide more transparency: Manual, Drag and Drop,
Schedule, Global Optimization, In-Day Optimization, and Resource Optimization. Schedule Mode appears on the service
appointment record.
• Mark Offsite Appointments to indicate that the appointment can be done remotely, with no travel time added to the schedule.
For example, work such as remote technical assistance, filling out reports, or renewal of health and safety certification can be
done from anywhere.
• Fix Schedule Overlaps using an automated scheduling flow. The flow optimizes resource schedules to resolve schedule overlaps
that occur due to an appointment ending late. Use the flow template recommendations or adjust the template to suit your
specific use case.
Note: The enhanced optimizer can automatically unschedule and try to resolve appointments that are scheduled in
violation of rules. Manual intervention is no longer required to resolve rule violations before optimization. Appointments
that need to stay in rule violation can be pinned.
130
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
feedback from business users. After you’ve verified that the pilot tests are successful, enable more service territories and make
adjustments where required.
Note: You enable Enhanced Scheduling and Optimization scheduling services by service territory. This configuration lets you use
the standard optimization engine for any service territories with use cases that aren’t supported by Enhanced Scheduling and
Optimization. When optimizing multiple territories, you must enable or disable all the territories for Enhanced Scheduling and
Optimization. Create separate optimization jobs for Enhanced Scheduling and Optimization and for territories that aren’t enabled
for Enhanced Scheduling and Optimization.
SEE ALSO:
Enable Field Service
Install the Field Service Managed Package
Assign Field Service Permissions
Limits and Limitations for Enhanced Scheduling and Optimization
Create Field Service Permission Sets
Set Up Routing for Travel Time Calculations
Adopt and Implement Enhanced Scheduling and Optimization
What’s Available in Enhanced Scheduling and Optimization
4. When you receive the password reset email, click the link and complete the steps to log in as the optimization user.
Note: You must log in as the FSL Optimization user from the Salesforce login screen and not by clicking Log In next to the
FSL Optimization user in Setup.
131
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
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 ready to use in your org.
SEE ALSO:
Manage Field Service Optimization
What’s Schedule Optimization?
Enable Enhanced Scheduling and Optimization
SEE ALSO:
Assign Field Service Permissions
Create Field Service Permission Sets
132
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Note: 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.
Note: When creating custom statuses, consider the status naming as there's a 40-character limit for status transitions. The status
transition is defined as: Status 1 - Status 2. If this definition exceeds 40 characters, including the dash and the spaces, then the
status transition isn't saved.
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. Changing an appointment status in this way is only available from the
status change chatter action on the service appointment record Feed tab, and not from the Gantt. Only status values that are
permitted in your service appointment life cycle settings are shown there. The status flow diagram at the bottom of the Status
Transitions page shows your status flows, but doesn’t show profile-based restrictions.
133
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
SEE ALSO:
Service Appointment Fields for Field Service
Manage Field Service Appointments
134
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
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
Setup—which also lets you quickly define and preview your
hours—or from the Operating Hours tab.
If different appointment booking windows are needed for different
level of service, add entitlements to your work orders. For example,
standard customers get 4-hour booking windows while VIP
customers get 2-hour windows. In the Operating Hours field on
the entitlement, select the appropriate appointment booking
window operating hours.
The Operating Hours records that represent appointment booking
slots offered to customers (specifically, the slots that you’ve chosen
for the Default Operating Hours setting and specified in the
Entitlements records) are the only two specific instances where
the Timezone field on the Operating Hours record is ignored. This
approach ensures that you don’t need to create different
appointment window Operating Hours records for each time zone
in which you offer services. Instead, when you retrieve appointment
booking slots, the scheduling engine considers the time zone of
the service territory associated with the service appointment or
work order that you're requesting slots for. This behavior ensures
135
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
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. This initial
list provides some scheduling options so the agent has some slots
to offer the customer while you’re waiting for all options to load.
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.
For an appointment to be scheduled, the following information is
required: scheduling policy, work type, earliest start permitted, and
due date. While a service territory isn’t required, it’s recommended.
136
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
SEE ALSO:
Manage Field Service Appointments
137
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Example:
• A support agent’s time zone is Eastern Standard Time (EST).
• A service resource’s time zone is Mountain Time (MT) on both the user record and the primary service territory.
A customer in Nevada, which is in the Pacific Standard (PST) time zone, calls the company for an appointment, and the support
agent creates a work order. The work order is identified as being within the customer's service territory (PST) because the Map
Polygon record associates the job's geographical location with the PST territory.
On the Book Appointment page, the customer selects an arrival window of 1:00 PM–3:00 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 shown as 1:00 PM–3:00 PM.
• When the support agent (ET) views the service appointment, the arrival window is shown as 4:00 PM–6:00 PM. The agent’s
arrival window differs from the customer’s because the date and time fields are automatically converted to the viewer's time
zone. To ensure agents communicate with customers in the customer's local time, consider creating formula text fields that
show the service appointment times in the customer's time zone, referencing the Operating Hours associated with the service
appointment's territory.
• When the assigned resource (MT) checks the schedule in the Field Service mobile app, the arrival window is shown as 2:00
PM–4:00 PM. The service resource’s arrival window is in the MT local time because the date and time fields are converted to
the user's time zone. To ensure technicians communicate with customers in the customer’s local time, consider creating
formula text fields that show service appointment times in the customer's time zone, referencing the time zone from the
Operating Hours associated with the service appointment's territory.
For more information on scheduling across time zones in Field Service and example configurations, see this webinar.
SEE ALSO:
Create and Manage Map Polygons
138
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Field Service uses routing to calculate and minimize travel time and distance between appointments, and shares this information with
users. Travel time also factors into the scores assigned to available time slots and service resources during scheduling. Several routing
options are available:
• Aerial routing—Computes the shortest distance between two locations based on a straight-line route.
• Street-level routing—Computes the distance along roads or transportation routes. SLR is based on actual road speed measurements
and the expected travel speed based on road type. SLR calculation takes a bit longer than aerial routing calculation.
• Predictive travel —Builds on SLR by incorporating time-of-day data into the calculation. Predictive travel applies only to optimization
operations; scheduling operations like the Book Appointment and Candidates actions don’t use it.
• Point-to-point predictive routing—Estimates travel time using the exact service appointment location and considers time of day.
This routing is used across all scheduling and optimization operations. Point-to-point predictive travel supports calculating routes
that include transport by ferries. Transport by ferry is calculated at a fixed rate of 5 km/hr (or 3.1 mph). Create travel modes per
territory, resource, or both for accurate routing calculations based on transportation type, toll road preferences, and the presence
of hazardous materials. The default travel mode is set to car, using toll roads, and not carrying hazardous materials.
Note: You must be registered to use SLR, predictive travel, and point-to-point predictive routing. Registration is automatic. A
Register button appears if necessary, for example, after you refresh a sandbox for Field Service. Registration isn't required when
using Enhanced Scheduling and Optimization.
With predictive travel, traffic patterns such as rush hours are used when estimating travel time for more accurate predictions. For example,
traveling from A to B at 8 AM can yield a different travel time prediction than when leaving at 9 AM, due to anticipated traffic variations.
Emergency work uses Real-Time Travel provided by Google.
To set your travel time calculation preferences, open the Field Service Admin app from the App Launcher. Select Field Service Settings >
Scheduling > Routing.
Enhanced Scheduling and Optimization uses point-to-point predictive routing regardless of the travel time calculation preferences set
in the Routing section of Field Service Settings. Aerial routing is used when Enhanced Scheduling and Optimization can't calculate travel
time using predictive travel. A route can be unfeasible with predictive travel if travel mode limitations apply, a location is more than 1.5
kilometers from an official road, or data coverage is partial. For example, the dispatcher wants to manually assign the work to Alan as
he’s the only available resource. Alan drives a truck, but the route that Alan is assigned to doesn't allow trucks. Or, Alan is assigned to
maintain an asset that’s located 2 kilometers from a road, or in a new neighborhood. The travel source used to calculate the travel time
to the service appointment, resource absence, or home base is automatically shown in the Estimated Travel Time From Source and
Estimated Travel Time To Source fields for the assigned resource or resource absence.
With Enhanced Scheduling and Optimization you can take activities into consideration when calculating the travel time. Travel time
calculates the time it takes to drive from one location to another. However, the calculation doesn’t include additional setup time such
as time for finding parking or time to get from the parking to the customer. In Travel Time Buffer, define the number of minutes to add
for activities other than driving. The additional travel time is added to new service appointments when they’re scheduled or to existing
appointments if the schedule changes. The buffer is added only to service appointments with geocodes or with travel times. The buffer
isn’t added to consecutive appointments that don’t have travel times, for example, appointments that are at the same site. You can also
define buffers per territory. See Create Service Territories for Field Service on page 44.
Considerations
• Travel time is calculated according to the order of the schedule. The assigned resource object includes three travel time fields. Actual
Travel Time (Minutes) is an optional field for you to indicate the actual travel time. Estimated Travel Time (Minutes) is automatically
populated by the system and represents the travel time estimation to the service appointment. Approximate Travel Time From
(Minutes) is automatically populated by the system only for the last service appointment of the day, and is an estimate of the travel
time from the service appointment to the service resource’s home base.
• The Estimated Travel Distance From field on the assigned resource object is used to show the estimated mileage (travel distance in
kilometers or miles) from the service resource’s assigned appointment location to their home base. The Estimated Travel Distance
139
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
To field is used to show the estimated mileage to the service resource’s assigned appointment location from a service appointment,
another resource absence location, or their home base.
• Field Service is continually calculating travel time to make sure that it is up-to-date. As a result, if the updated travel time is longer
than the original travel time, and an appointment is scheduled to occur immediately afterward, an overlap can occur. This overlap
can usually be resolved automatically, but in some cases you must manually resolve the overlap.
140
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
• The Estimated Travel Time From Source field on Assigned Resources 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.
• Predictive travel isn’t supported with multiday work scheduling. In multiday work scheduling, the exact departure time for each day
is unknown, so SLR is used, corresponding to the fastest travel time (the best SLR travel time that you would get on a night slot with
minimum traffic). Complex work uses point-to-point predictive routing in optimization, and the most optimistic SLR travel time for
platform scheduling. This limitation isn’t relevant when you’re using Enhanced Scheduling and Optimization, because the enhanced
engine doesn’t use SLR.
• 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 aren’t 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, for example, an Uncommitted Work Pending error. When the
schedule falls back to aerial routing due to a failure in the callout, overlaps can appear on the Gantt after the travel time and break
update runs and updates the travel to SLR or predictive travel. To avoid an 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.
• Optimization can use aerial, SLR, or predictive travel, and can report which routing method was used.
Note: When you switch to point-to-point predictive routing, scheduling and optimization recalculate travel times, including
times for already scheduled appointments. You can incur an overlap of appointments because of the more accurate, slightly longer,
travel times. Use resource schedule optimization to fix overlaps locally (for specific resources), or run global or in-day optimization
to reoptimize the whole schedule (this takes longer). If you aren't using Enhanced Scheduling and Optimization, you must apply
the Fix Overlaps scheduling policy.
Navigable Countries
The availability of point-to-point predictive routing in a region depends on the map coverage level for that region.
141
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Navigable Countries
The availability of point-to-point predictive routing in a region depends on the map coverage level
EDITIONS
for that region.
Available in: both Salesforce
This is a Field Service managed package feature.
Classic (not available in all
The following countries support this level of routing. orgs) and Lightning
• Algeria Experience
142
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
• Finland
• France
• French Guiana
• Gabon
• Germany
• Gibraltar
• Greece
• Guadeloupe
• Guam
• Hong Kong
• Hungary
• Iceland
• India
• Indonesia
• Iraq
• Ireland
• Isle of Man
• Israel
• Italy
• Jordan
• Kazakhstan
• Kenya
• Kosovo
• Kuwait
• Latvia
• Lebanon
• Lesotho
• Libya
• Liechtenstein
• Lithuania
• Luxembourg
• Macau
• Malaysia
• Malta
• Martinique
• Mauritania
• Mauritius
• Mayotte
• Mexico
• Monaco
143
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
• Montenegro
• Morocco
• Mozambique
• Namibia
• Netherlands
• New Zealand
• Nigeria
• North Macedonia
• Norway
• Oman
• Panama
• Paraguay
• Peru
• Philippines
• Poland
• Portugal (Azores, Madeira)
• Puerto Rico
• Qatar
• Reunion Island
• Romania
• Russia
• Saint Barthélemy
• Saint Helena
• San Marino
• Sao Tome and Principe
• Saudi Arabia
• Serbia
• Singapore
• Slovakia
• Slovenia
• South Africa
• Spain
• Sweden
• Switzerland
• Sweden
• Switzerland
• Taiwan
• Thailand
• Tunisia
• Türkiye
144
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
• Ukraine
• United Arab Emirates
• United Kingdom (UK)
• Uruguay
• USA
• Vatican City
• Venezuela
• Vietnam
• Virgin Islands (USA)
• Zambia
• Zimbabwe
USER PERMISSIONS
Enable Service Appointments Sliding and Reshuffling When Using
Enhanced Scheduling and Optimization To enable service
appointment sliding:
Watch the video to see how to free up time for a new service appointment when using appointment • Customize Application
booking and scheduling operations by sliding service appointments on the Gantt to an earlier or
later time, within the resource’s availability.
Watch a video
To schedule critical service appointments even when the Gantt is full, the service appointments’ priorities are considered when using
sliding and reshuffling together. If a scheduling action can’t find an available time slot by sliding and reshuffling, service appointments
with lower or equal priorities can drop from the schedule. See Book and Schedule Appointments by Using Priorities on page 464.
Before you enable service appointment sliding and reshuffling, make sure you meet these requirements.
145
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
b. Select Sliding and reshuffling to enable service appointments to move between time slots on any day or to another resource.
From the Keep Scheduled Criteria picklist, select a service appointment status to use as criteria to make sure that the appointments
aren’t dropped from the Gantt during scheduling and appointment booking. These appointments can be moved to a different
time slot or to a different resource.
4. From the Pin Criteria picklist, select service appointment statuses to use as criteria to pin appointments to the Gantt (maximum 155
characters). These appointments are excluded from scheduling and appointment booking.
5. Click Save.
Considerations for using sliding only:
• Service appointment sliding doesn’t violate any scheduling rules.
• Service appointments can’t move from one resource to another.
• Service appointments can’t be unscheduled.
• Service appointments can move left and right within the shift without changing the order of the service appointments scheduled
in the shift. They can also move from before lunch breaks to after lunch breaks.
• Sliding service appointment functionality is applicable to appointment booking and schedule services only.
• Service appointments that are part of a complex work chain and are scheduled to multiple resources can move only to the right.
• If a service appointment that’s part of a complex work chain is violating a work rule, the entire chain is considered pinned.
• Sliding isn’t supported for service appointments that are part of a complex work chain and that are scheduled during shifts that span
over midnight, except for service appointments with a same-start dependency.
Considerations for using sliding with reshuffling:
• Service appointments with Schedule over lower priority appointment selected, can cause a lower priority appointment to be
dropped from the Gantt.
• All candidates are considered when a different resource is assigned to an appointment, for example, not only candidates with the
relevant skills.
• Reshuffling maximizes the possibility of finding available time slots, but it takes longer than sliding alone.
• Service appointments that are pinned to the Gantt aren’t moved.
• Service appointments with a status that matches one of the statuses defined in the Pin Criteria field on the General Logic tab aren’t
moved.
146
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Customize Service Appointment Reshuffling When Not Using Enhanced Scheduling and Optimization
You can define the time period in which lower priority appointments can be postponed when reshuffling.
1. From the App Launcher, find and open the Field Service Admin app, and then click the Field Service Settings tab.
2. Click Scheduling | Dynamic Gantt.
3. Under Reshuffle Assignments, define the time period in which lower-priority appointments can be postponed. When appointments
are reshuffled, lower-priority appointments are rescheduled during the time period between their Earliest Start Permitted—or the
current date, if the Earliest Start Permitted has passed—and this many days later.
4. Save your change.
SEE ALSO:
Schedule Appointments from the Record Feed
Schedule Appointments from the Dispatcher Console
Book and Schedule Appointments by Using Priorities
Get Ready for Field Service Scheduling and Optimization
Watch a video
Before you set up Travel Modes, make sure you meet these requirements.
• Field Service is enabled.
• The latest version of the Salesforce Field Service managed package is installed.
• Enhanced Scheduling and Optimization is enabled.
Note: Enhanced Scheduling and Optimization uses point-to-point predictive routing regardless of the travel time calculation
preferences set in the Routing section of Field Service Settings.
Travel modes are applied only to territories using Enhanced Scheduling and Optimization. Travel mode can't be assigned to a
secondary service territory member. All Limits and Limitations for Enhanced Scheduling and Optimization apply to travel modes.
147
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
SEE ALSO:
Enable Enhanced Scheduling and Optimization
Set Up Enhanced Optimization for Field Service Territories
Set Up Routing for Travel Time Calculations
148
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
USER PERMISSIONS
149
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
USER PERMISSIONS
4. Indicate whether the travel mode can use toll roads and whether it’s transporting hazmat, and then save your changes.
Note: When you select walking or bicycle, the hazmat and toll roads settings are ignored during calculation.
150
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
151
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
This is a Field Service managed package feature. The Field Service core
features, managed
Scheduling policies are made up of two elements:
package, and mobile app
• Work rules help you refine the list of candidates for a service appointment. You can use work are available in Enterprise,
rules to set specific criteria and filter out service resources that don’t meet your needs. Unlimited, and Developer
• Service objectives reflect your business’s scheduling priorities. You can weight each objective Editions.
to indicate its level of importance.
High Intensity Typically used in times of high service volumes, like a storm scenario, where your
need for 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.
152
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
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.
153
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Action Steps
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 uses your org's default scheduling
policy.
In-Day Optimization (Checkbox) If this option is selected, the scheduling policy uses
in-day optimization rather than global optimization. Policies that
use global optimization run for several hours, while in-day policies
run for up to 5 minutes for Enhanced Scheduling and Optimization
and up to 10 minutes if you’re not using Enhanced Scheduling and
Optimization. This approach makes it ideal for dispatchers to handle
last-minute changes. Dispatchers select in-day optimization
scheduling policies when optimizing their team’s schedule for one
154
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Scheduling Policy Name Name of the policy. If you select In-Day Optimization, we
recommend adding “In-Day” to the name of this policy for easy
identification when creating jobs and when optimizing from the
dispatcher console.
• Defining your Preferences for Scheduling with Service Objectives on page 157 The Field Service core
• Ranking the Selected Service Objectives on page 157 features, managed
package, and mobile app
• Determining Relative Importance of Service Objectives on page 158 are available in Enterprise,
• Setting Service Objective Weights on page 158 Unlimited, and Developer
• Testing Schedule Policy Effectiveness Through Simulation on page 159 Editions.
155
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
• Work orders have other factors besides Match Boolean work rule
skills that must be considered. For example, Match Skills work rule
are service resources assigned specific
postal codes they can service? Extended Match work rule
• Can I schedule work in overtime periods Service Resource Availability work rule
to service resources?
• Can a service resource travel outside Service Resource Availability work rule
working hours or only within working
hours?
• Can I require a specific service resource not Excluded Resources work rule
be assigned to a work order?
• My customer has specific times for service Service Appointment Visiting Hour work rule
calls. How do I make sure those times are
considered during scheduling?
• How do I ensure crew resources get Service Crew Resources Availability work rule
scheduled work?
156
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
• Is there a maximum distance a service Maximum Travel from Home work rule
resource can travel from their starting
location?
• What can I do to help with travel costs
across a large service territory?
• How can I assign specific types of work to TimeSlot Designated work rule
a service resource during a portion or the
full day?
Note: The Service Resource Availability work rule, and the Earliest Start Permitted and Due Date Match Time work rules are
mandatory for all scheduling policies.
Note: Use a scheduling policy without service objectives to improve performance if you aren’t using slot grades in Appointment
Booking. If you’re using Enhanced Scheduling and Optimization, booking appointments with a scheduling policy that doesn’t
have service objectives is called gradeless appointment booking. In this case, appointment booking finds the first eligible candidate
for each slot without having to grade all the possible options. When you’re not using Enhanced Scheduling and Optimization,
appointment booking grades all the possible options. However, if you don’t have service objectives in the scheduling policy, the
processing time is shorter.
157
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
The next step is to prioritize your scheduling preferences. Rank the service objectives from most important to least important. Some can
be similar in importance, but consider which preference is more desirable if all other factors remain the same.
For example:
Schedule ASAP 3
Preferred Resources 1
Compare rankings with other service managers and discuss any differences to understand the reasons behind them.
Schedule ASAP 50
158
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
• The best case scenario for minimizing travel is if there’s is zero travel and the best case scenario for scheduling as soon as possible
(ASAP) is scheduling right now. If an appointment can be scheduled right now with zero travel, I'd rather that option than scheduling
to a preferred resource. Adding up the combined weight of Minimize Travel and Schedule ASAP (210+50=260) is more than the
bonus of scheduling the appointment to a preferred resource (260>240).
• My business prefers to minimize travel over scheduling an appointment as soon as possible since we want to reduce the travel time
and the time not spent being productive. However, if traveling to a service appointment today isn't too bad, I don’t mind scheduling
it today to get it done earlier rather than waiting to save some travel time tomorrow.
If the service appointment assignments are correct, you can then evaluate the quality of the schedule.
Use Optimization Hub (when you’re using Enhanced Scheduling and Optimization) or Optimization Insights (when you’re not using
Enhanced Scheduling and Optimization) to measure the results of optimization. These results represent your baseline.
Unless you were lucky with choosing the service objective weight values, there’s usually room for improvement. Change the weight
values slightly while keeping the total sum of weights the same and rerun the simulation. Are the results better or worse? Continue this
process until you’re satisfied with the results.
159
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
SEE ALSO:
Create and Manage Field Service Scheduling Policies
Create and Manage Field Service Work Rules
Create and Manage Field Service Objectives
Create Relevance Groups
Note: For a more realistic test dataset, update the dates within the dataset based on the amount of test data available for the
selected date range.
4. The optimization horizon date range must match what you intend to configure in production. For example, if you are testing the
global optimizer that has a horizon of 3 days, the optimization horizon for the testing is January 5, 2024 to January 7, 2024.
5. Create a copy of the scheduling policy that you’re testing for fine-tuning and rename it to show that it’s the baseline scheduling
policy. For example, ABC_Baseline.
6. Set up Optimization Insights, or, if you’re using Enhanced Scheduling and Optimization, set up the Optimization Hub.
7. Unschedule all the appointments in the testing data domain.
160
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
8. Run Global Optimization on the selected service territories for the time horizon that you selected. It's easier to use the OAAS API to
run the test because it gives you the flexibility to choose future dates. When you’re using Enhanced Scheduling and Optimization,
you can control the time range directly from the scheduled job page.
9. Measure the results.
• Measure runtime.
• Collect results using Optimization Insights or the Optimization Hub to determine how many appointments were scheduled,
utilization, travel time, and more metrics, according to your specific business KPIs.
• Take screenshots of the Gantt.
• If possible, save the schedule by exporting the service appointment schedule times and Assigned Resource records for analysis.
10. Run the same test one or two more times and average out the result. The result acts as the baseline metric to compare against.
11. Review the Gantt and the metrics and identify areas where you want to improve and which KPIs to focus on. Consider the types of
service territories you chose and analyze the differences in results among the territories.
12. Copy the scheduling policy and rename it to show the test number and what you are planning to change in this policy.
13. Update the service objective weights to impact the KPI that you want to see an improvement on. We recommend you change only
one variable at a time, and test how it affects the results. Otherwise, it can be difficult to determine which change impacted the
results. Keep in mind that objective weights are relative to each other.
14. Repeat the process from step 8.
15. Continue the simulation tests until you see no significant improvements from further tuning of the scheduling policy.
When you’re happy with the results, you can use your newly tuned scheduling policy in your production environment. We recommend
you test the new policy with a few service territories first and get feedback from users before you roll it out to all service territories.
SEE ALSO:
OAAS Class
Manage Scheduled Jobs in Field Service
Optimization Horizon
Gain Visibility into Optimizations with Field Service Optimization Insights
Explore Metrics in Field Service Optimization Hub
161
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Note: If a user doesn’t see a particular work rule type, they need profile-based access to it. Navigate to the user’s profile in Setup.
Under Custom Record Type Settings, click Edit next to Work Rules and move the record type to Selected Record Types.
Considerations
Work rules are either database or Apex rules. Each has their own impact on performance and efficiency.
Database rules are applied at the SOQL query clause level. These rules immediately disqualify resources and query only the resources
that you need, so performance isn’t impacted.
Apex rules are applied after the initial set of service resources are returned from the database SOQL query. Like an Apex “for loop”, Apex
rules iterate over all resources returned and must validate that the resources meet specified rule criteria. The additional Apex processing
impacts performance.
Even though Apex rules have a greater impact on performance than database rules do, Apex rules can still be used. Without Apex or
database rules to limit the resources found eligible to perform the work, too much work can create a bigger issue for overall performance
and even trigger a CPU timeout.
All database rules are aggregated into one SOQL query and applied in no particular order. Also, because they’re used for grading resources,
applying service objectives happens after applying all work rules, increasing the amount of Apex processing.
Even though service objectives in your scheduling policy can affect performance, specifying service objectives can be necessary and
required from a business value standpoint. You can choose to apply service objectives to get the best candidate according to the work
rules and company scheduling policy. Or you can choose to get a valid candidate quickly, without affecting performance, by applying
just the work rules.
Database rules are specific work rules used to filter service resources during Appointment Booking, Get Candidates, Schedule, and
Emergency Scheduling actions. They're more efficient than other work rules, which filter resources against CPU time. You must include
at least 1 database rule in your scheduling policy to minimize the number of candidates during the Appointment Booking and Get
Candidates actions. To avoid performance issues, we recommend you use database rules to filter the number of candidates to 20.
These rules are considered database rules:
• Maximum Travel From Home
• Working Territories
• Match Territory
• Enhanced Match
When you’re using Enhanced Scheduling and Optimization, these work rules are also considered database rules:
• Match Boolean
• Match Fields
• Required Resource
• Excluded Resource
162
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
163
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Settings
A work rule of this type contains the following settings.
Field Description
Time Resolution The duration for which the defined count limit applies and is reset
for a service resource. The available resolution is Daily.
Count Type What the rule counts: assignments, durations, or a custom field
value.
Count Object Object used in the count. If the rule counts assignments or
durations, the object is a service appointment. If the rule counts a
custom value, select the object that has the custom field: service
appointment, work order, or work order line item.
Resource Property API name of a numeric custom field on a service resource, enabling
you to set a specific limit for each resource. If this field is null, for
any service resource, the system uses the default limit specified in
the Count work rule record.
164
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Add the work rule to a scheduling policy from the Customize Scheduling Policies page in Guided Setup or by using the Scheduling
Policy Work Rule related list. When you use this scheduling policy, the work rule ensures that scheduling and optimization considers
service resources as eligible for work assignments only up to their specified 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.
For 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, add workers to relevance groups based on truck size
and create rules using those groups.
165
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
SEE ALSO:
Create Relevance Groups
Work Rules: Considerations
166
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
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.
SEE ALSO:
Add Service Resource Preferences in Field Service
Work Rules: Considerations
Field Description
Service Appointment Matching Field The service appointment lookup field value that you're matching.
The field must be of the type Lookup. When using Enhanced
Scheduling and Optimization, if the service appointment matching
field is empty, all resources are considered valid.
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. When using Enhanced
Scheduling and Optimization, if the Linking Object Reference Field
is empty, then the service resource isn’t a valid candidate for any
service appointment with matching field requirements.
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.
Note: To avoid a potential scheduling or optimization crash, we recommend that when you create Linking Object records, you
populate both the Linking Object Reference field and the Service Resource Reference field.
167
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
After you create the data model for your work rule, finish setting it up by creating a work rule from the Work Rules tab. Use the Extended
Match Rule custom Lightning Component helper, or enter the fields manually.
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 five Extended Match work rules. Applying more than two
Extended Match work rules with complex scenarios, such as multiday or crew scheduling, can affect scheduling performance. The
scheduling operation can fail if a Salesforce platform limit is reached.
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.
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.
Considerations:
• 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’t use relevance groups with Extended Match work rules.
SEE ALSO:
Work Rules: Considerations
168
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Note: A scheduling policy can contain up to five Match Boolean work rules.
169
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
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.
SEE ALSO:
Service Resource Fields for Field Service
Work Rules: Considerations
170
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
• Add the API name of any field as a picklist value in the Resource Property or Service Property fields on the Work Rule custom object
in Setup.
• Make sure that the value has been enabled for the record type.
Note: Match Fields work rules are supported for schedule optimization only when you're using Enhanced Scheduling and
Optimization.
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.
SEE ALSO:
Service Resource Fields for Field Service
Service Appointment Fields for Field Service
Work Rules: Considerations
Skill Type The Skill Type group of skills the object refers to, for example, Language. The
Developer Name Skill Type can be found on the Skill record in Setup.
Skill Type Logic Defines the logic between the skill requirements as All Skills Match (AND)
(this is the default) or At Least One Skill Matches (OR). You set the logic for
each skill type. Using the OR logic, you can qualify more service resources to
match at least one, but not necessarily all, skill requirements of a certain skill
type.
At Least One Skill Matches (OR) is supported only when you’re using Enhanced
Scheduling and Optimization. If you aren’t using Enhanced Scheduling and
Optimization, the All Skills Match (AND) logic is used regardless of this setting.
For example, a service appointment requires a caregiver who can perform
procedures required for diabetes care and the caregiver must speak English
or Spanish. If speaking only one of the languages specified on a Work Order
171
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Note: If a service appointment doesn't have the required skills specified, all service resources are considered valid candidates. If
a service resource has no assigned skills, the resource isn't a valid candidate for any service appointment with skill requirements.
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.
SEE ALSO:
Create Skills for Field Service
Add Required Skills to Work Orders or Work Types for Field Service
Work Rules: Considerations
172
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
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.
SEE ALSO:
Create Service Resources for Field Service
Work Rules: Considerations
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.
173
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Pass Empty Values If you select this option and any of the Service Time Property values
are empty, the Match Time rule is ignored.
Field Service 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.
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.
SEE ALSO:
Service Appointment Fields for Field Service
Work Rules: Considerations
174
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
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.
SEE ALSO:
Set Up Routing for Travel Time Calculations
Work Rules: Considerations
175
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
SEE ALSO:
Add Service Resource Preferences in Field Service
Work Rules: Considerations
176
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Visiting Hours object’s time zone when an appointment has visiting hours setting, so that you use the time zone of the
appointment’s service territory. To access the setting, in the Field Service Settings tab, click Scheduling > General Logic.
• You can add holidays to visiting Operating Hours that represent the time when customers aren’t available to receive services. These
holidays take precedence over the customers’ preferences for visiting operating hours.
• Multiday work doesn’t support visiting hours.
Note: Dispatchers can still manually schedule appointments outside a customer’s operating hours, but a rule violation is shown.
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.
SEE ALSO:
Guidelines for Creating Operating Hours for Field Service
Work Rules: Considerations
Note: For tips on scheduling service crews, see Considerations for Scheduling Service Crews.
Service Crew Resources Availability work rules have the following settings.
Maximum Additional Service Resources Ensure that crews are optimally utilized and that no resources are
idle by defining the maximum number of additional service
resources, available when using Enhanced Scheduling and
Optimization. For example, if a service appointment requires a
minimum of 3 service resources in a crew, specify that a maximum
of 2 additional resources are allocated to the crew. This maximum
means that you can schedule a service appointment to a crew of
size 3 to 5 service resources.
177
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
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.
SEE ALSO:
Work Rules: Considerations
Note: If a fixed gap is defined, travel time isn’t considered 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 Set a single break time that the scheduling engine inserts between scheduled service appointments.
For example, if service resources prefer to take lunch at 12:00 PM, enter 12:00. Breaks are scheduled
as close as possible to the Break Start time, allowing for flexibility to start and complete appointments.
178
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Overtime Allow service appointments to be scheduled during time slots or shifts of the Extended type.
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). When using Enhanced Scheduling and Optimization, if this field is empty,
all travel will be scheduled within the work day. When not using Enhanced Scheduling and
Optimization, 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). When using Enhanced Scheduling and Optimization, if this field is empty, all
travel will be scheduled within the work day. When not using Enhanced Scheduling and Optimization,
if this field is empty, any amount of travel after the end of the work day is valid.
Note: 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.
Travel
Complete 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:00 AM, then travel must occur before that time. In this case, fill out the Travel To and From Home fields and include the duration
of expected travel time outside the service resource’s working hours..
• 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.
Break Schedules
There are two ways to add breaks to Service Resource Availability work rules.
• To set a single break, fill out the Break Schedule fields.
• To create up to three breaks that start relative to the beginning of the day, add work rule entries. Enhanced Scheduling and Optimization
must be enabled.
If you don’t want to use breaks, leave these sections empty. You can’t set both a single break and add work rule entries.
When you use the Break Schedule settings, these conditions apply.
• A service resource's lunch break is created at the time defined in the Service Resource Availability work rule when the first service
appointment is scheduled in the day. When you drag an appointment or schedule a new one, the Service Resource Availability work
rule ensures that the service resource takes a break either at the set Break Start time or immediately after the last appointment that
started before the Break Start. The scheduling engine allows for some flexibility.
• When a service appointment starts before the Break Start time and ends after, then the break is pushed forward to the end of the
service appointment. For example, with Break Start set to 12:00 PM, the scheduling engine can schedule a service appointment from
11:30 AM to 12:30 PM, and move the break to 12:30 PM, so that the service resource’s break starts as soon as the resource has
completed that appointment. The lunch break can be moved forward as long as there's availability.
• If the travel time to the next appointment prevents the break from being scheduled at the set Break Start time, the break is pushed
back until the end of the first service appointment scheduled on that day. For example, if the Break Start is set to 12:00 PM and lasts
179
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
30 minutes, and a service appointment is scheduled at 12:30 PM to 13:30 PM, but includes a 30-minutes travel time to the appointment,
then the break is pushed back and scheduled from 11:30 AM to 12:00 PM.
• If there are multiple service appointments after the Break Start and there’s no room for the break, or if an appointment is extended
so that the break after it overlaps with the next appointment’s travel time, the break defaults to the Break Start time set in the
availability rule. This overlap results in a rule violation. For example, if a Break Start is set to 12:00 PM and a service appointment is
scheduled from 11:00 AM to 12:00 PM, and then you drag another service appointment to 12:00 PM until 1:00 PM, the break doesn’t
move to 1:00 PM. A resource availability rule violation is displayed. Also, if you drag an appointment to after the break but its travel
time overlaps with the break, the scheduling engine doesn’t move the break, and a rule violation is displayed.
Note: We recommend that you avoid creating manual breaks so that only the scheduling engine creates and modifies breaks.
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.
SEE ALSO:
View a Field Service Resource’s Calendar
Work Rules: Considerations
Work Rule Entry Name An auto-number name for the work rule entry.
To view or add work rule entry fields, open the Object Manager in Setup and select the Work Rule custom object. Under Page Layouts,
select Related Lists and drag Work Rule Entries to add it to your page layout.
180
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Note: 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.
Flexible Breaks
Watch the video to see how to schedule multiple flexible breaks with enhanced work rules.
Watch a video
Flexible breaks are scheduled based on their duration and a time window relative to the beginning of the service resource's day. You
can add up to three work rule entry breaks to work rules of the Service Resource Availability type. You can’t add a break schedule to the
parent work rule and use work rule entries.
Example: Let’s say you want to schedule breaks for mobile workers, and their shifts last about 10 hours. You want to schedule
a 20-minute break about two hours into the day, a 45-minute meal break in the middle of the day, and another 20-minute break
about two hours before the end of the shift. Create three work rule entries, with these settings:
Work Rule Entry Break Duration Earliest Break Start Latest Break End
First break 20 100 180
If the worker’s availability starts at 8:00 AM, the first break is scheduled between 9:40 AM and 11:00 AM. The meal break happens
between 12:00 PM and 2:00 PM, and the last break happens between 3:40 PM and 5:00 PM.
181
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Note: If a service appointment doesn’t have a service territory defined, for that service appointment to be assigned to a service
resource, the service appointment must meet the criteria defined in the time slot or shift in each of the service resource's assigned
service territories.
SEE ALSO:
Reserve Time Slots for Designated Types of Work
Create Filters to Match Field Service Appointments and Shifts
Work Rules: Considerations
182
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
SEE ALSO:
Manage Work Capacity in Field Service
Create and Manage Field Service Work Rules
SEE ALSO:
Create Service Resources for Field Service
Work Rules: Considerations
183
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
184
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Setting Description
Estimated Travel Time fields of an assigned resource
associated with the absence.
• When you unschedule or delete a service appointment, an
assigned resource, or an absence.
SEE ALSO:
Set Custom Permissions for Field Service
Check Rule Violations on the Gantt
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.
185
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
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.
Same Site Ensures that a minimal number of mobile workers visit the same location by having the
optimization services group service appointments located at the same site. Use the Same Site
service objective to prefer that jobs get scheduled together while considering all other
objectives and KPIs.
This objective applies only when you use Enhanced Scheduling and Optimization.
Skill Level Measures assigned resources’ adherence to a work order’s skill requirements. When creating
an objective of this type, select whether to favor the 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
186
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Skill Preference Ranks candidates with a skill of a certain skill type that reflects the service appointment's skill
preferences. For example, a service appointment requires a caregiver who speaks English or
Spanish but the preferred choice is Spanish.
When you’re creating a skill requirement for a work order or a work order line item, the
applicable values for ranking a skill priority are 1 to 10, where 1 is the highest priority and 10
is the lowest. If you enter a value that’s less than 1, the skill priority is set to 1. If you enter a
value that’s greater than 10, the skill priority is set to 10. If you don’t enter a value, the skill
priority is set to 10.
Use the Skill Type Developer Name field in the Objective object to apply the objective's ranking
only on skills of certain skill types.
This objective applies only when you use Enhanced Scheduling and Optimization.
SEE ALSO:
Create and Manage Field Service Work Rules
187
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
After you configure priority settings, you’re ready to optimize. If you want to schedule and prioritize many appointments, use Global or
In-Day optimization. When availability is limited, optimization bumps lower priority assignments from the schedule and schedules higher
priority appointments in those slots.
If you have just a few urgent appointments, you can use priorities with scheduling actions, such as Get Candidates, Book Appointments,
or Schedule. Add the field Schedule over lower priority appointment to the service appointment page layout.
When you select this Boolean field on appointments, scheduling actions consider the appointment’s priority. If a service appointment
in a lower priority is in a pinned status, other appointments aren't scheduled over this pinned appointment, and there's no overlap.
188
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
2. Select Visualforce pages, and drag one of the following pages onto the detail page layout.
We recommend giving it its own section for clarity.
• Work rules: Vf001GroupOnWorkRules
• Service objectives: Vf002GroupOnObjectives
Note: Relevance groups can use primary service territory memberships and relocation service territory memberships. Secondary
service territory memberships aren't supported.
189
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
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.
SEE ALSO:
Create and Manage Field Service Work Rules
190
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Note: When you create a flow by using the Fix Schedule Overlaps template, make sure you use a flow name that’s different
from the original flow name.
6. The flow is triggered only for in-day of service changes to address last-minute issues to an individual service resource’s schedule due
to late ending appointments that overlap the following appointment. The minimum overlap for the flow to apply is 10 minutes. Use
the flow as is, or modify it according to your needs. The flow template includes components.
• Check if Overlap is Today component—Call an action that checks whether the overlap occurred today in the service resource’s
timezone. An overlap occurs due to unexpected changes in the schedule on the day of service.
• Is Overlap Today component—Determine whether the overlap occurred today according to the Check if Overlap is Today result.
If the overlap is today then continue with the flow.
• Is Late End component—Determine whether the status of the service appointment that triggered the overlap is In Progress,
Completed, or Cannot Complete resulting in a late end. If the service appointment ended late or is expected to end late then
continue with the flow.
• Is Overlap Long component—Determine whether the schedule overlap is considered long. If the schedule overlap is 10 minutes
or longer then continue with the flow. You can adjust the minimum overlap length.
• Get Scheduling Policy component—Filter the scheduling policy records to get the Customer First scheduling policy used when
running the Fix Schedule Overlaps action. You can select a different scheduling policy according to your use case.
• Fix Schedule Overlaps component—Fix the schedule when an overlap occurs because a service appointment ended late or is
expected to end late. To keep the schedule as close as possible to the original schedule, the Fix Schedule Overlaps flow only
considers service appointments that are scheduled to the resource for the day that the overlap occurs.
191
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
8. If you created a flow by using the Fix Schedule Overlaps flow template, make sure you change the Fix Schedule Overlaps flow (Beta)
API name field value to the new flow's API name.
To control user permissions to run flows, see How Does Flow Security Work?
SEE ALSO:
Manage Field Service Scheduling Overlaps
192
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
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.
Considerations for Scheduling Recipes
• You can create up to 75 active recipes per category, and up to 1000 recipes per org.
• For Shortened Appointment scenarios, scheduling recipes only try to fill one empty space per day for each service resource.
• For Shortened Appointment scenarios, scheduling recipes support only a single operating hours timeslot per day.
193
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
• Scheduling recipes support only operating hours and timeslots, not shifts.
• A triggering service appointment is the appointment that actually triggers resource scheduling optimization. For Shortened
Appointments, Late-End Overlap, and Emergency Overlap scenarios, scheduling recipes are only triggered if the triggering service
appointment's status has been selected as a pinned status for In-Day Optimization. The optimization engine then optimizes service
appointments that are schedulable (not in a pinned status). We recommend leaving the Dispatch status deselected so dispatched
work can be moved if a previous job runs late or emergency work is needed.
• If you have access to 2,000 or more service territories, the service territories list shows only selected territories. Use the search bar to
find territories that aren't selected.
Scheduling Recipe Scenarios
Automate how Field Service handles common situations that cause gaps or overlaps in your schedule, like the following.
• An appointment is canceled
• A mobile worker finishes early
• A mobile worker finishes late and has overlapping appointments
• An emergency causes appointments to overlap
Certain conditions trigger a scheduling recipe, for example, appointment status categories. Recipes are triggered only for in-day of service
changes to address last-minute issues to an individual service resource’s schedule.
You can set the scheduled appointment’s Status Category to change after optimization to Scheduled or Dispatched, and mark resulting
unscheduled appointments as In Jeopardy with a jeopardy reason.
Shortened Appointment • Status Category = • Preserve Current Schedule and Fill Gaps - Finishing work
Completed/Cannot early frees up the schedule. The optimization minimizes any
Complete/Canceled changes to the schedule by leaving as many scheduled
• Service appointments must meet appointments as is, and filling the gap with the best match
the set recipe criteria. from the next 100 appointments scheduled for that resource.
• The service appointment’s
Scheduled End is shortened and
the gap created is large enough to
fill. The minimum schedule space
created for the recipe to apply is 10
minutes (default is 15 minutes).
Late-End Overlap • The service appointment’s • Preserve Current Schedule - If an appointment is taking
Scheduled End is updated to a later longer than expected, the rest of the day is at risk. The
time. The minimum overlap for the optimization minimizes any changes to the schedule by leaving
as many scheduled appointments as is, and scheduling an
194
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Emergency Overlap • The service appointment’s • Emergency dispatches can take the resource off-route. When
Emergency = True, and the Status an emergency appointment is dispatched and results in
Category = Scheduled/Dispatched. scheduling issues, optimization reschedules the rest of the
• The minimum overlap for the resource's day as needed in order to revolve around the
recipe to apply is 1 minute (default emergency location and other pinned service appointments,
is 10 minutes). while adhering to the scheduling policy objectives.
• The next appointment is scheduled from the next 100
appointments scheduled for that resource.
195
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
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.
196
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Auto Schedule
Drag and Drop, Schedule, Bulk Schedule Schedule an appointment by dragging it from
the appointment list, directly from the
dispatcher console map, or from the service
appointment mini view. Use the Mass Schedule
action to bulk schedule appointments from the
appointment list.
Optimization Services
197
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Feature Description
Resource Schedule Optimization (RSO) When last-minute developments occur like canceled jobs, lateness,
or emergencies, optimize an individual service resource’s schedule
to design the best schedule for them.
Fill-In Schedule Fill gaps in a service resource’s schedule. This feature fills gaps in
the service resource’s schedule with non-urgent work that has no
defined execution time, such as maintenance work.
This feature isn’t supported yet by Enhanced Scheduling and
Optimization.
Group Nearby Minimize travel time or gaps between appointments. This feature
unschedules appointments that were scheduled later that day and
replaces them with appointments that are close in location to the
source appointment.
This feature isn’t supported yet by Enhanced Scheduling and
Optimization.
Transparency Services
198
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
This is a Field Service managed package feature. The Field Service core
features, managed
package, and mobile app
Prevent Overlapping Field Service Optimization Requests
are available in Enterprise,
When initiating resource schedule optimization, in-day optimization, or global optimization, Unlimited, and Developer
Field Service checks for other such optimization requests that are being processed simultaneously Editions.
for the same territory or service resources with at least 1 day of overlap in the optimization
horizon. For example, a dispatcher activates resource schedule optimization for a resource that’s
part of a dataset being optimized through in-day optimization. If an overlap is detected, a message is shown and the newly initiated
optimization request is aborted. Similarly, when a dispatcher tries to make changes to the Gantt, which is being processed by a
background optimization request such as in-day optimization, a message is shown notifying the dispatcher that their changes can
create unwanted results. The dispatcher can choose whether to continue with the manual changes or not.
Handle Conflicts During Optimization
Define the Commit Mode in the scheduling policy to determine what happens when schedule conflicts occur during global, in-day,
or resource schedule optimization.
Guidelines for Using the Scheduling Policy Commit Mode
Define what happens when a dispatcher or scheduling operation makes a change to the schedule that conflicts with an ongoing
optimization process.
199
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
200
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
SEE ALSO:
Get Ready for Field Service Scheduling and Optimization
Manage Scheduled Jobs in Field Service
201
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
202
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
• Rollback (default for Salesforce orgs created after Summer ’24): If a potentially conflicting change is made to the schedule for the
dates being optimized—with a buffer day before and after—don’t complete the optimization. This choice is a conservative scheduling
option that helps you avoid possible conflicts. For example, if you begin a scheduled job to optimize from April 2 to April 5, any
change made to the April 1 to April 6 schedule causes the optimization to be rolled back. Changes include creating, updating, and
deleting resource absences and service appointments.
The default when you’re using Enhanced Scheduling and Optimization is Rollback, but consider selecting Always Commit during global
optimization. Rollback is recommended with in-day optimization schedule policies due to a high chance of conflicts. During
night-optimization, where conflicts are limited, consider selecting Always Commit.
Here are examples of potentially conflicting schedule changes and what happens depending on the selected Commit Mode.
The status of a service appointment is The schedule is updated. The service No changes are made to the schedule.
updated. appointment can move to another time and
resource as per the optimization results. The
status remains unchanged from the latest
update.
A service appointment is created and The schedule is updated as per the No changes are made to the schedule.
scheduled. optimization results. An overlap can occur
with another service appointment.
The dispatcher schedules an appointment During optimization, the optimization run No changes are made to the schedule.
that is currently unscheduled. also assigns this appointment to another
service resource, resulting in the
appointment having two assigned
resources, which is invalid.
A scheduled service appointment is If a scheduled service appointment is No changes are made to the schedule.
canceled. canceled during an optimization run, the
service appointment remains canceled and
doesn't appear on the Gantt.
A scheduled service appointment is The schedule is updated as per the No changes are made to the schedule.
unscheduled. optimization results.
Optimization tries to schedule a service Scheduled Start and Scheduled End times No changes are made to the schedule.
appointment and the unscheduled are added to the service appointment. No
appointment is canceled. assigned resource is added to the service
appointment.
A resource absence is created within the The schedule is updated as per the No changes are made to the schedule.
optimization horizon. optimization results. An overlap can occur
with another service appointment.
203
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
A resource absence is deleted within the The schedule is updated as per the No changes are made to the schedule.
optimization horizon. optimization results.
A scheduled service appointment is The service appointment moves to another No changes are made to the schedule.
rescheduled to another time (the Scheduled time or service resource, or both, as per the
Start Time or Scheduled End time, or both, optimization results.
is updated).
A scheduled service appointment is The service appointment moves to another No changes are made to the schedule.
rescheduled to another service resource time or service resource, or both, as per the
(Assigned Resource is updated). optimization results.
The Arrival Window Start time of a service The service appointment moves to another No changes are made to the schedule.
appointment or Arrival Window End time, time or service resource, or both, as per the
or both, is updated. optimization results.
SEE ALSO:
Get Ready for Field Service Scheduling and Optimization
Create and Manage Field Service Scheduling Policies
204
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Set Up Designated Work for Time Slots When Using Enhanced Scheduling and Optimization
Create specific time slots in Field Service dedicated to service appointments that meet your criteria
USER PERMISSIONS
when using Enhanced Scheduling and Optimization.
1. Add the TimeSlot Designated Work work rule to one or more scheduling policies. When the To view, create, and update
policy is in use, the scheduling optimizer respects your designated time slot preferences during recordset filter criteria:
• View, create, and edit on
scheduling.
Service Appointments,
a. Click the Scheduling Policies tab and select a policy. Time Slots, Operating
Hours, Recordset Filter
b. In the Scheduling Policy Work Rules related list, click New.
Criteria, and Recordset
c. In the Work Rule field, select New Work Rule. Filter Criteria Rules
d. Select Field Service - TimeSlot Designated Work and click Next. AND
205
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
h. To add filter conditions, select the Criteria Field, the Operator, and the field Value to match on. The Value input changes depending
on the field you select. For example, picklist fields show the list of available choices. Add another condition if you need to.
i. Save the recordset filter criteria.
Note: Select an active recordset filter criteria with the source object Time Slot and filtered object Service Appointment.
e. Click Save.
f. From the calendar editor, you can change a designation by selecting a different recordset filter criteria from the lookup window.
g. You can delete a designation only from the Related tab. In the time slots related list, click Edit on the action menu of the relevant
time slot. Then clear your selection from the Recordset Filter Criteria field and click Save.
If an appointment doesn’t meet the criteria of your designated time slot, the scheduling optimizer won’t schedule it within the time
slot.
Set Up Designated Work for Time Slots When Not Using Enhanced Scheduling and Optimization
Create specific time slots in Field Service dedicated to service appointments that meet your criteria when not using Enhanced Scheduling
and Optimization.
1. Decide which service appointment fields can be used to reserve time slots.
206
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
a. From the Object Manager, find the Service Appointment object and click Field Sets.
b. Open the Designated Work Fields field set.
c. Drag any checkbox field into the field set.
Note: You can customize a field by adding it to the service appointment object.
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.
If an appointment doesn’t meet the criteria of your designated time slot, the scheduling optimizer won’t schedule it within the time
slot.
SEE ALSO:
Work Rule Type: TimeSlot Designated Work
Create Work Types for Field Service
Guidelines for Recordset Filter Criteria
207
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Note: The Long-Term view replaces the Multiday view, which displays 5 weeks at a time but doesn’t include filtering options.
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.
208
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
The Dispatcher Console automatically takes your service resources’ travel and break times into account to optimize your multiday
appointments.
• Multiday scheduling is supported in all Enhanced Scheduling and Optimization services except Appointment Booking.
• On multiday service appointments, the Scheduled Start and Scheduled End times must fall within the assigned resource’s time slots
in their operating hours.
209
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
• Multiday scheduling doesn’t consider customer availability (visiting hours) listed on the work order.
• Multiday work calculations are run when the assigned resource changes or the service appointment Duration, Scheduled Start, or
geolocation changes. This behavior isn't supported when using Enhanced Scheduling and Optimization.
• If you drag and drop a multiday service appointment, or manually change its Scheduled Start, the appointment’s Scheduled End
isn’t automatically extended beyond the due date. The appointment can be manually moved beyond the Due Date, but its Duration
remains unchanged.
• To prevent the scheduling optimizer from proposing time slots that don't fully respect resources' availability, configure a TimeSlot
Designated Work work rule.
• When scheduling multiday service appointments, the time between the Scheduled Start and Scheduled End includes the duration
of the job as well as travel time from and to the assigned resource's home base for each day of the appointment. The duration of
any Break type Resource Absence records is also included if the Service Resource Availability work rule is set to create breaks for the
service resource.
Note: To change the travel time logic, update the Travel From Home and Travel To Home fields on the Service Resource
Availability work rule. These fields let you allocate a number of minutes at the day’s start and end for the resource’s travel at
their own expense. If they’re left blank, the schedule automatically includes calculated travel time. For example, enter 60 in
each field if resources must be present at the site at the start of the day. This way, the schedule doesn’t include travel time for
resources whose home base is less than an hour from the site.
– Enhanced Scheduling and Optimization doesn't properly handle multiday work that starts or ends during nonworking hours at
a time when travel at the resource's expense is allowed. Such cases can result in incorrect overlapping violations and inaccurate
travel times.
– A service resource can’t be assigned to any other appointment during a multiday service appointment.
– When you’re not using Enhanced Scheduling and Optimization, 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 (calendar days).
– The combination of multiday scheduling and complex work isn’t supported. If a multiday service appointment has a scheduling
dependency, its Scheduled End date isn't calculated when the appointment is scheduled. We recommend that you don’t create
dependencies between multiday appointments.
– When you’re not using Enhanced Scheduling and Optimization, you can only schedule one multiday service appointment at a
time.
SEE ALSO:
Complex Work in Field Service
Field Service Limits and Limitations
210
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Limits define the maximum hours of schedulable capacity for a service territory or a specific
workstream. For example, you can limit the total duration of new installation jobs scheduled in the New York territory to 100 hours per
day during weekdays for the next two months. You can also limit maintenance jobs to 50 hours per day on Mondays. Or set the limit as
a percentage of the total calculated available work capacity. For example, limit the installation jobs in Miami to 15% of the total calculated
available time in Miami per day during the same time period. The limits are defined per day. Restrict limits to a date range or start on a
specific date and be open-ended.
You can set a limit to the work capacity for a specific workstream. A workstream with a defined limit is called a limited workstream. For
example, limiting the work capacity of service appointments for the Breakfix work type to 140 hours on a specific day in Los Angeles
defines a limited Breakfix workstream. Use out-of-the-box service appointment attributes to define these limits or create custom attributes.
For example, use work type categories.
Note: This feature is available only with Enhanced Scheduling and Optimization.
211
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
a. From Setup, in the Quick Find box, enter Users, and then select Permission Sets.
b. For the Field Service Integration permission set, click Object Settings and select Service Appointments.
c. For each custom field, select Read Access and Edit Access.
7. Make sure that a default scheduling policy is selected for the Dispatcher Console UI.
a. From the App Launcher, find and select the Field Service Admin app.
b. Click Field Service Settings, select Dispatcher Console UI, and in the Gantt Configurations tab check that a default scheduling
policy is selected.
8. To let dispatchers update service appointments, share the work capacity object records with users according to the service territories
they’re permitted to access.
a. From the App Launcher, find and select the Field Service Admin app.
b. From the Field Service Settings, select Sharing.
c. On the Scheduled Jobs tab, make sure that Enable user territory sharing and Enable automatic population of user groups
based on User Territory are selected.
d. Select Share all work capacity records with public groups associated with the service territory.
212
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
e. If you manually defined triggers for capturing newly created work capacity object records in Spring ’24, remove the triggers
9. (Optional) To set up the limit override policy of the work capacity limits:
a. From the App Launcher, find and select the Field Service Admin app.
b. From the Field Service settings, select Scheduling.
c. On the Work Capacity tab, select the limit override policy.
If you select to set a limit override policy per limit, users can configure each limit to be overridden up to two weeks before or up
to one day after midnight on the day of service.
SEE ALSO:
Enable Field Service
Work Capacity Considerations and Limitations
Set Up and Configure Your Org for Experience Cloud Sites
213
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
4. Add Work Capacity objects and the Work Capacity tab to the Experience Builder site. See Add Tabs to Your Experience Cloud Site .
a. In the components list, scroll down to the Capacity Limit Summary View component and drag it to the first tab in the page.
b. Drag a Record list component to a tab, for each of the Work Capacity objects (WorkCapacityLimit, WorkCapacityUsage, and
WorkCapacityyAvailability), and from the record list dialog box choose the object that you want to add to this tab.
214
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
a. Confirm that the site users who need access to the work capacity page have a Partner Community user license.
b. Create the site dispatcher permission sets. From the App Launcher, find and open the Field Service Admin app, and then click
Field Service Settings. Then, click Permission Sets in Getting Started.
c. Confirm that the Field Service Community Dispatcher tile shows a message indicating that the permission set is current. If it
doesn’t, click Create Permissions.
d. Assign two permission sets to the site users who need access to the work capacity page: Field Service Community Dispatcher
License and Field Service and Community Dispatcher Permissions.
9. To show rule violations on the Gantt in the Experience Cloud site, share the Work Capacity work type rule.
a. Add the dispatcher console to your Experience Builder site. See Add the Field Service Dispatcher Console to an Experience Builder
Site.
b. From the App Launcher, find and select Work Rules and share the Work Capacity work rule with the partner community user.
SEE ALSO:
Work Rule Type: Work Capacity
215
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
216
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
USER PERMISSIONS
217
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
218
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
7. Select the days of the week to which the limitation applies. Select at least one day.
8. If the limit override policy is set per limit in Field Service Settings define the override policy for this limit..
• Leave empty for no limit override.
• Enter 0 for the relaxation to start at midnight on the day of service.
• Enter a positive integer to set the limit override to start this number of hours after midnight on the day of service (maximum 23
hours).
• Enter a negative integer to set the limit override to start this number of hours before midnight on the day of service (maximum
336 hours, 14 days).
If the limit override policy isn’t set per limit in Field Service Settings, this value is ignored.
When you deactivate or delete a WCL, all WCU records related to future dates are deleted. The Field Service core
features, managed
To show the Work Capacity Usages list view, from the App Launcher, find and select Work Capacity
package, and mobile app
Usages.
are available in Enterprise,
The Work Capacity Usages list view includes the currently active WCLs. It shows the service Unlimited, and Developer
appointment limit criteria and the time consumed in hours and minutes. If Average Travel Time Editions.
(in minutes) is defined for the service territory, consumption includes travel time.
This view lets you compare the planned limit versus actual scheduled consumption per service
territory, day, and type of work. From the WCU list view, you can change the daily limit. You can also change the daily limit from the
WCU object via API, the WCU form, and the Summary tab daily view. You can only update the daily limit if service appointments are
scheduled for this date. You can’t update the daily limit if the limit is overridden, or not enforced. If the limit changes in the WCL object,
any changes you made via the WCU object are overridden. Changes made to the daily limit in the WCU object don't change the WCL
object.
219
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Note: The availability service also considers the default policy set in Field Service Settings Dispatcher Console UI.
When work capacity availability calculations are enabled, a Work Capacity Availability record is created for service territories with defined
work capacity limits for each day in the configured time horizon.
To show the Work Capacity Availabilities list view, from the App Launcher, find and select Work Capacity Availabilities.
The list view shows the daily availability in minutes and in hours for all service territories that have defined limits in the time horizon (the
default is 30 days). For example, if WCLs exist for New York and Miami, 60 availability records are shown.
220
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
2. From Setup, in the Quick Find box, enter Field Service Settings, and then select Field Service Settings.
3. Under Availability Considerations:
a. To always include overtime as available time, select Include Overtime.
b. Choose whether to include only primary members or both primary and secondary members of the service territory. If you consider
secondary members, their time isn’t exclusively available for the selected service territory.
221
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
6. Enter the number of days ahead to calculate availability for (the maximum is 90 days).
7. Save your changes.
To access the Summary view, from the App Launcher, find and select Work Capacity, and then select the Summary tab.
The Actions menu (1) provides direct access to:
222
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
223
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
224
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
SEE ALSO:
Build a Dashboard
Limitations
• Consumption calculation doesn’t support these features:
– Multiday work.
– Service appointments longer than 24 hours.
225
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
• When Allow definition of work capacity limits is turned off in the admin settings, WCL and WCU data is still saved in Field Service
but isn’t accessible to users. To maintain data integrity, disable all active WCLs before turning off this setting, and enable them after
the setting is turned on.
• Records of work capacity usage are limited to 2,500 per day.
• You can define Work Capacity Limits (WCLs) by hours or percentage. If you define the work capacity limit by percentage but the
availability can’t be calculated (for example, because of a long time horizon), the limit in hours can’t be calculated and isn’t shown
in the Summary view. Because the services (for example, appointment booking) use the hours limit, the limit can’t be enforced.
• The Limit, Usage, and Availability tabs accessed from Work Capacity via the Work Capacity tab show only 30 records and can’t be
filtered or searched. Go to the out-of-the-box list views to see the full list.
• Don’t change the limitation units. If needed create another WCL.
• You can edit and save the out-of-the-box reports or use the Save as option and create a customized report.
• Special characters aren’t supported for service appointment field values when the service appointment field is of a string data type.
• Profiles created in Summer ’23 and later have full access to the out-of-the-box Work Capacity Limit object. Reduce the access
permissions of users with these profiles if they’re not needed.
• Restoring the Work Capacity Limit and Work Capacity Usage objects isn’t supported.
• If the availability of a WCA record is reduced to zero (for example, if all resources were deactivated), the availability calculation job
doesn’t update the record’s availability value. Scheduling-related services aren't affected because the resources aren’t available.
• If a service resource included in availability calculations has one or more secondary service territory memberships, but no primary
service territory membership, the availability calculation fails.
Appointment Insights (Beta) Helps you understand why service appointments can’t be
scheduled and shows what changes you can make to qualify
more time slots and candidates for scheduling.
Enhanced Optimization per Enables you to deploy enhanced scheduling and optimization
Territory at the territory level. Define for each territory whether to use
Enhanced Scheduling and Optimization. By moving the territories
with simpler scheduling scenarios to use Enhanced Scheduling
and Optimization, you keep the more complex scenarios for later
releases, when all the service territory features are supported.
This gradual rollout reduces risk and provides focused support
to those territories where the new functionality has been enabled.
226
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Feature Description
Fix Schedule Overlaps Automated Flow Addresses what happens to your schedule during resource schedule optimization to
(Beta) resolve schedule overlaps that occur due to an appointment ending late. Use the flow
template recommendations or adjust the template to suit your specific use case.
Flexible Breaks Add multiple breaks to availability-based work rules. Flexible break times are calculated
at the start of each work day. Set a break duration and a time window for when the break
must occur relative to the start of the resource’s day. Optimization can then schedule
appointments and break times.
Holiday Management Account for holiday closures. Refine your working hours by updating operating hours so
that service appointments aren’t scheduled on holidays.
Keep Scheduled Keep service appointments with certain values on the schedule. During optimization, or
when scheduling or booking appointments, these service appointments aren’t dropped
and can be moved to a different time slot or service resource.
Offsite Appointments Indicates whether an appointment can be done remotely, with no travel time added to
the schedule. For example, work such as remote technical assistance, filling out reports,
or renewal of health and safety certification can be done from anywhere.
Optimization Hub Shows the improvements that optimization makes to the scheduling of service
appointments across multiple territories in one unified hub.
Optimization Request Files (Beta) Quickly retrieve the request and response files of an optimization request. Review the
files in a JSON file format to find out what happened to a specific request and to resolve
related issues.
Optimization Request Owner Shows which user who initiated the global, in-day, or resource schedule optimization
request or who configured the scheduled job. The Owner field in the optimization request
lets service managers easily identify the user involved, providing insights into scheduling
and optimization actions. This functionality facilitates system tracking, troubleshooting,
and traceability.
Same Site Objective Ensures that a minimal number of mobile workers visit the same location by having the
optimization services group service appointments located at the same site. Use the Same
Site service objective to prefer that jobs get scheduled together while considering all
other objectives and KPIs.
Schedule Across Multiple Time Zones Add operating hours on secondary service territories in various time zones to maximize
resource availability. For example, a mobile worker can service adjacent cities in different
time zones. Or, a service resource can provide technical assistance from a call center to
New York, Tel Aviv, London, and Sydney.
Scheduled Jobs Enables you to better manage the volume of your optimization runs by setting up
scheduled jobs that run separately for defined groups of service territories. Scheduled
jobs gives you more control over when and how often a job runs. To avoid setting up
overlapping optimization requests when you’re using enhanced scheduled jobs, make
sure Enable optimization overlaps prevention is selected in Field Service Settings.
Service Appointment Sliding Enables you to free up time for a new service appointment when using appointment
booking and scheduling operations. Service appointments on the Gantt can move for
the same resource to an earlier or later time, within the resource’s shift.
227
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Feature Description
Service Appointment Reshuffling and Enables you to free up time for a new service appointment when using appointment
Support for High-Over-Low Prioritization booking and scheduling operations. Service appointments on the Gantt can move to an
earlier or later time for the same resource within the resource’s shift, to another day for
the same resource, or to a different resource. In addition, when Schedule over lower
priority appointment is selected on the service appointment, a lower or equal priority
appointment can be dropped from the Gantt.
Skill Preference Objective Identifies the best-qualified candidates when optimizing your schedule. Use the Skill
Preference service objective to find candidates with a skill of a certain skill type that reflects
the service appointment's skill preferences. For example, a service appointment requires
a caregiver who speaks English or Spanish but the preferred choice is Spanish.
Travel Modes Enhances predictive travel by providing more accurate travel time predictions and
improving the completion rate of service appointments. By leveraging different types of
travel modes, admins define the travel mode per territory, per primary service territory
member, or both, to reflect transportation type (car, light truck, heavy truck, bicycle, or
walking), the use of toll roads, and hazmat considerations.
Travel Time Buffer Adds a buffer to your estimated travel time to account for additional arrival time
considerations like unloading technical gear, walking time in a building complex, or
finding parking. You can define this at the org and territorial levels.
Work Capacity Limits Control the work performed by your workforce according to dynamic company priorities.
Limit the number of hours or percentage of the available work capacity on certain days
for specific service territories according to the value of a specific service appointment
attribute.
Review the scheduling and optimization services available with Enhanced Scheduling and Optimization.
Note: These tables list only the main services and features available in Enhanced Scheduling and Optimization. Features listed
as unavailable are on the roadmap for later releases.
Bulk Schedule
Emergency Wizard
228
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Keep Scheduled
Schedule
Dynamic Gantt
Fix Overlaps
Group Nearby
Optimization Services
Optimization services improve schedule quality by fixing non pinned rule-violating service appointments. If no valid schedule for these
appointments exists, these service appointments are unscheduled at the end of the optimization process. Pinned service appointments
remain in place during optimization.
In-day optimization
Transparency Services
229
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Optimization Hub
Work Rules
Work rules refine the list of candidates for a service appointment by rejecting service resources that don’t match the rule. Add work rules
to a scheduling policy to guide schedule optimization.
230
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Excluded Resources
Match Boolean
Match Fields
Match Skills
Required Resources
231
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Visiting Hours
Working Territories (for secondary • Scheduling outside working hours can result
territories) in a rule violation.
Service Objectives
A service objective is a scheduling goal or target. You can weigh service objectives to prioritize one over another. Each appointment
assignment has a score of 0 to 100 for each service objective based on how fully the objective is met. The highest-scoring assignments
are preferred. A scheduling policy can have one or more service objectives.
Preferred Resource
Resource Priority
Same Site
232
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Skill Level
Skill Preference
Complex work
Crews
SEE ALSO:
Get Started with Schedule Automation and Optimization in Field Service
Adopt and Implement Field Service Enhanced Scheduling and Optimization
Set Up Enhanced Optimization for Field Service Territories
233
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Enhanced Scheduling and Optimization must be enabled to start using its features. As of Summer ’23, new Salesforce orgs have Enhanced
Scheduling and Optimization enabled by default for all service territories. Existing orgs can opt in and enable the enhanced engine for
all or selected service territories. The enhanced engine is an improvement of the optimization functionality and associated manual and
semiautomatic scheduling services you’ve been using. The enhanced architecture and services are more efficient and improve scalability,
performance, and schedule quality. Make sure you examine the Enhanced Scheduling and Optimization considerations and limitations
before using the enhanced engine.
Note: Enhanced Scheduling and Optimization uses point-to-point predictive routing regardless of the travel time calculation
preferences set in the Routing section of Field Service Settings.
1. From Setup, in the Quick Find box, enter Field Service, and then select Field Service Settings.
2. Select Field Service Enhanced Scheduling and Optimization and then save your changes.
Note: Turning on Field Service Enhanced Scheduling and Optimization also turns on Field Service Integration.
234
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
SEE ALSO:
Enable Field Service
Install the Field Service Managed Package
Assign Field Service Permissions
Create Field Service Permission Sets
Set Up Enhanced Optimization for Field Service Territories
Set Up Routing for Travel Time Calculations
Transition to Enhanced Scheduling and Optimization
235
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Feature CONSIDERATIONS
Activate Field Service schedule When you’re using Enhanced Scheduling and Optimization, this
optimization activation isn’t required, because Enhanced Scheduling and
Optimization uses a Platform Integration User. See Adopt and
Implement Field Service Enhanced Scheduling and Optimization
for guidance on how to enable Enhanced Scheduling and
Optimization.
Activate Field Service Schedule Optimization.
Avoiding Apex CPU timeouts Guidelines for Avoiding Apex CPU Timeouts in Field Service
In-day optimization The in-day optimizer run-time differs if you're using Enhanced
Scheduling and Optimization.
Optimize Today’s Field Service Schedule
236
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Feature CONSIDERATIONS
Managing optimization conflicts Manage Optimization Conflicts
Match Boolean work Rule When you’re using Enhanced Scheduling and Optimization, if the Boolean field on the
service resource is empty, the rule isn’t applied.
Work Rule Type: Match Boolean
Match Fields work rule Match Fields work rules are supported for schedule optimization only when you’re using
Enhanced Scheduling and Optimization. Also, empty fields are handled differerently if
you’re using Enhanced Scheduling and Optimization.
Work Rule Type: Match Fields
Match Skills work rule The Match Skills work rule includes an additional Skill Type Logic: At Least One Skill
Matches (OR).
Work Rule Type: Match Skills
Match Time work rule Match Time work rules with custom date/time fields are fully supported for schedule
optimization only when you’re using Enhanced Scheduling and Optimization.
Work Rule Type: Match Time Rule
Monitoring the progress of an optimization When you view the progress of an optimization request from the Gantt, the percentage
request completed isn’t shown if you’re using Enhanced Scheduling and Optimization.
Monitor Field Service Schedule Optimization Requests
Optimization Insights Optimization Insights isn’t available if you’re using Enhanced Scheduling and Optimization.
Use the Optimization Hub instead.
Gain Visibility into Optimizations with Field Service Optimization Insights
Optimize Field Service appointments using Optimize Field Service Appointments Using Priorities
priorities
Optimizing rule-violating appointments When you’re not using Enhanced Scheduling and Optimization, rule-violating service
appointments can’t be optimized. When you’re using Enhanced Scheduling and
Optimization, the engine can find an acceptable schedule for rule-violating service
appointments or drop these appointments from the schedule.
Optimization Horizon
Reservet time sots for designated types of Reserve Time Slots for Designated Types of Work
work
Resource absences Review the travel routing considerations for resource absences with no address.
Create Service Resource Absences for Field Service
237
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Feature CONSIDERATIONS
Resource Schedule Optimization If you select to only schedule appointments assigned to the service resource, the
appointments considered for scheduling during optimization process differ if you’re using
Enhanced Scheduling and Optimization.
Optimize a Single Field Service Resource’s Schedule
Scheduled optimization jobs When you set up a scheduled optimization job, the user interface and features differ if
you’re using Enhanced Scheduling and Optimization.
Manage Scheduled Jobs in Field Service
Scheduling recipes Scheduling recipes aren’t available when using Enhanced Scheduling and Optimization,
which uses the Fix Schedule Overlaps automated flow instead.
Create Scheduling Recipes for Common Events
Scheduling service crews When you’re using Enhanced Scheduling and Optimization, a minimum crew size of 1
requires a crew, and the skill set considerations differ if you enable resource crew skill
grouping.
Considerations for Scheduling Service Crews
Service aAppointment Visiting Hours work Work Rule Type: Service Appointment Visiting Hours
rule
Service Crew Resources Availability work You can define a maximum number of additional service resources when you’re using
rule Enhanced Scheduling and Optimization.
Work Rule Type: Service Crew Resources Availability
Service Resource Availability work rule Work Rule Type: Service Resource Availability
Service resource efficiency Resource efficiency is rounded up when you’re using Enhanced Scheduling and
Optimization.
Estimate a Service Resource’s Efficiency
Service territory operating hours and visiting Guidelines for Creating Operating Hours for Field Service
hours
Travel mode in the dispatcher console map You can view a service resource’s travel profile in the map’s route details pane in the
dispatcher console if you’re using Enhanced Scheduling and Optimization.
View a Field Service Resource’s Daily Travel Route
Travel time on the Gantt Travel time to the next appointment is shown on the Gantt before the lunch break.
238
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Feature CONSIDERATIONS
Using relevance groups in work rules and Support for relevance groups can be different if you're using Enhanced Scheduling and
service objectives Optimization.
Create Relevance Groups
SEE ALSO:
Field Service Limits and Limitations
Limits and Limitations for Enhanced Scheduling and Optimization
Note: If you
set up a
recurring
schedule that
runs every x
minutes,
multiple Apex
scheduled jobs
are created
accordingly. For
example, if you
239
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Maximum service appointments optimized per rolling 24 hours 50,000 The limit is the greater of 50,000
Only global, in-day, and resource or 500 per Field Service
schedule optimization requests Scheduling licence. All types of
count toward this limit. scheduling actions count toward
this limit, for example, Gantt
scheduling, get candidates,
appointment booking, and
global, in-day, and resource
scheduling optimization request
types.
Nonoptimization scheduling
actions, for example, the
Schedule action, contribute only
one toward this count (the
appointment that's being
scheduled).
Limitations
Before using Enhanced Scheduling and Optimization, make sure you review some limitations.
Note: Enhanced Scheduling and Optimization uses processes and information that aren’t locally primed. A callout is used to
trigger a requested service and retrieve information. If DML occurs before the callout, it causes an exception, for example, an
Uncommitted Work Pending error. To avoid an exception, ensure that DML is completed in a separate transaction.
Separate DML Transactions
Callouts aren’t permitted when an uncommitted transaction is pending. When you’re retrieving available time slots or scheduling an
appointment, if a DML statement was executed before the service is called, an exception is raised. You must first commit or roll back
before calling out.
This exception is also raised when you use the standard engine and not Enhanced Scheduling and Optimization, specifically when a
callout occurs to calculate travel time and either street-level routing or point-to-point predictive routing is enabled. In this scenario, the
exception isn’t raised when Avoid aerial calculation upon callout DML exception is disabled in the Field Service Settings, because travel
time reverts to aerial routing calculation. This setting isn't relevant when you're using Enhanced Scheduling and Optimization, because
a callout is always performed.
You can avoid the exception.
240
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
• Perform any required DML operations in a separate transaction before calling Enhanced Scheduling and Optimization. Consider
creating an Apex REST API endpoint that performs the DML operations, which can be called from Apex code.
• Utilize a flow, performing the DML operations in the steps before calling Enhanced Scheduling and Optimization as an invocable
action. The action element has advanced settings that allow you to configure the action to be executed as part of a new transaction.
These settings aren’t supported for autolaunched flows.
See Splitting transactions to enable the use of Enhanced Scheduling and Optimization.
Scheduling and Optimization
• The Objective Calculation explanation is missing for Get Candidates and Appointment Booking.
• Scheduling a service appointment outside of a resource’s working hours using drag and drop results in a rule violation. Travel time
to and from the service appointment isn’t calculated, and other rules aren’t validated.
• Travel time to and from a resource absence created outside of a resource’s working hours isn’t calculated.
• Scheduling a service appointment partially outside working hours can result in a Match Territory rule violation.
• Scheduling over a lower-priority appointment isn't supported by Enhanced Scheduling and Optimization.
• When all the service appointments for a day are optimized and then unscheduled, utilization isn’t shown accurately on the Gantt.
Utilization is updated again when appointments are scheduled.
• The Calculate travel and breaks option in the Routing section of Field Service Setting isn’t supported. Enhanced Scheduling and
Optimization always calculates travel time and breaks.
• The Objects Scheduled field of the optimization request isn’t populated when you’re using Enhanced Scheduling and Optimization.
However, the Scheduled Service Appointments data field is populated in the Scheduled Service Appointments section of the
Optimization Hub.
• If you have an implementation that uses resource efficiencies, enhanced optimization can result in overlaps if service appointments
are pinned, or unscheduling of appointments if unpinned (since there isn't enough space in the schedule). This is because Enhanced
Scheduling and Optimization rounds up the service appointment duration.
• Enhanced Scheduling and Optimization can’t schedule a service appointment exactly at the start time of a lunch break (the time set
in the Break Start field in the Resource Availability work rule). When you're using Appointment Booking, the scheduling engine
doesn’t return this time slot, and when you manually schedule the service appointment on the Gantt, the appointment overlaps
with the lunch break. We recommend that you schedule the service appointment for a minute before or after the break start. For
Appointment Booking, set the time slot in the Appointment Booking operating hours to start a minute before or after the break.
• During optimization, trigger results are updated in a batch with a maximum CPU time of 60 seconds, because the transition is
asynchronous. When using Enhanced Scheduling and Optimization, this CPU time is reduced to 10 seconds, because the transaction
is synchronous. To improve the trigger performance, optimize the logic developed in Apex Triggers on the Service Appointment
and Resource Absence object. Consider moving logic to run as part of an asynchronous process, for example, Queueable Apex.
Contact Salesforce Customer Support to optimize the batch size that is used to write the results back to Salesforce.
• A scheduled path in a record-triggered flow doesn’t always work with optimization when Enhanced Scheduling and Optimization
is enabled. In this case, the optimization updates are done by the platform integration user who has a session-based permission set
that isn't active during the scheduled path’s execution. To grant this user the necessary permission, clone the Field Service Integration
241
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
permission set, disable the Session Activation Required option, and then save. Then assign this permission set to the platform
integration user. You can add more permission sets to this user if it’s necessary.
• Enhanced Scheduling and Optimization uses the Platform Integration User, which uses the Cloud Integration User license. Some of
your customizations and product OOTB features can be impacted due to this limitation. You must add all the custom fields used in
rules and objectives to the Field Service Integration permission set before you assign the rule or objective to a scheduling policy.
We recommend you check that all your customizations and product OOTB features have the required access and are working as
designed. Add permissions to the Platform Integration User as required. When using Calendar sync with Enhanced Scheduling and
Optimization enabled, Dispatched service appointments must be in a pinned status.
• 24-hour operating hours coverage isn't supported for mobile workers.
• If you’re using Enhanced Scheduling and Optimization, when service resource efficiencies are used and applied to the duration of
the service appointment assignment, the engine rounds up duration values to the nearest minute. If you’re not using Enhanced
Scheduling and Optimization, the engine rounds down to the nearest minute.
• When you create or modify resource absences or modify scheduled service appointments, the horizon of the request is limited to
30 days. For example, if you create a resource absence in February and a resource absence in April in the same transaction, travel
time and lunch breaks aren’t created or updated.
• If a dispatcher manually schedules a service appointment or resource absence during an overlapping time, and the remaining time
isn’t long enough for the actual travel to or from home, no appointments can be scheduled for the resource for that day.
• If the engine schedules a lunch break after a service appointment, and you manually schedule another service appointment where
the travel time overlaps with the lunch break, the lunch break moves to the earliest start time and overlaps with the travel time. The
rule violation is shown on the service appointment that you manually scheduled causing the violation, and not on the service
appointment that overlaps with the break.
• The maximum number of service territories you can select for a group (per request) for enhanced scheduled jobs is 200.
• Enhanced Scheduling and Optimization doesn't properly handle multiday work that starts or ends during nonworking hours at a
time when travel at the resource's expense is allowed. Such cases can result in incorrect overlapping violations and inaccurate travel
times.
Service Appointments and Service Resources
• When two working shifts or time slots are defined for a resource on the same day, each shift or time slot is considered as if it's a
different "day", such that it includes the resource traveling to and from the home base.
• Snapping (scheduling using ctrl/cmd + drag and drop) a service appointment to a resource absence isn’t supported and doesn’t
change the schedule.
• When manually scheduling a multiday service appointment using drag and drop, the scheduled start time must be within a valid
timeframe for the duration to be calculated correctly. For example, if the multiday service appointment is scheduled to start when
the service resource isn't available (during a non-availability shift, resource absence, or lunch break), then the multiday service
appointment duration isn't calculated accurately to account only for working hours.
• The combination of multiday scheduling and complex work isn’t supported. If a multiday service appointment is part of a scheduling
dependency, its scheduled end date isn’t calculated when the appointment is scheduled.
• When using Enhanced Scheduling and Optimization, utilization on the Gantt doesn’t consider multiday service appointments.
SEE ALSO:
Field Service Limits and Limitations
242
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Note: All service appointment territories and service resource territories within the same
optimization request, bulk schedule action, or any batch process that updates service
appoinments, must use the same optimization engine. A notification is shown when you’re
running bulk operations such as global optimization with different territory optimization
settings, because it can’t be determined which optimization engine to use.
Before you set up Enhanced Optimization per Territory, make sure that you meet these requirements.
• Field Service is enabled.
• The latest version of the Salesforce Field Service managed package is installed.
• Enhanced Scheduling and Optimization is enabled.
The operation you’re performing determines the selected optimization engine.
• For service appointment operations (Drag and Drop, Get Candidates, Schedule, Unschedule, and Check Rules), the associated territory
of the appointment determines the optimization engine.
• For global optimization operations, the selected territory determines the optimization engine.
• For resource absence operations (Drag and Drop, create new, and delete), the resource’s associated territory member determines
the optimization engine.
SEE ALSO:
Get Ready for Field Service Scheduling and Optimization
Enable Enhanced Scheduling and Optimization
Transition to Enhanced Scheduling and Optimization
243
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
8. When you’re using the Enhanced Scheduling and Optimization engine, the way a schedule is
built can differ from how a schedule is built when you aren’t using this engine. To avoid
misalignments in the schedule due to scheduling with different engines, pin the service appointments scheduled for the next day,
and then unschedule all appointments from the following day onwards so that the Gantt is empty.
9. Run optimization using the enhanced optimization engine, or reschedule all service appointments.
Note: We recommend unscheduling and rescheduling the service appointments during off-hours to avoid the possibility of
double-booking.
SEE ALSO:
Limits and Limitations for Enhanced Scheduling and Optimization
Limitations for Enhanced Optimization per Territory
Set Up and Run Enhanced Optimization Jobs
Transition to Enhanced Scheduling and Optimization
244
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
• If there are customizations that update these fields in a single process or transaction, all the service appointments within that process
must be associated with service territories configured to use the same optimization engine: ServiceAppointment.SchedStartTime,
ServiceAppointment.SchedEndTime, and AssignedResource.ServiceResource.
• Service appointments assigned in territories enabled for Enhanced Scheduling and Optimization can be scheduled only to resources
whose primary territory is also enabled to use Enhanced Scheduling and Optimization.
• Resources with multiple primary territories, where each territory is set for a different date, must have all territories assigned to the
same optimization engine.
SEE ALSO:
Limits and Limitations for Enhanced Scheduling and Optimization
Set Up Enhanced Optimization for Field Service Territories
245
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
246
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Make equipment and assets available for scheduling. Create Service Resources Admin • Communication,
for Field Service Media, and
Technology
• Education
• Energy and Utilities
• Engineering and
Construction
• Financial Services
• Healthcare and Life
Sciences
• Manufacturing and
Automotive
• Retail and Consumer
Goods
• Travel, Transport, and
Hospitality
Make sure service resources who work together are Set Up Crew Admin • Communication,
scheduled as a group (crews). Management Media, and
Create Service Crews Technology
• Education
Create Service Resources
for Field Service • Energy and Utilities
• Engineering and
Construction
• Financial Services
• Healthcare and Life
Sciences
• Manufacturing and
Automotive
247
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
248
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
249
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Define nonstandard hours that a service resource can Manage Field Service Admin • Communication,
be scheduled work. Shifts Media, and
Technology
• Education
• Energy and Utilities
• Engineering and
Construction
• Financial Services
• Healthcare and Life
Sciences
• Manufacturing and
Automotive
• Retail and Consumer
Goods
• Travel, Transport, and
Hospitality
Prevent service resources from being assigned work Add Holidays to Admin • Communication,
when they’re not supposed to work, for example, Operating Hours Media, and
during a public holiday. Technology
Work with Resource
Absences • Education
Work Rule Entry: Service • Energy and Utilities
Resource Availability • Engineering and
Construction
• Financial Services
• Healthcare and Life
Sciences
• Manufacturing and
Automotive
• Retail and Consumer
Goods
250
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Define where work occurs and make Work Rule Type: Admin • Communication,
sure that the service resource travel Extended Match Media, and
time is accurately calculated using Technology
geolocation information.
• Education
251
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Mark service appointments as offsite so that service Schedule Appointments Admin • Communication,
resources can perform work remotely. Without Travel Media, and
Technology
• Education
• Energy and Utilities
• Engineering and
Construction
• Healthcare and Life
Sciences
• Manufacturing and
Automotive
• Retail and Consumer
Goods
• Travel, Transport, and
Hospitality
Specify the duration of the work. Guidelines for Creating Admin • Communication,
Work Types for Field Media, and
Service Technology
• Education
• Energy and Utilities
• Engineering and
Construction
• Financial Services
• Healthcare and Life
Sciences
• Manufacturing and
Automotive
252
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Create work that spans across multiple days. Enable Multiday Field Admin • Communication,
Service Appointments Media, and
Technology
• Education
• Energy and Utilities
• Engineering and
Construction
• Financial Services
• Healthcare and Life
Sciences
• Manufacturing and
Automotive
• Retail and Consumer
Goods
• Travel, Transport, and
Hospitality
253
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
254
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Schedule several service appointments from the Schedule Appointments Dispatcher • Communication,
dispatcher console. from the Dispatcher Media, and
Console Technology
Create and Manage Map • Education
Polygons • Energy and Utilities
Manage Field Service • Engineering and
Optimization Construction
Optimize Today’s Field • Healthcare and Life
Service Schedule Sciences
Optimize a Single Field • Manufacturing and
Service Resource’s Automotive
Schedule • Retail and Consumer
Goods
• Travel, Transport, and
Hospitality
255
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Optimize the schedule and fix schedule violations Manage Field Service Admin • Communication,
such as schedule overlaps, and gaps. Scheduling Overlaps Media, and
Fix Overlaps by Using an Technology
Automated Scheduling • Energy and Utilities
Flow (Beta) • Engineering and
Fill Schedule Gaps in Field Construction
Service • Financial Services
Manage Field Service • Healthcare and Life
Optimization Sciences
Optimize Today’s Field • Manufacturing and
Service Schedule Automotive
Make sure that travel time calculations are accurate. Set Up Routing for Travel Admin • Communication,
Time Calculations Media, and
Technology
256
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Visualize work priorities, types of jobs, statuses, and Work in the Field Service Dispatcher • Communication,
due dates, and manage exceptions, for example, Dispatcher Console Media, and
service appointments that are awaiting an action Technology
from the dispatcher, or marked In Jeopardy and aren’t Work in the Field Service
Dispatcher Console Gantt • Education
canceled.
Color-Code the Gantt • Energy and Utilities
Schedule work that’s geographically close together Set Up Field Service Admin • Communication,
by bundling service appointments or grouping Appointment Bundling Media, and
appointments located at the same site, for example, Technology
deliveries in an apartment complex. Create and Manage Field
Service Objectives • Education
• Energy and Utilities
• Financial Services
• Healthcare and Life
Sciences
• Manufacturing and
Automotive
• Retail and Consumer
Goods
257
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Schedule work to myself (field resource Customize and Extend Admin • Communication,
self-assignment). the Field Service Mobile Media, and
App with Lightning Web Technology
Components • Education
• Energy and Utilities
• Engineering and
Construction
• Financial Services
• Healthcare and Life
Sciences
• Manufacturing and
Automotive
• Retail and Consumer
Goods
• Travel, Transport, and
Hospitality
Define the hours that my customer is available for Work Rule Type: Service Admin • Communication,
work to be performed at their location. Appointment Visiting Media, and
Hours Technology
Guidelines for Creating • Education
Operating Hours for Field • Energy and Utilities
Service • Financial Services
• Healthcare and Life
Sciences
• Manufacturing and
Automotive
• Retail and Consumer
Goods
• Travel, Transport, and
Hospitality
Fix the schedule for one service resource when Optimize a Single Field • Communication,
last-minute developments occur like canceled jobs, Service Resource’s Media, and
lateness, or emergencies. Schedule Technology
Fix Overlaps by Using an • Education
Automated Scheduling • Energy and Utilities
Flow (Beta)
258
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Schedule interdependent or related jobs to multiple Create Service Crews Admin • Communication,
service resources. Media, and
Set Up Crew
Management Technology
• Education
Complex Work in Field
Service • Energy and Utilities
• Engineering and
Construction
• Financial Services
• Healthcare and Life
Sciences
• Manufacturing and
Automotive
• Travel, Transport, and
Hospitality
Make sure that service appointments occur in a Complex Work in Field Admin • Communication,
specific sequence. Service Media, and
Technology
• Education
• Energy and Utilities
• Engineering and
Construction
• Financial Services
• Healthcare and Life
Sciences
• Manufacturing and
Automotive
• Retail and Consumer
Goods
259
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Limit the number of service appointments that a Work Rule Type: Count Admin • Communication,
service resource is assigned in 1 day. Rule Media, and
Technology
• Energy and Utilities
• Engineering and
Construction
• Healthcare and Life
Sciences
• Manufacturing and
Automotive
• Retail and Consumer
Goods
• Travel, Transport, and
Hospitality
Define service resource preferences for customers Add Service Resource Admin • Communication,
and specific jobs. Preferences in Field Media, and
Service Technology
• Energy and Utilities
• Engineering and
Construction
• Healthcare and Life
Sciences
• Manufacturing and
Automotive
• Retail and Consumer
Goods
• Travel, Transport, and
Hospitality
260
Salesforce Field Service Get Ready for Field Service Scheduling and Optimization
Limit the amount of work that can be scheduled in Manage Work Capacity in Admin • Communication,
a service territory to reserve capacity for unplanned Field Service Media, and
or other work. Technology
Set Up Field Service Work
Capacity • Education
• Energy and Utilities
• Engineering and
Construction
• Financial Services
• Healthcare and Life
Sciences
• Manufacturing and
Automotive
• Retail and Consumer
Goods
• Travel, Transport, and
Hospitality
Automate dispatching of work to mobile workers. Drip Feed Field Service Admin • Communication,
Appointments Media, and
Auto-Dispatch Service Technology
Resources • Education
• Energy and Utilities
• Engineering and
Construction
• Financial Services
• Healthcare and Life
Sciences
• Manufacturing and
Automotive
• Retail and Consumer
Goods
261
Salesforce Field Service Set Up Field Service Appointment Bundling
262
Salesforce Field Service Set Up Field Service Appointment Bundling
– Flexibility—The mobile worker can perform the service appointments in any sequence. You can add or remove service
appointments from the bundle if needed.
– Better tracking—If a meter can’t be accessed, it can be skipped without being forgotten because the system marks the individual
service appointment as incomplete.
– Economies of scale—In our example, the mobile worker unlocks the utility room only one time, unless returning for incomplete
bundle members.
Meter reading is only one example of how bundling service appointments can improve the efficiency of a schedule. Other scenarios
include:
• Same customer scheduling—Bundle together all the service appointments of a single customer. The customer is pleased because
a single mobile worker arrives at a single time to perform all the services.
• Same site scheduling—Bundle together all the service appointments in a large office building, even if they are for different
customers. The mobile worker saves time by traveling, parking, and passing the building security only one time.
• Out-of-town scheduling—Bundle together all the service appointments for an out-of-town job. For example, a Chicago-based
organization has several appointments in Cleveland. Bundle together all the Cleveland appointments and schedule the bundle to
a single mobile worker. The mobile worker can then stay overnight in Cleveland until all the service appointments are complete.
• Scheduling similar tasks—Bundle together service appointments of a similar type. For example, an organization prefers to assign
a single mobile worker to perform all its network-related service appointments on a single day.
SEE ALSO:
Salesforce Developer: Appointment Bundling
263
Salesforce Field Service Set Up Field Service Appointment Bundling
USER PERMISSIONS
To add permissions:
• Manage Profiles and
Permission Sets
• Field Service Integration: Required for accessing the Hyperforce appointment bundling
services.
Note: If the Field Service Integration card doesn’t appear, contact Salesforce Customer Support.
4. If your org has processes that use create, update, and delete actions for the Work Orders, Service Appointments, or Skills objects,
enable object permissions.
a. From Setup, in the Quick Find box, enter Users, and then select Permission Sets.
b. Click Field Service Integration.
c. Under Apps, click Object Settings.
d. Click the required object.
e. Click Edit.
f. Enable these permissions.
264
Salesforce Field Service Set Up Field Service Appointment Bundling
5. If you use Experience Builder sites, add the appointment bundling custom permissions also to the Field Service Community Dispatcher
permission set. Experience Site users don’t have the Bundle Policy field in the service appointment’s Bundle tab. See Appointment
Bundling Limitations.
265
Salesforce Field Service Set Up Field Service Appointment Bundling
Sort Type Sort Within a Bundle The default sort policy defines the order of
bundle members in the bundle.
266
Salesforce Field Service Set Up Field Service Appointment Bundling
Due Date Earliest due date of all bundle member The bundle service appointment’s due date
service appointments is pulled from the earliest due date of the
bundle member service appointments.
Duration Sum of the duration of the bundle member The bundle service appointment’s duration
service appointments is equal to the sum of all bundle member
service appointments’ duration.
Earliest Start Permitted Latest start time of all bundle member The bundle service appointment’s earliest
service appointments start permitted is pulled from the latest start
of the bundle member service
appointments.
Service Territory Copied from one of the bundle member The bundle service appointment’s service
service appointments territory field is pulled from one of the
bundle member service appointments.
Skill Requirements (in Work Order) Sum of the skills of the bundle member The bundle service appointment’s work
service appointments, without duplication order lists the skills of all bundle member
service appointments.
If the skills are updated in a bundle member
service appointment after the bundle is
created, the skills aren’t aggregated to the
bundle service appointment. Update the
267
Salesforce Field Service Set Up Field Service Appointment Bundling
Note: The default configuration of the Service Territory and Address fields don’t appear in the list of default aggregation policies.
Bundle Statuses to Propagate All statuses are selected. The status of bundle member
service appointments is always
overridden by the status of the
bundle service appointment.
268
Salesforce Field Service Set Up Field Service Appointment Bundling
• Cannot Complete
• If at least two service appointments can be bundled The Field Service core
• Split by service territories that are part of the bundle policy features, managed
package, and mobile app
• Without service appointments that have scheduling dependencies are available in Enterprise,
• For Automated Bundling, if the time between the Earliest Start Permitted and the Due Date of Unlimited, and Developer
the service appointments overlaps with a 7-day period that starts at the time of the scheduled Editions.
automatic bundling process. For example, if the Earliest Start Permitted of a service appointment
is before the start of the 7-day period and the Due Date is after the end of the 7-day period, it
USER PERMISSIONS
can still be added to the bundle.
For Live Bundling, if the time between the Earliest Start Permitted and the Due Date of the To set up automatic
service appointments overlaps with a 2-day period that starts at the time of the scheduled bundling:
automatic bundling process. For example, if the Earliest Start Permitted of a service appointment • Customize Application
is before the start of the 2-day period and the Due Date is after the end of the 2-day period, it
can still be added to the bundle.
• In the service appointment details of the created bundle, the Manually Bundled field is deselected. If you manually update the service
territory of the bundle or of one of the bundle members after the bundle was automatically created, the Manually Bundled field is
selected and the bundle isn’t considered for automatic bundling processes.
It’s recommended to configure restriction policies for the Earliest Start Permitted and Due Date fields. That way, the automatic bundling
process doesn’t fail because of service appointments that have an earlier due date than the earliest start permitted.
SEE ALSO:
Create an Appointment Bundle Policy
Monitor Optimization Requests
269
Salesforce Field Service Set Up Field Service Appointment Bundling
4. Set up Live Bundling to update or create bundles when service appointments are modified or added to your appointment list.
Live bundling adds bundle members only to bundles that were created with automatic bundling. It doesn’t add bundle members
to bundles that were created manually. If a bundle member is manually removed from a bundle, live bundling doesn’t add it to the
same bundle again.
a. Turn on Live Bundling.
b. Define the frequency of the updates, from 5 to 15 minutes.
c. Click Apply.
Service appointments are reconsidered for Live Bundling when you update any of these fields.
• Service Territory
• Due Date
• Early Start
• Status
• Pinned
270
Salesforce Field Service Set Up Field Service Appointment Bundling
e. To check the start time of the flow, edit the Start element and change it as needed. The time is set according to the Automated
Process user’s time zone.
f. The email is sent to the first admin user, according to alphabetical order. To change the recipient of the email, edit the Send
Email element, and in the Recipient Address List, enter one or more email addresses.
g. Activate your version of the flow.
2. Dispatchers can see the status of automatic bundling requests by clicking the light bulb in the Dispatcher Console. Automatic
bundling requests can also be monitored in the Optimization Requests tab. Automated bundling requests that didn’t manage to
run aren’t monitored. If the automatic bundling optimization requests don’t appear, take these steps.
a. From the object management setting for Optimization Requests, go to Fields & Relationships.
b. Search for and open the Type field.
c. If you’re using a new Salesforce org, activate the Automated Bundling and Live Bundling picklist values. If you’re using an upgraded
Salesforce org, create the Automated Bundling and Live Bundling picklist values.
271
Salesforce Field Service Set Up Field Service Appointment Bundling
Appointment Bundle Aggregation Policy Determines on which group of service The Field Service core
appointments the aggregation applies. features, managed
package, and mobile app
Appointment Bundle Config Determines in which criteria a bundle is are available in Enterprise,
automatically unbundled. Unlimited, and Developer
Editions.
Appointment Bundle Policy Determines which service appointments can
be bundled using this policy.
USER PERMISSIONS
3. For Filtered Object, select Service Appointment.
To create recordset filter
4. Select Active. criteria:
Considerations: • Customize Application
• Inactive recordset filter criteria aren’t supported. See Appointment Bundling Limitations.
• All service appointment fields used in recordset filter criteria must be enabled in the Field Service Integration permission set.
SEE ALSO:
Create Filters to Match Appointments and Shifts
Create an Appointment Bundle Aggregation Policy
Create an Appointment Bundle Config
Create an Appointment Bundle Policy
272
Salesforce Field Service Set Up Field Service Appointment Bundling
273
Salesforce Field Service Set Up Field Service Appointment Bundling
c. For Limit Duration of Bundle, enter the maximum duration of a bundle, in minutes. The recommended limit is 240 minutes.
Note: The Limit Amount of Bundle Members and Limit Duration of Bundle fields are relevant only for automatic bundling,
not for manual bundling.
7. For Filter Criteria, select an active recordset filter to determine the bundle members. Only the service appointments that meet the
criteria are bundled.
8. To make sure that enough time is allocated for the bundle, calculate the difference between the bundle’s start time and the bundle’s
end time. If that amount of time is shorter than the bundle’s duration, replace the duration with a predefined constant value.
a. Under Duration Calculation, select Time Calculation by Bundle Duration Field.
b. For Bundle Start Time Field Name, select the bundle service appointment field used for the bundle’s start time.
c. For Bundle End Time Field Name, select the bundle service appointment field used for the bundle’s end time.
d. For Constant Time Value, enter the bundle's total time as a constant value, in minutes.
Note: Don’t create triggers that update fields in any of the Appointment Bundling policies. If your configuration includes these
triggers, you must delete them and apply a different configuration solution. For example, if you have a trigger that calculates
duration, delete the trigger and create an aggregation duration downscale policy instead.
274
Salesforce Field Service Set Up Field Service Appointment Bundling
SEE ALSO:
Appointment Bundling Limitations
Default Appointment Bundle Policy
Create Appointment Bundle Aggregation Duration Downscales
a. From Setup, in the Quick Find box, enter Users, and then select Permission Sets. The Field Service core
features, managed
b. Click Field Service Integration.
package, and mobile app
c. Click Object Settings. are available in Enterprise,
d. Click Service Appointment. Unlimited, and Developer
Editions.
e. For each custom field, select Read Access.
8. For Sort Order, determine in which order the sort policy is triggered. For example, enter 1 to trigger this policy first.
9. Save your changes.
275
Salesforce Field Service Set Up Field Service Appointment Bundling
Example: A mobile worker must read all the water meters on a long street. According to the default sort policy, the worker must
complete the appointments in ascending order according to their due date, without considering the house numbers. To save
time, let the mobile worker complete all appointments on one side of the street before continuing to the other side.
1. Create a custom numeric field for the house number.
2. Create a numeric formula field that differentiates between odd and even house numbers. If the house number is even, leave
it as is. If the house number is odd, multiply the number by −1.
IF(MOD( HouseNumber__c,2)=0, HouseNumber__c, -1*HouseNumber__c)
3. Create restriction policies for the City and Street fields, meaning that all bundle members must be in the same city and on the
same street.
4. Create a sort policy for the numeric formula field that you created. Set the policy to sort the bundle members in ascending
order. For example, on a street with 10 houses, the appointments are now sorted in this order: −9, −7, −5, −3, −1, 2, 4, 6, 8,
10.
SEE ALSO:
Create an Appointment Bundle Restriction Policy
Default Appointment Bundle Policy
276
Salesforce Field Service Set Up Field Service Appointment Bundling
6. To allow bundling service appointments that have an empty restriction field with service appointments that have a value in the
restriction field, select Allow Empty.
7. To apply this restriction with manual bundling, select Restrict in Manual Mode.
8. If the Restriction Field Name is of type Date/Time, you can restrict the bundle based on the calendar date rather than the time of
day by selecting Restrict by Date Only.
9. To apply this restriction to automatic bundling, select Restrict in Automatic Mode.
10. Save your changes.
SEE ALSO:
Default Appointment Bundle Policy
a. From Setup, in the Quick Find box, enter Users, and then select Permission Sets. The Field Service core
features, managed
b. Click Field Service Integration.
package, and mobile app
c. Click Object Settings. are available in Enterprise,
d. Click Service Appointment. Unlimited, and Developer
Editions.
e. For each custom field, select Read Access and Edit Access.
b. Complete the remaining fields according to the type of field selected in Bundle Member Field Name.
Propagation Configurations
Configure your propagation policies according to the selected Bundle Member Field Name type.
277
Salesforce Field Service Set Up Field Service Appointment Bundling
Propagation Configurations
Configure your propagation policies according to the selected Bundle Member Field Name type.
Constant Value: Enter True or False Replace the checkbox selection in the bundle member service
appointments according to the entered constant value of true or
false.
Add Constant Value: Select the checkbox Check the setting in the bundle service appointment and the
AND entered Constant Value. If one of them is False, set the checkbox
in the bundle member service appointments to False.
Constant Value: Enter True or False
Constant Date Value: Select Null, Now, End of Day, or Start of Replace the bundle member service appointments’ date field value
Day with the selected Constant Date Value.
Add Constant Value: Select the checkbox Take the selected Constant Date Value, add the entered Additional
AND Constant Value, and populate the selected bundle member service
appointments’ field with this value.
Constant Date Value: Select Null, Now, End of Day, or Start of
Day
AND
Additional Constant Value: Enter the number of days, hours, and
minutes
Constant Value: Enter text Replace the bundle member service appointments’ field value with
the entered ID.
278
Salesforce Field Service Set Up Field Service Appointment Bundling
Note: Unsupported lookup fields don’t appear in the list of fields for selection.
Constant Value: Enter a number Replace the bundle member service appointments’ field value with
the entered Constant Value.
Add Constant Value: Select the checkbox Add the bundle service appointment’s field value to the bundle
AND member service appointments’ field value.
Constant Value: Enter a picklist value Replace the bundle member service appointments’ field value with
the entered Constant Value.
Constant Value: Enter text Replace the bundle member service appointments’ field value with
the entered Constant Value.
279
Salesforce Field Service Set Up Field Service Appointment Bundling
SEE ALSO:
Create an Appointment Bundle Config
a. From Setup, in the Quick Find box, enter Users, and then select Permission Sets. The Field Service core
features, managed
b. Click Field Service Integration.
package, and mobile app
c. Click Object Settings. are available in Enterprise,
d. Click Service Appointment. Unlimited, and Developer
Editions.
e. For each custom field, select Read Access and Edit Access.
b. Select an aggregation action that works with the type of field selected for the bundle’s target field.
c. Complete the remaining fields according to the type of field selected for the bundle’s target field.
280
Salesforce Field Service Set Up Field Service Appointment Bundling
Aggregation Configurations
You can create a custom aggregation for any bundle service appointment field.
Aggregation Configurations
You can create a custom aggregation for any bundle service appointment field.
Apply AND operation Source Field If the selected bundle member field’s value
for all bundle members is set to true, set the
selected bundle field’s value to true. If not,
set it to false.
Set constant value Constant Value—Enter True or False Ignore the values of the bundle member’s
field, and set the selected bundle’s field to
this value (true or false).
Has at least one bundle member in filter Recordset Filter Criteria If at least one bundle member meets the
criteria recordset filter criteria, set the selected
bundle’s field value to true. If not, set it to
false.
Find latest Source Field Find the bundle member that has the latest
date in the selected bundle member field,
and enter this date in the selected bundle
field.
Set constant value Constant Date Value—Select Null, Now, Ignore the values of the bundle member’s
End of Day, or Start of Day field, and set the selected bundle’s field to
this constant value (Null, Now, End of Day,
or Start of Day).
281
Salesforce Field Service Set Up Field Service Appointment Bundling
Subtract based on bundle fields • Source Field Take the selected bundle field’s value,
subtract the entered constant value, and
• Constant Value—in hours
enter this date in the selected bundle field.
OR
OR
• Source Field
Take the selected bundle field’s value,
• Additional Source Field (must be a subtract the additional bundle field’s value,
numeric field in hours) and enter this date in the selected bundle
field.
Find maximum Source Field Find the bundle member that has the
highest ID, and enter this value in the
selected bundle field.
Set constant value Constant Value—Enter an ID Enter this ID in the selected bundle’s field.
Note: Unsupported lookup fields don’t appear in the list of fields for selection.
Find maximum Source Field Find the bundle member that has the
highest numeric value, and enter this value
in the selected bundle field.
282
Salesforce Field Service Set Up Field Service Appointment Bundling
Set downscaled duration • Downscale Sorting Direction 1. Sort the bundle members according to
You can apply this action to any numeric • (Optional) Maximum Bundle Duration the selected source field in the direction
field, not just duration fields. defined in the Downscale Sorting
• Source Field
Direction field.
• At least one Appointment Bundle
Aggregation Duration Downscale form 2. Take the bundle members in the range
(see Create Appointment Bundle defined by the From Bundle Member
Aggregation Duration Downscales) Number and To Bundle Member
Number fields (in the Appointment
Bundle Aggregation Duration
Downscales form).
3. Calculate the reduction applied to each
bundle member according to the
Percentage of Reduction field.
4. For each bundle member, compare the
result to the Max Reduction field.
• If the max reduction is higher,
reduce the result of the Percentage
of Reduction calculation from the
duration of the bundle member.
• If the max reduction is lower, reduce
the value of the Max Reduction field
from the duration of the bundle
member.
Subtract based on bundle fields • Source Field Take the selected bundle field’s value,
subtract the entered constant value, and
• Constant Value
enter this number in the selected bundle
OR field.
• Source Field OR
283
Salesforce Field Service Set Up Field Service Appointment Bundling
• Additional Source Field (must be a Take the selected bundle field’s value,
numeric field in hours) subtract the additional bundle field’s value,
and enter this number in the selected
bundle field.
Sum based on bundle fields • Source Field Take the selected bundle field’s value, add
the entered constant value, and enter this
• Constant Value
number in the selected bundle field.
OR
OR
• Source Field
Take the selected bundle field’s value, add
• Additional Source Field (must be a the additional bundle field’s value, and enter
numeric field in hours) this number in the selected bundle field.
Sum based on bundle members • Source Field Sum the values of the selected bundle
member field, and enter this number in the
• (Optional) Constant Value
selected bundle field.
OR
Add the constant value to each bundle
member’s field value, sum the values, and
enter this number in the selected bundle
field.
Count Bundle Members in Filter Criteria Recordset Filter Criteria Count how many bundle members answer
the recordset filter criteria, and enter this
number in the selected bundle field.
Find maximum Source Field Find the bundle member that has the
highest alphabetic or numeric value, and
enter this value in the selected bundle field.
Set constant value Constant value—According to the values Use the entered constant value for the
in this field’s picklist selected bundle field’s value.
284
Salesforce Field Service Set Up Field Service Appointment Bundling
Intersect Source Field Take only the values from the bundle
member field that appear in all of the
bundle members, and list them in the
bundle’s field.
Unite Source Field Take all the values from the bundle
member’s field and list them in the bundle’s
field.
Note: If the skills are updated in a bundle member service appointment after the bundle is created, the skills aren’t aggregated
to the bundle service appointment. Update the bundle service appointment’s skills manually.
Find maximum Source Field Find the bundle member that has the
highest alphabetic value, and enter this
value in the selected bundle field.
285
Salesforce Field Service Set Up Field Service Appointment Bundling
Sum based on bundle members • Source Field List the values of the selected bundle
member field in the selected bundle field.
• (Optional) Allow the same value to
To allow the same value to appear more
appear more than once
than once, select Allow the same value
to appear more than once.
Appointment Bundling Limitations:
• Make sure that the length of the string
field can contain enough values to
populate the bundle service
appointment field. From Setup, open
the Object Manager. Click Service
Appointment, and then click Fields &
Relationships. Edit the length under
Text Options.
• If you select to allow the same value to
appear more than once, make sure that
the field’s configuration settings support
it. From Setup, open the Object
Manager. Click Service Appointment,
and then click Fields & Relationships.
Edit the relevant field, and deselect Do
not allow duplicate values.
Sum based on bundle fields • Source Field Take the selected bundle field value, add
the additional bundle field value, and enter
• Additional Source Field
this value in the selected bundle field.
OR
OR
• Constant Value
Take the entered constant value, add the
• Additional Source Field additional bundle field value, and enter this
value in the selected bundle field.
SEE ALSO:
Create an Appointment Bundle Config
Default Appointment Bundle Policy
286
Salesforce Field Service Set Up Field Service Appointment Bundling
Example: A printer maintenance company must fix multiple printers in the same office building. For the first service appointment,
the mobile worker needs time for parking, passing the building’s security clearance, organizing the tools, and then fixing the
printer. But when the mobile worker gets to the second service appointment, they can go straight to fixing the printer. In this
scenario, to get a better estimate of the bundle’s duration, configure the downscaling to start from the second bundle member.
Note: If you define aggregation duration downscales where the service appointments overlap and include Max Reduction values,
it can lead to inaccurate results. See Appointment Bundling Limitations.
287
Salesforce Field Service Set Up Field Service Appointment Bundling
Note: The bundle config must match the configured Status Transitions. See Customize the Available in: both Salesforce
Service Appointment Life Cycle. Classic (not available in all
orgs) and Lightning
1. From the App Launcher, open Appointment Bundle Configs. Experience
If you don’t see Appointment Bundle Configs in the App Launcher:
The Field Service core
a. From Setup, in the Quick Find box, enter Users, and then select Profiles. features, managed
package, and mobile app
b. On the Salesforce admin profile, click Edit.
are available in Enterprise,
c. From Profile Detail, click Edit. Unlimited, and Developer
d. Under Tab Settings, set the bundle tabs to Default On. Editions.
USER PERMISSIONS
To create items:
• Customize Application
2. On the Appointment Bundle Configs page, edit the default bundle configuration.
3. Under General Settings:
a. Give the bundle a unique name.
b. Select the statuses in which you can add or remove service appointments from a bundle. If you don’t select any statuses,
appointments with any status can be added or removed from a bundle. We recommend selecting at least the None and
Scheduled statuses.
c. To add travel time between the bundle member service appointments to the bundle’s duration according to their sort order,
select Add travel time to bundle duration.
288
Salesforce Field Service Set Up Field Service Appointment Bundling
Considerations:
• Travel time is added only if the bundle member service appointments include coordinates and the travel speed is set. To
make sure the values are set for travel speed unit and default travel speed, open Field Service Settings, select Scheduling,
and then select Routing.
• The entered default travel speed is used for calculating the travel time between bundle member service appointments, even
if travel speed is specified for the service resources assigned to the service appointments.
• The distance between the service appointments is based on aerial distance.
• Travel time between the bundle member service appointments is also affected by the service resource’s efficiency. See
Appointment Bundling Limitations.
Example: A service resource is assigned to a bundle that includes two service appointments of two hours each and a travel
time between them of one hour. If the service resource doesn’t have a defined efficiency, the duration of the bundle is 2 hr
(service appointment A) + 1 hr (travel time) + 2 hr (service appointment B) = 5 hr. If the service resource has a defined
efficiency of 0.5, the duration of the bundle is: 1 hr (service appointment A) + 0.5 hr (travel time) + 1 hr (service appointment
B) = 2.5 hr.
5. Under Status Transition Settings, select which bundle service appointment statuses to add or not propagate.
6. Save your changes.
289
Salesforce Field Service Set Up Field Service Appointment Bundling
USER PERMISSIONS
To manage bundles:
• Field Service Dispatcher
To update configuration:
4. In the Bundle Appointments window, select Create bundle, and then select a bundle policy. • Customize Application
Indicates that the appointment is a bundle service appointment. When the bundle is scheduled, the icon also appears on the
Gantt.
290
Salesforce Field Service Set Up Field Service Appointment Bundling
• Gantt—If all the service appointments in the bundle are scheduled, assigned to the same resource, and on the same day, the bundle
is scheduled on the Gantt. If not, the bundle must be scheduled.
• Bundle tab of the bundle service appointment’s details window—If an Appointment Bundle Sort Policy is defined, the service
appointments are sorted according to the policy. If an Appointment Bundle Sort Policy isn’t defined, the service appointments are
sorted according to their due date in ascending order.
• Service Appointments tab—Shows the bundle information related to each bundle service appointment and bundle member service
appointment. This information can’t be edited.
The Bundle Information fields can’t be selected to display in a list view. See Appointment Bundling Limitations
291
Salesforce Field Service Set Up Field Service Appointment Bundling
• For string aggregations with the Sum Based on Bundle Members action, make sure that the length of the string field can contain
enough values to populate the bundle service appointment field.
See Create an Appointment Bundle Aggregation Policy.
Bundle policies
• The Allow Scheduling Dependencies in Bundle field isn’t supported.
• You can create more than one service territory policy for a bundle policy, but it isn’t recommended. The dispatcher can only bundle
together service appointments with the same service territory in the same time zone. If you define more than one service territory
for a bundle policy, make sure that the enhanced scheduling and optimization setting in all the service territories matches. If the
setting is enabled in one service territory and disabled in another, the bundles created with the bundle policy can’t be updated.
• You can delete a bundle policy even if it’s already in use. However, you can’t perform actions on a bundle that was created using
that policy, such as add or remove bundle members or unbundle a bundle.
• Custom fields for service appointments used in bundle policies must have read access.
See Create an Appointment Bundle Policy.
Localization
If you change the API name of the None status after enabling Appointment Bundling, you must refresh the cache. To refresh the cache,
edit and save your Bundle Config or any bundle policy.
Optimization
A scheduled path in a record-triggered flow doesn’t always work with optimization when Enhanced Scheduling and Optimization is
enabled. In this case, the optimization updates are done by the platform integration user who has a session-based permission set that
isn't active during the scheduled path’s execution. To grant this user the necessary permission, clone the Field Service Integration
permission set, disable the Session Activation Required option, and then save. Then assign this permission set to the platform integration
user. You can add more permission sets to this user if it’s necessary.
Propagation policies
Custom fields for service appointments used in aggregation policies must have read and edit access. See Create an Appointment Bundle
Propagation Policy.
292
Salesforce Field Service Setting Field Service Key Performance Indicators
Restriction policies
Custom fields for service appointments used in sort policies must have read access. See Create an Appointment Bundle Restriction Policy.
Scheduling
Bundle member service appointments can’t be part of complex work with scheduling dependencies. See Create a Field Service Bundle
Manually.
Sort policies
Custom fields for service appointments used in sort policies must have read access. See Create an Appointment Bundle Sort Policy.
Travel time
• Travel time between the bundle member service appointments is also affected by the service resource’s efficiency.
• When you unbundle a bundle that includes travel time, the line that indicates travel between service appointments doesn’t appear
on the Gantt.
See Create an Appointment Bundle Config.
293
Salesforce Field Service Setting Field Service Key Performance Indicators
Reduce Costs
To reduce costs, consider the following:
• Faster time to invoice: By giving mobile workers a digital notice through their app, job completion is confirmed from their mobile
device, and customers are invoiced faster.
• Flow of processes: Optimize field service with a simple flow of processes that require minimal effort through field service automation.
294
Salesforce Field Service Set Up for Product Warranties in Field Service
• Job status: Mobile workers log updates before, during, and after appointments to give dispatchers a real-time view of job status and
effectively create planning journeys.
295
Salesforce Field Service Set Up Field Service Asset Availability and Reliability Reporting
SEE ALSO:
Track Availability and Reliability in Field Service
296
Salesforce Field Service Set Up Field Service in Experience Cloud Sites
a. From Setup, enter Digital Experiences in the Quick Find box, then select All Sites.
b. Select Builder next to the site whose guest users need access to work orders.
c. In the left-hand panel, click Settings, and then click the name of the guest user profile.
d. In the Standard Object Permissions section, configure access to work orders and save your changes.
Note: Linked articles, which are knowledge articles attached to supported field service records, aren’t supported in Experience
Builder sites.
SEE ALSO:
Set Up and Manage Experience Cloud Sites
Objects Supported by Out-of-the-Box Components and Pages in Experience Builder Templates
Visualforce Page Component
Field Service Objects
Guidelines for Setting Up Field Service Contractors
297
Salesforce Field Service Set Up Field Service in Experience Cloud Sites
b. Click New Page at the bottom of the Pages menu. The Field Service core
features, managed
c. Click Standard Page, and follow the prompts to create your page. Give it a helpful name,
package, and mobile app
like Dispatcher Console.
are available in Enterprise,
d. Assign the page a one-column layout. Unlimited, and Developer
Editions.
e. From the Components menu, drag a Visualforce Page component to the Content section
of the page. Set the component’s properties as follows:
• VF Page name: vf001_ServiceExpert USER PERMISSIONS
• Height: Any value (we suggest 800 pixels) To create, customize, or
• Record ID: Leave unchanged—{!recordId} publish an Experience Cloud
site:
f. Open the navigation menu and add a menu item. Use the following settings: • Create and Set Up
Experiences AND View
• Name: Any value (for example, Dispatcher Console) Setup and Configuration
• Type: Community Page
To create a permission set:
• Page: Select the page you created earlier • Manage Profiles and
Permission Sets
g. In the Members section, select the Field Service Community Dispatcher Permissions to be
To assign a permission set
allowed in the site.
license:
h. Publish your changes. • Manage Users
2. Give site users access to the new dispatcher console page. To use the dispatcher
console in a site:
a. Confirm that the site users who need access to the dispatcher console have a Partner • Partner Community
Community user license. license and Field Service
Dispatcher permission
b. Confirm that a service territory has been created for the contractor. For details, see Guidelines
set license
for Setting Up Field Service Contractors.
c. Create the site dispatcher permission sets. From the App Launcher, find and open the Field
Service Admin app, and then click Field Service Settings. Then, click Getting Started > Permission Sets.
d. Find the Field Service Community Dispatcher tile. Confirm that the tile shows a message indicating that the permission set is
current. If it doesn’t, click Create Permissions.
e. Assign two permission sets to the site users who need access to the dispatcher console:
• Field Service Community Dispatcher License permission set
• Field Service Community Dispatcher Permissions permission set
298
Salesforce Field Service Set Up Visual Remote Assistant for Field Service
Note: Site dispatchers can’t access the complex work feature—for details, see Complex Work in Field Service—or Live Gantt
updates.
SEE ALSO:
Customize the Field Service Dispatcher Console
Work in the Field Service Dispatcher Console Gantt
SEE ALSO:
Track Availability and Reliability in Field Service
299
Salesforce Field Service Set Up Visual Remote Assistant for Field Service
• Customers launch the visual session in a mobile web browser by clicking a link sent to them via SMS, email or in a digital
communications platform message.
• Visual Remote Assistant works even on low or variable bandwidth connections to preserve the visual session.
If you’re a Salesforce admin or a Salesforce implementer, these instructions and reference resources are for you. Follow the sections in
sequence to ensure optimal use of Visual Remote Assistant for superior customer experience. Consider involving additional stakeholders
who are in charge of new systems implementations.
Install Visual Remote Assistant
To use the Visual Remote Assistant, install the managed package. See Install a Package.
To configure Visual Remote Assistant with other Salesforce products, see Visual Remote Assistant for Salesforce.
Note: Make sure to select the All Users option in the installation package.
Note: To use Visual Remote Assistant, you must provide your own internet or package of data and phone line. Neither are included
in the managed package.
SEE ALSO:
Admin Manual: Visual Remote Assistant
Agent Manual
Installation & Configuration Manual
Product Description
Security & Privacy Document
Trailhead: Visual Remote Assistant
300
Salesforce Field Service Set Up After Field Service Sandbox Refresh
301
Salesforce Field Service Report on Field Service
302
Salesforce Field Service Report on Field Service
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
303
Salesforce Field Service Report on Field Service
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.
304
Salesforce Field Service Report on Field Service
305
Salesforce Field Service Manage Data Integration Rules for Field Service
Note: 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.
Note: 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.
306
Salesforce Field Service Manage Data Integration Rules for Field Service
GeocodeAccuracy The accuracy of the latitude and longitude. This field contains one
of the following values, listed in order from most to least accurate:
• Address: In the same building
• NearAddress: Near the address
• Block: Midway point of the block
• Street: Midway point of the street
• ExtendedZip: Center of the extended ZIP code area
• Zip: Center of the ZIP code area
• Neighborhood: Center of the neighborhood
• City: Center of the city
• County: Center of the county
• State: Center of the state
• Unknown: No match for the address was found (for instance,
the address is invalid)
Note: Because Google Maps is restricted in China, Field Service features that depend on Google Maps don’t work there.
Note: If bulk geocoding is turned off for a data integration rule, deactivating or reactivating the rule doesn't 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 for New Data 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.
307
Salesforce Field Service Set Up Salesforce Labs Field Service Dashboards
SEE ALSO:
Track Service Resource Geolocation with the Field Service Mobile App
308
Salesforce Field Service Set Up Salesforce Labs Field Service Dashboards
This dashboard displays metrics - such as products needed and consumed, and overall performance for each type of work.
309
Salesforce Field Service Set Up Salesforce Labs Field Service Dashboards
This dashboard displays information on how products are consumed and used, and by work order types.
310
Salesforce Field Service Set Up Salesforce Labs Field Service Dashboards
This dashboard focuses on the work performance of resources and additional work order metrics.
Download
To download the dashboards, click Get It Now on the the Field Service Dashboards page on AppExchange.
SEE ALSO:
AppExchange: Installing Packages
Reports and Dashboards
311
Salesforce Field Service Einstein for Field Service
312
Salesforce Field Service Einstein Generative AI for Field Service
4. Assign the permission set to Field Service Einstein users and admin users. The Field Service core
features, managed
5. (For mobile users) Enable access to Lightning web components.
package, and mobile app
a. From Permission Sets, click New. are available in Enterprise,
b. For Label, enter the name of the permission set, for example, Einstein for Field Unlimited, and Developer
Editions. Einstein for Field
Service Mobile.
Service features are
c. Click the API Name field to populate it. available in Einstein 1 Field
d. For License, select Field Service Mobile. Service Edition.
313
Salesforce Field Service Einstein Generative AI for Field Service
4. If the Pre-Work Brief flow doesn’t run, check the fields used in the flow.
a. Review the list of objects and fields used in the flow. See Pre-Work Brief and Your Data on page 317.
b. From Setup, go to the Object Manager tab.
314
Salesforce Field Service Einstein Generative AI for Field Service
5. Add the Pre-Work Brief Prompt Template ID field to the page layout.
a. From Object Manager, open the Work Order object.
b. Click Page Layouts and open the layout that’s assigned to the mobile workers.
c. Add the Pre-Work Brief Prompt Template ID field to the layout.
d. Save your changes.
e. Open the layout that’s assigned to the admin user and add the Pre-Work Brief Prompt Template ID field to the layout.
f. Save your changes.
g. From the Work Order object, click Fields & Relationships.
h. Click Pre-Work Brief Prompt Template ID.
i. Click Set Field-Level Security.
j. For the profile of the user who is assigning prompt templates, select Visible.
6. In the work order, enter the ID of the prompt template in the Pre-Work Brief Prompt Template ID field. To find the ID, from Prompt
Builder, open the prompt template and look at the URL. The ID is located after the phrase EinsteinPromptStudio. For example, if the
URL is
https://testcom98.test1.my.pc-rnd.salesforce-setup.com/lightning/setup/EinsteinPromptStudio/0hfSG000001SUFVYA4/edit?c__versionId=3vNSG0000000g8v2AA,
the ID is 0hfSG000001SUFVYA4.
Note: Instead of manually filling in the Pre-Work Brief Prompt Template ID field for every work order, set up flows to fill in the
field for you. See Flow Builder.
7. Ask your mobile workers to pay attention to the brief in the Overview tab of each work order in the Field Service mobile app. The
brief is generated the first time that the mobile worker views the work order when they’re connected to the internet. Mobile workers
can also provide feedback about the brief.
315
Salesforce Field Service Einstein Generative AI for Field Service
• Add an element for a custom field that’s used in your Salesforce org.
5. To modify the prompt, from the flow, open the Add Pre-Work Brief Prompt Instructions element. Remove instructions that aren’t
relevant to you, or add instructions according to your business needs. For example, consider adding one of these instructions.
• Make sure that the brief is no longer than 200 words.
• Present the brief in bullet points.
Note:
• Add examples for what you expect the brief to look like.
• Avoid telling the prompt to always include a specific field. If the value is missing, generative AI can hallucinate and give
you inaccurate results.
7. In the work order, for Prompt Template, enter the prompt template ID. To find the ID, from Prompt Builder, open the prompt template
and look at the URL. The ID is located after the phrase EinsteinPromptStudio. For example, if the URL is
https://testcom98.test1.my.pc-rnd.salesforce-setup.com/lightning/setup/EinsteinPromptStudio/0hfSG000001SUFVYA4/edit?c__versionId=3vNSG0000000g8v2AA,
the ID is 0hfSG000001SUFVYA4
8. If you have various scenarios to address, set up more than one variation of the flow. For example, to create a different type of brief
for emergency appointments:
a. Save another version of the flow and make your changes.
b. From Prompt Builder, create a prompt template for emergency appointments. For Resource, select the flow that you created
for emergency appointments.
c. In the work order, for Prompt Template, enter the emergency appointments prompt template ID.
316
Salesforce Field Service Einstein Generative AI for Field Service
Note: This tool uses generative AI, which is known to include inaccurate or harmful responses. Before using, review the output
for accuracy and safety. You assume responsibility for the output when making business decisions.
Note: You can see this data in the Field Service Pre-Work Brief prompt template in Prompt Builder.
Case (by ID) • Comments The record where the agent defines the
details of the issue as provided by the
• Description
customer.
• Priority
• Reason
• RecordTypeId
• Subject
• Type
317
Salesforce Field Service Einstein Generative AI for Field Service
• Name
Service Appointment (by ID) • Address Details about the specific job. A work order
can have multiple service appointments.
• AppointmentNumber
• Description
• Duration
• SchedEndTime
• SchedStartTime
• ServiceNote
• Status
• Subject
• WorkTypeId: Description, Name
Work Order (by ID) • Address The main object that holds information
about the work that is required.
• Description
• Duration
• EndDate
• ID
• Priority
• StartDate
• Status
• Subject
• WorkOrderNumber
Work Order Line Item (based on Work Order • Description Detailed information about the work that
ID) needs to be done.
• LineItemNumber
• Priority
• WorkOrderId (Parent Work Order)
Work Plans (based on Work Order Line Item • Description A process that defines the work in steps.
or Work Order)
• ExecutionOrder
• Name
318
Salesforce Field Service Einstein Generative AI for Field Service
Work Step (based on link to Work Plan) • ActionType The steps of the work plan.
• Description
• ExecutionOrder
• Name
• ParentRecordId
• Status
• StartTime
• WorkPlanId
SEE ALSO:
Einstein Generative AI
Trusted Generative AI
319
Salesforce Field Service Einstein Copilot for Field Service
320
Salesforce Field Service Einstein Copilot for Field Service
USER PERMISSIONS
321
Salesforce Field Service Einstein Copilot for Field Service
c. Ask Einstein a question and make sure that you get an answer.
322
Salesforce Field Service Einstein Copilot for Field Service
Post-Work Summary for Field Service (Beta) Helps mobile workers generate a • Identify Record by Name
comprehensive report of their work orders
• Summarize Record
for them. You can also set up a flow that
populates the Post-Work Summary field on • Refine Post-Work Summary for Field
the work order for the mobile workers. Service
Action Description
Summarize Service Appointment Notes Creates a summary of service appointment notes based on status
category, start date, and end date. The scheduled, or actual, start
and end times are checked to make sure that they fall within the
specified date range. If a date range isn’t provided, the agent action
considers appointments for the past 6 months for the provided
status category.
To use this action, create a topic and add the action to it. See Create
a Custom Topic.
Output objectApiNames For each object name, a list of matching Salesforce object API names is returned.
Identify Record by Name: Searches for Salesforce CRM records by name and returns a list of matching Salesforce CRM record IDs.
Input objectApiName This input is used along with the recordName input to best match the CRM record that the user
referenced in the prompt. It’s possible that the Identify Record by Name action calls the Identify
323
Salesforce Field Service Einstein Copilot for Field Service
Output searchResults If the output includes multiple results, they’re ranked in order of relevance.
Summarize Record: Summarizes a Salesforce CRM record. You must call summarizeRecord only if the user explicitly asks for a summary
(for example, 'Summary', 'Recap', or 'Highlights'). Call this action only when you can’t find a more specific summarization action.
SEE ALSO:
Explore Standard Agent Topics and Actions
324
Salesforce Field Service Einstein Copilot for Field Service
Note: Consider the limitations of an LLM when developing your custom action use cases. Einstein generative AI is
Generative AI results can vary. For example, LLMs struggle with mathematical operations. If available in Lightning
Experience. Setup for
you’re building a custom action that performs mathematical operations, consider using a
Einstein generative AI is
preexisting field, formula field, flow, or Apex to do the math and then return the results to
available in Lightning
the prompt.
Experience.
325
Salesforce Field Service Einstein Copilot for Field Service
USER PERMISSIONS
326
Salesforce Field Service Einstein Copilot for Field Service
327
Salesforce Field Service Einstein Copilot for Field Service
11. This step isn’t required, but it’s a recommended practice to ensure that the flow can handle imperfect input and provide clear error
messages. From the Toolbox, click New Resource.
a. For Resource Type, select Formula.
b. For API Name, enter formulaValidateDate.
c. For Description, enter Validates the date.
d. For Data Type, select Boolean.
e. For Formula, enter:
REGEX({!inputNeedDateText},
'((?:19|20)\\d\\d)-(0?[1-9]|1[012])-([12][0-9]|3[01]|0?[1-9])')
12. This step isn’t required, but it’s a recommended practice to ensure that the flow can handle imperfect input and provide clear error
messages. From the Toolbox, click New Resource.
a. For Resource Type, select Formula.
b. For API Name, enter formulaBadDateOutput.
c. For Description, enter Error message that the user sees if the date isn’t valid.
d. For Data Type, select Text.
e. For Formula, enter:
{!inputNeedDateText} + ' has the wrong format. Enter the date as YYYY-MM-DD and
try again.'
13. This step isn’t required, but it’s a recommended practice to ensure that the flow can handle imperfect input and provide clear error
messages. From the Toolbox, click New Resource.
a. For Resource Type, select Formula.
b. For API Name, enter formulaConvertDate.
c. For Description, enter Converts the date entered by the user to the format used in the
system.
d. For Data Type, select Date.
e. For Formula, enter:
DATEVALUE({!inputNeedDateText})
14. In a sequential flow line without branching, add elements to the flow. Add a Get Records element.
a. For Label, enter Get Product.
b. For Description, enter Retrieves the product item by name passed to the flow.
c. For Data Source, select Salesforce Object
d. For Object, select Product.
e. Fill in the condition requirements.
328
Salesforce Field Service Einstein Copilot for Field Service
Field: Name
Operator: Equals
Value: {!inputProductName}
17. To create a product request based on the flow inputs, add a Create Records elements to the flow.
a. For Label, enter Create Product Request.
b. For How to Set Record Field Values, select Manually.
c. For Object, select Product Request.
d. Add these fields and field values.
Description: Requested by Technician
NeedByDate: inputNeedDate
ShipmentType: Pick Up
Status: Submitted
WorkOrderId: {!Get_Work_Order.Id}
18. To create the required product request line items based on the flow inputs, add a Create Records elements to the flow.
a. For Label, enter Create PRLI.
b. For How to Set Record Field Values, select Manually.
c. For Object, select Product Request Line Item.
d. Add these fields and field values.
329
Salesforce Field Service Einstein Copilot for Field Service
ParentId: {!Create_Product_Request}
Product2Id: {!Get_product.Id}
QuantityRequested: inputQuantity
QuantityUnitOfMeasure: Each
WorkOrderId: {!Get_Work_Order.Id}
19. To retrieve the created product request to pass as output of the flow in the Return the Info assignment, add a Get Records elements
to the flow.
a. For Label, enter Get New Product Request.
b. For Data Source, select Salesforce Object
c. For Object, select Product Request.
d. Fill in the condition requirements.
Field: Id (Product Request ID)
Operator: Equals
Value: {!Create_Product_Request}
20. To retrieve the created product request line items to pass as output of the flow in the Return the Info assignment, add a Get Records
elements to the flow.
a. For Label, enter Get New PRLI.
b. For Data Source, select Salesforce Object
c. For Object, select Product Request Line Item.
d. Fill in the condition requirements.
Field: Id (Product Request Line Item ID)
Operator: Equals
Value: {!Create_PRLI}
330
Salesforce Field Service Einstein Copilot for Field Service
Operator: Equals
Value: formulaOutput
23. To ensure that the input text date is a valid date, add a Decision element at the top of the flow.
a. For Label, enter Is the date format valid?
b. The top outcome is what happens if the date is valid. For Label, enter Yes.
c. Enter these conditions.
Resource: formulaValidDate
Operator: Equals
Value: True
25. In the No branch, add an Assignment element. If the date isn’t valid, the flow returns an error message.
a. For Label, enter Invalid Date.
b. Enter these conditions.
Variable: outputInfo
Operator: Equals
Value: formulaBadDateOutput
331
Salesforce Field Service Einstein Copilot for Field Service
Note: Instructions help your copilot understand when to use a given action. The more specific the instructions are, the better
the action performs and the more reliable results you receive.
9. The action pulls the inputs from the flow that you specified. All you have to do is add the details.
a. For inputNeedDateText, select Collect data from user and enter these instructions.
332
Salesforce Field Service Einstein Copilot for Field Service
This is the date that the product is needed by. Its format is YYYY-MM-DD. If only
the month name is provided, convert this to the last day of that month. If no date
is provided by the user, use the current date plus 7 days. Convert Monday, Tuesday,
Wednesday, Thursday, Friday, Saturday, or Sunday into actual dates, with YYYY-MM-DD
as the format.
b. For inputProductName, select Collect data from user and Require Input. Then, enter these instructions.
This is the product name. It might be referred to as the product, the part, the
item. It might be several words, for example, Small Battery.
c. For inputQuantity, select Collect data from user and enter these instructions.
This is the quantity required. It’s an integer. If no value is provided, then use
1 for the value.
d. For inputWorkOrderNumber, select Collect data from user and Require Input. Then, enter these instructions.
This is the work order number. It might be referred to as the WO or the WO num or
the WO number. It will be in the form of an integer and it may have leading zeroes.
Important: Prepend the number with the necessary zeros to achieve the length of
8 digits.
333
Salesforce Field Service Einstein Copilot for Field Service
4. Search for the product request number to verify that everything went smoothly in the system.
5. Test out the errors by entering an invalid date such as 2025-dfgs-24 and see whether the flow generates an error message.
334
Salesforce Field Service Einstein Copilot for Field Service
335
Salesforce Field Service Einstein Copilot for Field Service
g. Click Done.
USER PERMISSIONS
7. Create a variable for the summary.
a. Click New Resource. To build agent topics and
actions:
b. For Resource Type, select Variable. • Einstein Copilot for
c. For API Name, enter PostWorkSummaryText. Salesforce Admin
d. For Description, enter The summary used for updating the Post-Work
Summary field on the work order.
e. For Data Type, select Text.
f. Select Available for input.
g. Click Done.
336
Salesforce Field Service Einstein Copilot for Field Service
5. Click Next.
6. For Agent Action Instructions, enter Activate this action when you’re asked to save the summary.
7. For the PostWorkSummaryText input, select Require input.
8. For the WorkOrderID input, select Require input.
9. For the WorkOrderID output, select Show in conversation.
10. Click Finish.
Step 3: Add the Action to the Topic and Activate the Agent
1. Add the Post-Work Summary for Field Service (Beta) topic. See Add a Topic from the Asset Library.
2. Edit the topic and add the action that you created. See Edit a Standard Topic.
3. In Agent Builder, click Activate.
337
Salesforce Field Service Einstein Copilot for Field Service
Appointments that are currently in progress Show me all appointments that are in progress.
Appointments for a specific account Show me all appointments that are scheduled
for <account name>.
Example: Show me all appointments that are
scheduled for Ursa Major.
Related appointments of a specific account Show me all service appointments that are
related to <account name>.
Example: Show me all service appointments
that are related to Ursa Major.
338
Salesforce Field Service Einstein Copilot for Field Service
Today’s unscheduled appointments for a specific service type Show me all unscheduled appointments that their due date is
today with the "<service type>" subject.
Example: Show me all unscheduled appointments that their due
date is today with the “repair” subject.
Emergency appointments that are scheduled on a specific date Show me all appointments that are scheduled on <date> with
“emergency”=true
Example: Show me all appointments that are scheduled on June
6 with “emergency”=true
Number of appointments on a specific date How many appointments are scheduled on <date>?
Example: How many appointments are scheduled on June 6?
Number of today’s scheduled appointments in a specific service How many appointments are scheduled for today in the <service
territory territory name> service territory?
Example: How many appointments are scheduled today in territory
San Francisco?
Number of scheduled appointments that were completed on a How many scheduled appointments were completed on <date>?
specific date Example: How many scheduled appointments were completed
on June 5?
Total duration of completed appointments on a specific date What is the total job duration of the scheduled appointments on
<date> that were completed?
What is the total job duration of the scheduled appointments on
June 5 that were completed?
Total duration of completed appointments for a specific service What is the total job duration of the scheduled appointments on
type on a specific date <date> with the "<service type>" subject?
Example: What is the total job duration of the scheduled
appointments on June 5 with the “Installation” subject?
Name of the service resource who is assigned to a specific service Who is the service resource for <service appointment number>?
appointment Example: Who is the service resource for sa-0027?
The scheduled time of a specific service appointment When is <service appointment number> scheduled?
Example: When is sa-0027 scheduled?
339
Salesforce Field Service Field Service Operations Home
The details of my next work order line item Find my next work order line item
This week’s work orders Show me my work orders for the upcoming week
The address of the next scheduled appointment What’s the address of my next service appointment?
The details of the asset that’s relevant to the next appointment What’s the asset for my next appointment?
340
Salesforce Field Service Field Service Operations Home
Unscheduled Downtime To boost operational efficiency, track the unscheduled downtime count based
on the average of Asset Downtime Period records that are categorized as
Unplanned .
Resources Average Travel Time To optimize your resources, track the average time that it takes for an assigned
resource to travel to an appointment.
Resource Utilization Rate To use resources optimally, track the percentage of hours that a resource works
out of their total available hours. Hours worked is the total of all service
appointments, travel time, and breaks compared to resource absences.
Availability is the total operating hours compared to the resource’s time slot
and shifts.
Service First-Time Fix Rate To improve performance, track the percentage of service appointments marked
Appointments as Complete.
Average Appointment Duration To manage your resources effectively, track the average duration of service
appointments marked as Complete. This value is calculated from the Duration
field on service appointments.
On-Time Arrival Rate To track how often appointments start on time, the number of appointments
whose Actual Start time occurs before the Scheduled Start time.
341
Salesforce Field Service Manage Field Service Work Orders
Can’t Complete Service To identify and address obstacles, track the total number of service
Appointment appointments with a status of Cannot Complete.
Unscheduled Service Appointments To proactively manage your schedule, track the total number of unscheduled
service appointments with a status of None.
Work Orders Average Work Order Response Time To keep your workflow efficient, track the average time taken to schedule a
work order after it’s created.
New Work Orders To stay on top of customer needs, track the total number of work orders with
a status of New.
SEE ALSO:
Set Up Work Order Management for Field Service
342
Salesforce Field Service Create Field Service Work Orders
Skill Requirements
USER PERMISSIONS
Products Required
To create work orders:
Auto-creation of a service appointment • Create on work orders
Work Order Line Items Subtasks or steps that must be performed to complete the work order. Line items can be marked
as completed one by one, and can each have their own active service appointment, work type,
and required skills and products. Pricing details like discounts and unit price are set at the line
item level.
Child Work Orders Child records of the work order, which are useful in complex jobs.
Service Appointments Records of visits to the customer. Work orders and work order line items can have multiple service
appointments. To create a service appointment at the same time as the work order, select
Auto-Complete Service Appointment on the associated work type.
Products Required Inventory require to complete the work order. For details, see Track Required Inventory in Field
Service.
Skill Requirements Skills required to complete the work order. For help, see Add Required Skills to Work Orders or
Work Types for Field Service.
343
Salesforce Field Service Create Field Service Work Orders
Resource Preferences Service resource for the work order that’s preferred, required, or excluded. Resource preference
is set based on the resource preference on the work order’s asset, location, or account, in that
order. Salesforce sets the preference using the first resource preference it finds on asset, then
location, then account. If a resource preference exists, Salesforce doesn’t create a new one.
SEE ALSO:
Work Order Fields for Field Service
Customize Work Order Settings for Field Service
Trailhead: Field Service Center Customization
344
Salesforce Field Service Create Field Service Work Orders
345
Salesforce Field Service Create Field Service Work Orders
if she is available. The dispatcher also knows never to assign the account’s service appointments to Nigel.
SEE ALSO:
Work Rule Type: Excluded Resources
Work Rule Type: Required Resources
Create and Manage Field Service Objectives
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: both Salesforce
Adding required skills to work types saves you time and keeps your business processes consistent. Classic (not available in all
Work orders and work order line items inherit their work type’s required skills. For example, a orgs) and Lightning
refrigeration company can add a skill requirement of Refrigerator Maintenance—skill level 50—to Experience
their Annual Maintenance work type. When an agent creates a work order for their customer’s The Field Service core
annual fridge maintenance, selecting that work type on the work order adds the required skill. features, managed
If the Field Service managed package is installed, you can use Guided Setup to add required skills package, and mobile app
to work types. From the App Launcher, find and open the Field Service Admin app, and then click are available in Enterprise,
the Field Service Settings tab. Then, click Go to Guided Setup, select Create Work Types and Unlimited, and Developer
Skills, and enter skills in the Skill Requirements field of any work type. Editions.
You can also add required skills to work orders, work order line items, or work types from the Skill
Requirements related list, outside of Guided Setup. USER PERMISSIONS
1. Navigate to the record that needs required skills. To view skill requirements:
2. In the Skill Requirements related list, click New. • Read on the parent
object (work orders or
3. Select a skill. When you’re not using of Guided Setup, skills must be created before they can be work types) AND Read
added as a requirement; to learn how, see Create Skills for Field Service. on skills
4. Enter a skill level from 0 to 99.99 based on how your business measures skill level.
To create, edit or delete skill
5. Click Save. The skill now appears in the Skill Requirements related list on the record. requirements on work
orders or work order line
You can enforce skill requirements during schedule optimization using the Match Skills work rule. items:
This rule ensures that appointments are assigned only to service resources who possess the required
• Edit on work orders AND
skills listed on the parent record. If you’re not using the Field Service managed package, skill
Read on skills
requirements serve as a suggestion rather than a rule.
To create, edit or delete skill
requirements on work types:
SEE ALSO: • Edit on work types AND
Skill Fields for Field Service Read on skills
Create Skills for Field Service
346
Salesforce Field Service Create Field Service Work Orders
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.
347
Salesforce Field Service Create Field Service Work Orders
SEE ALSO:
Set Up Knowledge for Work Orders
View Knowledge Articles in the Field Service Mobile App
Note: Add work orders to the console to manage work orders and their associated records in one place.
348
Salesforce Field Service Create Field Service Work Orders
Child work orders help you account for cancellations. When work is canceled, you can set the work order status to Canceled and create
a child work order. This lets you track first-time rates and analyze cancellation reasons.
SEE ALSO:
Work Order Fields for Field Service
For example, if you create a work order for a solar panel installation, select a price book in the Price The Field Service core
Book lookup field on the work order. Then, use the Price Book Entry lookup field on its work order features, managed
line items to select items in your price book, such as Site Assessment, Solar Panel, and Inverter. A package, and mobile app
quick glance at a completed work order’s line items shows you which products from your product are available in Enterprise,
catalog were sold as part of the work order. Unlimited, and Developer
Editions.
Work orders contain these price-related fields.
349
Salesforce Field Service Create Field Service Work Orders
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.
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. 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
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.
350
Salesforce Field Service Create Field Service Work Plans
• When completing work order line item price fields, complete only the Product and Discount fields. The Subtotal, Total Price, List
Price, and Unit Price fields are automatically calculated based on other line item fields.
• Apply discounts to work orders at the line item level. If your work order doesn’t have line items, its discount is zero.
• Work order line items don’t have to be linked to a product. For example, perhaps you use line items only to track tasks. Just keep in
mind that if the Product field is blank, you can’t use the List Price, Unit Price, Discount, Quantity, Subtotal, or Total Price fields.
• If you plan to use price books for work orders, users need “Use” sharing access to the price book object to complete the following
actions:
– Create or edit work orders with the Price Book field completed
– Create work order line items with the Product field completed
– Create products consumed with the Price Book Entry field completed
• A price book entry is returned in search results only if its currency matches the work order's currency.
SEE ALSO:
Work Order Fields for Field Service
Work Order Line Item Fields for Field Service
351
Salesforce Field Service Create Field Service Work Plans
Automate how work plans are assigned to work orders or work order line items using work plan selection rules. Service managers
configure rules that add plans based on fields such as work type, asset, location, and service contract. A selection rule generates a
point-in-time copy of a work plan and its steps from the templates, and it adds them to work orders or work order line items.
For example, for break-fix procedures, define work step templates and work plan templates for different assets. The selection rules map
required work plans to asset types. When the service manager creates a work order or work order line item for an asset, the rules add
instances of the right plans and steps.
Front-line and back-office workers view work plans on the work order or work order line item. As they complete steps, quick actions and
flows guide them through the work.
352
Salesforce Field Service Create Field Service Work Plans
353
Salesforce Field Service Create Field Service Work Plans
USER PERMISSIONS
354
Salesforce Field Service Create Field Service Work Plans
Note: For an optimal experience with the Work Plans component, we recommend that you customize the action menu to
display the Complete and Not Applicable actions first.
The mobile app doesn’t support custom actions that are associated with mobile flows and lightning actions.
• Customize the fields displayed on the work plan and work step records. In the page layout of the work plans and work steps’ related
lists, select the fields to display.
Note: For the information to appear properly on the Work Plans Lightning Web Component, we recommend that you first
include these fields in the layout:
– For work plans: Execution Order, Name, and Work Order Line Item
– For work steps: Execution Order, Name, and Status
• In Object Manager, edit page layouts for the work plan template object. To display the standard New Work Plan Selection Rule screen
to users, select the New button to show in the layout of the work plan selection rule related list. To display the enhanced New Work
Plan Selection Rule screen, select the New Rule button.
• Adjust service reports to include work plans and work steps information. To do that, adjust your service report template on page 516
to include work plans and work steps related lists information in reports. By default, work steps are grouped by work plan.
355
Salesforce Field Service Create Field Service Work Plans
• In work steps, predefined and custom global quick actions, custom object-specific actions defined on work order and work step
objects, and field service mobile flows are supported.
– For the mobile app, we support Create, Update, and Flow quick actions.
– If a quick action or mobile flow fails to load for a work step, an error icon appears next to the step’s status icon. For actions
showing errors, confirm that the action still exists and that it works on mobile. For flows showing errors, confirm that the user
has Flow permissions.
• For the mobile app, we recommend that you create a page layout specific for mobile profiles when using work plans.
• If you have customizations such as validation rules or lookup filters that prevent the creation of a work step connected to a work
plan, that work plan doesn’t auto-generate.
• Work plans can’t be auto-generated if the following two conditions are true:
– The work orders are created and updated to set the Owner to be a Queue during Create by a Flow, Workflow, or similar automation.
– The work plan template has an associated work plan template and work step.
The Work Step object has a child relationship to Work Plans. Work Step doesn't have an Owner ID field and is derived only from the
associated work plan. The auto-generation process validates the work step owner, checks if it can be assigned to a queue (which it
can’t), and silently fails in the background. As a result, the work order is created without the work plan.
SEE ALSO:
Introducing Lightning Web Components
Quick Actions
Flows
Activate Lightning Experience Record Pages
Create and Configure Lightning Experience Record Pages
Manage Service Reports
Customize Related Lists
Set Up and Manage Experience Cloud Sites
356
Salesforce Field Service Create Field Service Work Plans
SEE ALSO:
Introducing Lightning Web Components
Quick Actions
Flows
357
Salesforce Field Service Create Field Service Work Plans
3. Save your work. When work plans are generated, the custom fields are copied from the templates
to the work plan and work steps of a work order or work order line item.
In the Field Service mobile app, custom fields that take numerical inputs show plus and minus buttons only if the custom field name
starts with Quantity. All other custom fields that take numerical inputs show a text box.
358
Salesforce Field Service Create Field Service Work Plans
– Geolocation
– Number
– Percent
– Phone
– Picklist
– Multi-select Picklist
– Text
– Text Area
– Text Area (Long)
– Text Area (Rich)
– Text (Encrypted)
– Time
– URL
• Each target field can have one source field mapped to it.
• You can map Auto Number fields to field types Text or Text Area.
• You can map Text and Text Area fields to custom field types of Text, Text Area, Text Area (Long), and Picklist. If you map to a Picklist
field, the picklist must be unrestricted.
• You can map custom Picklist fields to custom field types of Text, Text Area, and Picklist (unrestricted), but not Text Area (Long).
• When mapping between Picklist and Text fields, if the source field value is longer than the target field allows, your data truncates.
• You can map custom lookup fields to custom lookup fields pointing to the same object.
• When mapping source entity custom fields (Work Plan Templates / Work Step Templates / Work Plan Template Entries), the selected
target entity custom field (Work Plan / Work Step) must be of equal or greater length.
• You can’t delete mapped custom fields from the source entity or the target entity. To delete a field, remove its mapping first.
• You can’t change the field type of a mapped field. To change a field’s type, remove its mapping first.
• You can’t uninstall a package that references fields included in Work Plans Custom Field Mapping. Before uninstalling the package,
remove any mappings of referenced fields.
• When mapping custom number, currency, or percent fields, the target field must have the same length and number of decimal
places.
• Don’t map custom formula fields to other formula fields or any other type of field.
359
Salesforce Field Service Create Field Service Work Plans
360
Salesforce Field Service Create Field Service Work Plans
For this planned maintenance example, work plan selection rules use the work type field to represent the type of visit. Because the same
safety and blade/bearing maintenance procedures occur at both visits, the rules can replicate the work plans for both visit types.
361
Salesforce Field Service Create Field Service Work Plans
USER PERMISSIONS
362
Salesforce Field Service Create Field Service Work Plans
To create work plan templates: Create and Read on work plan templates Available in: Lightning
Experience
To view work plan templates: Read on work plan templates
The Field Service core
To update work plan templates: Edit and Read on work plan templates
features, managed
To delete work plan templates: Delete and Read on work plan templates package, and mobile app
are available in Enterprise,
To associate a work step template with a Create and Read on work plan template Unlimited, and Developer
work plan template: Editions.
6. To associate a work step template with a work plan template, see Manage Work Step Templates on page 364.
363
Salesforce Field Service Create Field Service Work Plans
364
Salesforce Field Service Create Field Service Work Plans
7. To reorder the steps, click Move to Top , Move Up , Move Down , or Move to Bottom , and then click Save Reorder.
8. If you’re done, click Done.
365
Salesforce Field Service Create Field Service Work Plans
Note: You can also create work plan selection rules by clicking New in the Work Plan Selection Rules list view.
If your Salesforce admin configured the enhanced New Work Plan Selection Rule screen for you, follow these instructions to create a
work plan selection rule.
1. In the app launcher, click Work Plan Templates.
2. On the work plan template, open the Related tab. On the work plan selection rules related list, click New Rule.
3. Enter an optional description for your rule.
4. Click Active.
5. Select one or more selection rule values as rule criteria. Values for work types, assets, locations, service contracts, products, or service
territories can be specified in the work plan selection rule criteria. These field values are matched with the corresponding fields on
the work order or work order line item to determine whether this selection rule is applicable to the work order or work order line
item. If applicable, the corresponding work plan template is copied as a work plan for the work order or work order line item.
Note: The rule generates a work plan when all fields in the rule match corresponding fields in the work order or work order
line item. For example, if the rule specifies a work type and an asset as the selection criteria, it adds the work plan only when
both fields match on the work order.
If a rule specifies a product as the selection criteria, the rule doesn’t look for the corresponding field on the work order because
no product field exists there. Instead, it looks at the Asset field and finds the matching product on the corresponding asset.
Note: If you don't select any values and the work plan selection rule is active, the related work plan template is added to all
new work orders or work order line items.
366
Salesforce Field Service Create Field Service Work Plans
USER PERMISSIONS
Note: If you have customizations such as validation rules or lookup filters that prevent the creation of a work step connected
to a work plan, that work plan doesn’t auto-generate.
367
Salesforce Field Service Create Field Service Work Plans
On a work order or work order line item, you can select Generate Work Plans from the action menu. When columns in a rule match a
field in the work order or work order line item, the rule generates a work plan on that record. This action doesn’t change preexisting
work plans, but it’s a handy way to add a plan.
USER PERMISSIONS
Note: You can add work plans more than one time. We don’t prevent duplicates.
368
Salesforce Field Service Create Field Service Work Plans
1. On the work order or work order line item, go to the Work Plans related list.
2. Select a work plan, or create a new one.
3. On the work plan record, select Add Work Steps from the action menu.
369
Salesforce Field Service Create Field Service Work Plans
Note: This action deletes all work plans on the work order or work order line item. Available in: Lightning
Experience
1. On the work order or work order line item, select Delete Work Plans from the action menu.
The Field Service core
Note: If the work order includes a work order line item that has its own plans, we don’t features, managed
delete the plans from the child work order line item. package, and mobile app
are available in Enterprise,
Unlimited, and Developer
Editions.
USER PERMISSIONS
370
Salesforce Field Service Create Field Service Work Plans
Note: You can load only the first two fields from the Work Steps related list on the Work The Field Service core
Plan. features, managed
package, and mobile app
are available in Enterprise,
Unlimited, and Developer
Editions.
USER PERMISSIONS
If the step is a simple instruction, such as “Put on your safety gear”, we mark the step’s status
as completed. If the step includes a quick action or a field service mobile flow, selecting
Complete starts it. When a quick action starts, we change the work step’s status to Complete when the action is completed. When
a flow starts, the status changes according to the way the flow is configured. Completed work steps remain on the work plan record.
SEE ALSO:
Introducing Lightning Web Components
Quick Actions
Flows
371
Salesforce Field Service Create Field Service Work Plans
2. On the action menu of a step, select Complete. The Field Service core
features, managed
package, and mobile app
are available in Enterprise,
Unlimited, and Developer
Editions.
USER PERMISSIONS
Note: You can also mark a step Not Applicable on the work step’s action menu. To view work steps:
• Read on work plans
If the step is a simple instruction, such as “Put on your safety gear”, we mark the step’s status
as completed. If the step includes a quick action or a field service mobile flow, selecting To update work steps:
Complete starts it. For example, this step starts the Log a Call quick action. • Edit on work plans
When a quick action starts, we change the work step’s status to Complete when the action is completed. When a flow starts, the
status changes according to the way the flow is configured. Completed work steps remain on the work step related list.
SEE ALSO:
Quick Actions
Flows
372
Salesforce Field Service Create Field Service Maintenance Plans
To create maintenance plans: Create on maintenance plans Available in: both Salesforce
Classic (not available in all
To view maintenance assets: Read on maintenance plans and assets
orgs) and Lightning
To create, update, or delete maintenance Edit on maintenance plans Experience
assets:
The Field Service core
To generate work orders for a maintenance Read on assets and work types AND Create features, managed
plan: on work orders and service appointments package, and mobile app
are available in Enterprise,
To edit page layouts: Customize Application Unlimited, and Developer
Editions.
Create Field Service preventive maintenance plans for assets so your customers never miss a beat.
With maintenance plans you define how often maintenance visits occur and generate work orders for future visits.
8. 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. Also, batch timing is calculated at the maintenance asset level or at the work rule level. So if the
maintenance plan includes assets or work rules, after each batch is run, the Suggested Maintenance Date auto-updates on:
• if assets have no work rules, the maintenance assets
• if assets have work rules, on the work rules.
9. 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.
373
Salesforce Field Service Create Field Service Maintenance Plans
10. To create work orders automatically, 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. To run batch generation before the maintenance plan’s Date of the first work order in the next batch, 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.
b. 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.
A separate work order is created for each maintenance asset for each maintenance date. Therefore, batch size reflects the generation
timeframe, frequency, and the 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.
11. 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 work order line item for each asset.
12. 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?.
Note: To control which fields appear in the related list, edit the Related List on the Maintenance Assets page layout in Setup.
16. To use advanced recurrence, add maintenance work rules in the Maintenance Work Rules related list to schedule maintenance for
all of the plan’s assets. These rules act as the default for any assets without their own maintenance work rules. If not all assets are
covered by the same maintenance schedule, add maintenance work rules to those assets to override the maintenance work rules
on the maintenance plan.
17. 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,600 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
374
Salesforce Field Service Create Field Service Maintenance Plans
SEE ALSO:
Maintenance Plan Fields
Trailhead: Field Service Preventive Maintenance
375
Salesforce Field Service Create Field Service Maintenance Plans
Note: Refer to Guidelines for Working with Maintenance Work Rules on page 380 for details Available in: both Salesforce
on how work orders are generated from maintenance work rules. Classic (not available in all
orgs) and Lightning
Experience
How Many Work Orders Are Generated at a Time?
The Field Service core
Maintenance plan work orders are generated in batches. The number of work orders in a batch is features, managed
based on several maintenance plan settings: package, and mobile app
• Generation timeframe: determines how far into the future work orders are generated are available in Enterprise,
Unlimited, and Developer
• Frequency: determines the amount of time between work order dates Editions.
• Number of maintenance assets: work order is created per asset, per suggested maintenance
date
USER PERMISSIONS
For example, with a generation timeframe of 1 year, a frequency of 2 months, and two maintenance
assets, one batch contains 14 work orders that cover 1 year’s worth of maintenance visits. Work To create work orders from
orders are also generated for the final day of the timeframe. If the generation timeframe is 1 year maintenance plans
and the Date of the first work order in the next batch is January 1, 2020, work orders are also • Create, view, and edit on
generated for January 1, 2021. Service Appointments,
Work Orders, and Work
Note that the Work Order Number field might not correspond sequentially with the Suggested Order Line Items
Maintenance Date field. For more information, refer to the Work Order developer documentation. View and edit on
Maintenance Plan,
Maintenance Work
How Do I Generate Work Orders? Rules, and Maintenance
You can manually generate each batch of work orders or choose to have a new batch generated Assets
automatically. If frequent changes are needed after each visit, manual generation gives you more AND
control. Automatic generation provides the assurance that you’re delivering the maintenance you View on Assets
promised to your customer.
To view, create, and update
Both methods allow you to customize batch generation timing using Generation Horizon (Days)
recordset filter criteria
or select Generate new batch upon completion. For details, see Maintenance Plan Fields.
• View, create, and edit on
Note: If Generate new batch upon completion is selected, a new batch of work orders Service Appointments,
Shifts, Recordset Filter
isn’t generated for a maintenance asset until the final work order for that asset in the current
Criteria, and Recordset
batch is completed. If one maintenance asset’s final work order is completed but another’s Filter Criteria Rules
is stalled, work orders are generated only for the first maintenance asset. This behavior results
AND
in a staggered batch generation schedule for the maintenance plan.
Delete on Recordset
To manually generate work orders from a maintenance plan: Filter Criteria and
• Confirm that Auto-generate work orders isn’t selected. Recordset Filter Criteria
Rules
• Click Generate work orders. When the Work order generation status on the maintenance
plan changes to Complete, the generated work orders appear in the Work Orders related list. View access on the
Source Object, Filtered
• If the maintenance work rules date of the first work order in the next batch is earlier than the Object, and Filtered
current date minus the generation time frame, the update Next Suggested Maintenance Object fields
Date to fall into the eligible date range.
376
Salesforce Field Service Create Field Service Maintenance Plans
• If the Next Suggested Maintenance Date is outside the eligible generation window, adjust that date to align with the date of
generation to yield expected results. For example, if you expect work orders to be created on a specific date of the month, ensure
that the Next Suggested Maintenance Date is within the eligible generation window.
To turn on automatic generation, select Auto-generate work orders.
Note: 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.
377
Salesforce Field Service Create Field Service Maintenance Plans
If Work Order Generation Method is set to One work order per asset, you
can’t set a Service Appointment Generation Method.
Each asset and relevant maintenance work rule 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 6
months, and a frequency of 1 month produces:
• Four work orders a month, 24 work orders for 6 months.
• A service appointment for each work order, if the auto-create service
appointment is enabled on an associated work type.
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 relevant maintenance work rule, 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 6
months, and a frequency of 1 month produces:
• One work order each month, six work orders for 6 months.
• Four work order line items on each work order.
• A service appointment for each parent work order, 1 per month, and six
work orders for 6 months.
One parent work order is created, a work order line item is created for each asset
and relevant maintenance work rule, and if the associated work type has
auto-create service appointment enabled for work order line items, one service
appointment is created for each work order line item.
Example: A maintenance plan with four assets, a generation time frame of 6
months, and a frequency of 1 month produces:
• One work order each month, six work orders for 6 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 work orders for 6 months.
378
Salesforce Field Service Create Field Service Maintenance Plans
Why Aren’t Service Appointment Due Dates Following Maintenance Plan Settings?
When a service appointment is created for a generated work order, the work type Due Date Offset overrides the due date set by the
maintenance plan.
To avoid this override, create two work types, one for non-maintenance plan service appointments and another for maintenance plan
service appointments. Leave the Due Date Offset empty in the work type for maintenance plan service appointments. For example,
create a Site Survey work type with a Due Date Offset of 5 days and Site Survey - Maintenance Plan with Due Date Offset left empty.
How Do I Change Generation Methods or Maintenance Schedules After Work Orders Are Generated?
If your maintenance plans have work orders or work order line items associated with them, changing their generation schedule on the
maintenance asset or in the maintenance work rules isn’t recommended. To change maintenance plan generation frequencies, either
delete the incomplete work orders and regenerate them. Or set an end date to expire the current maintenance plan and create one
with the appropriate generation method and recurrences.
SEE ALSO:
Create Field Service Maintenance Plans
Maintenance Plan Fields
Trailhead: Field Service Preventive Maintenance
379
Salesforce Field Service Create Field Service Maintenance Plans
Example: Number of Maintenance Work Rules Per Maintenance PlanA maintenance plan has ten maintenance
assets. The maintenance plan has three maintenance work rules. Two of the maintenance assets have maintenance work rules,
one has one rule and the other two. The number of equivalent maintenance work rules is as follows:
• Maintenance work rules on maintenance assets: 1 + 2 = 3
• Maintenance work rules derived from the maintenance plan: 8 (maintenance assets without maintenance work rules) * 3 =
24
This configuration gives an equivalent work rule count of 27.
We recommend no more than 5 maintenance work rules per maintenance plan and no more than 5 maintenance work rules per
maintenance asset.
Recurrence scenario Maintenance plan Maintenance plan Maintenance plan Maintenance plan
without maintenance without maintenance with maintenance with maintenance
work rules work rules work rules work rules
Generation mode Rolling Batch Rolling Batch
Date range that Date of first work order Date of first work order Date of first work order Date of first work order
determines eligible for in the next batch in the in the next batch is in the next batch in the in the next batch is
work order generation range of today minus before maintenance plan range of today minus before maintenance plan
Generation Time Frame End Date. Generation Time Frame End Date.
to the first of today plus to today plus
Generation Horizon or Generation Horizon
maintenance plan End plus Generation Time
Date. Frame, as long as this
range is before the
maintenance plan End
Date
Last possible The earliest of Date of The earliest of Date of Today plus Generation The earliest of Date of
suggested first work order in the first work order in the Horizon plus first work order in the
380
Salesforce Field Service Create Field Service Maintenance Plans
Recurrence scenario Maintenance plan Maintenance plan Maintenance plan Maintenance plan
without maintenance without maintenance with maintenance with maintenance
work rules work rules work rules work rules
maintenance date that next batch plus next batch plus Generation Time next batch plus
work orders are Generation Time Frame Generation Time Frame Frame. Generation Time Frame
generated for or maintenance plan End or maintenance plan End or maintenance plan End
Date. Date. Date.
Last day in the Work orders generated Work orders generated Work orders generated Work orders generated
generation window can include the last day. can include the last day. exclude the last day. exclude the last day.
Generation approach, Batch window Batch window Rolling window Batch window
see Batch Versus Rolling
Generation on page 383
Respects sort order N/A N/A If Generate new batch Yes. except when the
upon completion isn’t Date of first work order
selected, then Sort in the next batch values
Order is respected. are offset.
If Generate new batch See also, Manual
upon completion is generation example on
selected, then page 382 in Sort Order
maintenance work rules and the Generate New
associated with the last Batch Upon Completion
incomplete work orders Setting.
or work order line items
aren’t considered when
evaluating sort order.
See also, Automatic
generation example on
page 382 in Sort Order
and the Generate New
Batch Upon Completion
Setting.
Work Order Generation Generates up to 2,600 Show an online error Sends a Chatter Sends a Chatter
Limit Enforcement work orders and advises message and doesn’t notification and doesn’t notification and doesn’t
of limit enforcement in a generate any work generate any work generate any work orders.
Chatter message. orders. orders.
The following diagram shows how work orders are created in rolling generation versus batch generation.
381
Salesforce Field Service Create Field Service Maintenance Plans
382
Salesforce Field Service Create Field Service Maintenance Plans
383
Salesforce Field Service Create Field Service Maintenance Plans
For example, take the case where today is 1/8 and a maintenance work rule has a generation time frame of 10 days and generation
horizon of 8 days:
• If the date of first work order in the next batch is 1/11, the maintenance work rule is eligible for generation and work orders following
the recurrence pattern are generated from 1/11 to 1/26.
• If the date of first work order in the next batch is 1/1, the maintenance work rule is eligible for generation and work orders following
the recurrence pattern are generated from 1/8 to 1/26.
• If the date of first work order in the next batch is 12/15, then no work orders are generated because 12/15 is before today's date
minus the generation timeframe that is 1/8 minus 10 days giving 12/29.
Note: We’ve started the process for retiring the maintenance plan frequency fields. Update your maintenance plans to take
advantage of maintenance work rules instead. Learn more
When a work order is scheduled, the recurrence frequency is determined in this order:
Maintenance asset maintenance work rules > Maintenance plan maintenance work rules > Maintenance plan frequency
fields
Maintenance work rules on the maintenance asset override any recurrence defined on the maintenance plan. If there are no maintenance
work rules defined for the maintenance asset, the maintenance work rules on the maintenance plan are used to set the recurrence. If
there are no maintenance work rules defined on the maintenance asset or maintenance plan, then the frequency fields on the maintenance
plans are used to define the recurrence pattern.
Example: Recurrence Hierarchy There’s a maintenance plan with 2 maintenance assets (MA). The maintenance work rules
(MWR) are defined as:
• The maintenance plan has MWR1
• MA1 has no MWR
• MA2 has MWR2
MA1 uses MWR1 (inherits from the maintenance plan). MA2 uses MWR2 (overrides what's on maintenance plan).
Using MONTHDAY
The RRULE property MONTHDAY allows you to schedule an event that occurs monthly on a specific date. For example, you can use the
MONTHDAY property to generate work orders on the first of every month:
“FREQ=MONTHLY;INTERVAL=1;BYMONTHDAY=1;”
While generating work orders on the first of every month is straightforward, generating work orders on the 31st of every month requires
you to specify additional RRULE properties. To generate work orders on the 31st of every month, you could use this RRULE:
“FREQ=MONTHLY;INTERVAL=1;BYMONTHDAY=31;”
384
Salesforce Field Service Create Field Service Maintenance Plans
However in Salesforce, that RRULE generates work orders on the last day of every month: Jan 31, Feb 28, Mar 31, April 30, May 31, June
30, July 31, Aug 31, Sep 30, Oct 31, Nov 30, Dec 31. In the API, you can specify additional properties in your RRULE to produce work orders
only for months with 31 days:
FREQ=MONTHLY;COUNT=30;INTERVAL=1;WKST=MO;BYMONTH=1,3,5,7,8,10,12;BYMONTHDAY=31
This RRULE ensures that work orders are only generated on Jan 31, Mar 31, May 31, Jul 31, Aug 31, Oct 31, Dec 31.
Date of the First Work Order in the Next Batch and Maintenance Work Rule Alignment
If the entered Date of first work order in the next batch doesn’t match the RRULE pattern, the system uses the earliest date in the current
month or later that matches the RRULE and is within the generation time frame. It’s possible that a date matching the RRULE in the
current month isn’t within the generation time frame, as shown in most of the following examples.
For example, if the RRULE is set to generate work orders on the first day of every other month, with a generation time frame of 2 months,
and today is 8/19/2020 the following occurs:
Entered Date of first work order in Earliest date in the current month Suggested maintenance date of
the next batch according to the RRULE work orders or work order line items
generated
8/19, meaning today 8/1, but it’s in the past 10/1
8/4, or any date in the past in the current 8/1, but it’s in the past 10/1
month
8/29, a date in the future in the current 8/1, but it’s in the past 10/1
month
7/30, a date in the past in a past month 7/1, but it’s in the past 9/1
9/20, a date in the future in a future month 9/1, it’s in the future, but the generation 11/1
time frame is 9/20 to 11/20
385
Salesforce Field Service Create Field Service Maintenance Plans
Edge Cases in Sort Order and the Generate New Batch Upon Completion Setting
When the Generate new batch upon completion option is selected and a maintenance work rule with the lowest sort order value is
eligible for a generation but its last work order is incomplete, the maintenance work rule’s work order isn’t generated. The rule’s Date
of first work order in the next batch is advanced as though it was generated. Then:
• If there are other maintenance work rules with the lowest sort order value eligible for generation, work orders corresponding to
these rules are generated else,
• If there are maintenance work rules with a higher sort order value eligible for generation, work orders corresponding to these rules
are generated.
When the maintenance work rule's last work order is marked as complete, the rule will be considered for generation in the next generation
cycle.
386
Salesforce Field Service Create Field Service Maintenance Plans
Note: A maintenance plan with a maintenance work rule using COUNT is limited to 2,000 maintenance assets. If such a maintenance
plan has more than 2,000 maintenance assets, no work orders are generated.
Example: Work Order Generation LimitIf a maintenance plan has 1 maintenance work rule (MWR), and 5 maintenance
assets (MA), and the recurrence pattern is daily:
• If the generation timeframe is 1 year, then each generation at a maximum generates 5 (MA) x 365 = 1825 work orders. So
within the 2600 limit.
• However, if the generation timeframe is 2 years, then each generation at a maximum generates 5 (MA) x 365 x 2 = 3650
work order. That exceeds the 2600 limit.
Note: Since the maintenance work rule uses a rolling window for work order generation, the maximum is already reached
when the maintenance work rule first started generation. In subsequent generations, the number of work orders generated
is fewer.
What Happens if Work Order Generation Tries to Create More Than 2,600 Work Orders?
When work order generation tries to create more than 2,600 work orders:
• If maintenance work rules are used, for either automatic or manual generation: doesn’t generate work orders and provides an error
message. This behavior occurs because, unlike work orders based on maintenance frequency specified in the maintenance plan, the
presence of multiple work rules whose generation is determined by sort order could result in partial creation of the required work
orders when the 2,600 limit is reached. To rectify, reduce the maintenance plan generation timeframe.
• If manual generation for maintenance plan with frequencies is used: doesn’t generate work orders and provides an error message.
To rectify, reduce the maintenance plan generation timeframe.
• If automatic generation for maintenance plans with frequencies is used: generates 2,600 work orders and posts a message on chatter
advising that the limit was reached. No further action is needed.
What Happens When the Option to Generate One Asset to One Work Order Line Item is Selected?
When the option to Generate One Asset to One Work Order Line Item is selected:
• If maintenance work rules are used, the system puts the limit on the count of work order line items if generating work order line
items and on the count of work orders if there are only work orders generated. Take the case where a plan has 2,600 assets each
with 3 maintenance work rules for generation. Because of the limit, we report an exception when there are more than 2,600 work
order line items generated.
• If maintenance plans with frequencies are used, 2,600 work order line items are generated. If all the maintenance assets have the
same next suggested maintenance date, one work order is generated. If the maintenance assets have different next suggested
maintenance dates, then work order is generated for each of the next suggested maintenance dates.
387
Salesforce Field Service Create Field Service Maintenance Plans
User Access
To generate work orders, a user needs access to maintenance plans, work orders, and service appointments. The user is either the one
who generates work orders manually, or is the owner of the maintenance plan for auto generation. We recommend you set up a generic
user to eliminate potential problems that can result from changes in personnel.
Field Inheritance
When a work order is created, information is pulled from the maintenance work rules, maintenance asset, and maintenance plan. A
maintenance plan can have assets with maintenance work rules defined on the maintenance asset and maintenance plan. However,
specific information comes from each entity.
Entity Information
Maintenance work rule Date of first work order in the next batch
Work Type
388
Salesforce Field Service Create Field Service Maintenance Plans
• If the Date of first work order in the next batch is defined on the maintenance asset, the maintenance work rule’s Date of first work
order in the next batch is set to the asset’s Date of first work order in the next batch.
• If the maintenance asset has no Date of first work order in the next batch, the maintenance work rule’s Date of first work order in
the next batch is set to the maintenance plan’s Date of first work order in the next batch.
Later, a maintenance work rule’s Date of first work order in the next batch can be set to a new date or cleared. If the rule’s Date of first
work order in the next batch is empty when the work order generation is triggered, Date of first work order in the next batch is determined
using the same logic as setting the value on creation.
Example: Take a maintenance plan where one asset to one work order line item is set with:
• A turbine with weekly on Monday and monthly on the first Monday of the month recurring maintenance work rules with the
same sort order (see Using Sort Order on page 385 for more details.
• A chiller with monthly recurrence on the first Monday of the month.
The weekly turbine maintenance requires work on 6/22, 6/29, 7/6, and 7/13. The monthly turbine and chiller maintenance requires
work on 7/6. So on 7/6, there’s one work order with three work order line items for the weekly turbine, monthly turbine, and
monthly chiller maintenance. But on 6/22, 6/29, and 7/13, there’s one work order with one work order line item for the weekly
turbine maintenance.
Example: Take a maintenance plan with one work order line item per asset selected and four maintenance assets divided into
two sets of two, that share a next suggested maintenance date where:
• Each maintenance asset has a maintenance work rule with recurrence every 6 months.
• The first two maintenance work rules have the same next suggested maintenance date of 7/1.
• The last two maintenance work rules are offset by 1 month, to 8/1, from the first group.
In this case, the:
• First two are grouped in one work order (on 1/July) with two work order line item, and one service appointment.
• Last two are grouped in a separate work order (1/August) with two work order line item, and one service appointment.
Example: There’s no rollup of work order line item details into work orders when you select the option for one work order line
item to be generated per asset.
Take a maintenance plan with one work order line item per asset selected and two assets. Each asset has a maintenance work rule
with different work types. For example, the first asset has a work type for filter replacement that takes 2 hours and the second for
battery replacement that takes 5 hours. Each maintenance work has the same frequency and next suggested maintenance date.
If the option for one service appointment per work order line item is selected:
389
Salesforce Field Service Create Field Service Maintenance Plans
Reparenting
The parent item of a maintenance work rule can be changed. But to ensure data integrity, don’t reparent a maintenance work rule after
it has generated work orders.
SEE ALSO:
Set Up Debug Logging
Track Field History for Standard Objects
390
Salesforce Field Service Create Field Service Maintenance Plans
Multiple maintenance schedules are defined using maintenance work rules. These rules can be
defined:
• On maintenance plans to define schedules for all of the plan’s maintenance assets that don’t have maintenance work rules.
• On maintenance assets.
To add maintenance work rules, open a maintenance plan or, from Related Lists, one of its maintenance assets. In the maintenance plan
or asset, open the Maintenance Work Rule related list and click New to create a maintenance work rule item.
391
Salesforce Field Service Create Field Service Maintenance Plans
Note: Don’t use the New button on the Work Order and Work Order Line Item related lists or list views on Maintenance Work
Rules. This button creates work order and work order line item records, but it doesn’t link the maintenance work rules to the work
order and work order line item record. It doesn't establish a link because the MaintenanceWorkRule field on Work Order and Work
Order Line Item is read-only. This field can’t be updated with the API.
The fields that are available when you’re defining your recordset filter criteria are based on the The Field Service core
filtered object: Asset or Service Appointment. The fields that are visible depend on your field-level features, managed
security settings and field types. To access a calculated field that isn’t available by default, create a package, and mobile app
custom formula field for the related field. are available in Enterprise,
Unlimited, and Developer
These field types aren’t supported. Editions.
• URL
When the managed
• Multipicklist package is installed,
• Encrypted string scheduling and optimization
consider shift availability.
• Text area
Confirmed shifts appear on
For usage-based maintenance, there are additional considerations. the Gantt.
• You can use a formula to set the value of the asset field specified as the Usage Field in the
recordset filter criteria rule. However, the asset field specified by the Next Occurrence Field
in the recordset filter criteria rule can’t be a formula field because it’s updated by the system.
• Currency field types can’t be used to define recordset filter criteria.
392
Salesforce Field Service Create Field Service Maintenance Plans
• Value: 60,000
Months Since Last Overhaul
• CriteriaField: MonthsSinceLastOverhaul
• Operator: >=
• Value: 6
Custom Fields
Alternatively, you can use custom fields to track manually maintained values. If you have assets that provide IoT data, you can use a
third-party IoT platform to update your custom asset field. If you don’t have an IoT platform, check AppExchange.
393
Salesforce Field Service Create Field Service Maintenance Plans
Watch a video
Watch the video to see how to define maintenance work rules based on product characteristics and maintenance conditions.
Watch a video
394
Salesforce Field Service Create Field Service Maintenance Plans
If an incomplete work order is created from a criteria-based maintenance work rule, no new work orders are created until the active
work order is completed. A work order is considered complete when its status is Cannot Complete, Canceled, Completed, or Closed.
After the work order is completed, if the criteria are still true at the next work order generation, a new work order is generated.
For example, take a filter with the rule that cumulative downtime is greater than or equal to 1,000 hours. If the cumulative downtime
value moves from 982 to 1,024, a work order is created. After that work order is completed, because cumulative downtime is still greater
than 1,000, a new work order is created. If One work order line item per asset is selected on the maintenance plan, this example
applies in the same way to work order line item generation.
Sort Order
The effect of sort order on criteria-based maintenance work rules is independent of sort order on calendar-based maintenance work
rules. For example, a criteria-based maintenance work rule with sort order 1 and a calendar-based maintenance work rule with sort order
2 generate work orders, although they have the same suggested maintenance date.
395
Salesforce Field Service Create Field Service Maintenance Plans
e. First Occurrence: Set the start value. To determine whether the rule is true, this value is
compared to the Usage Field value. USER PERMISSIONS
f. Last Occurrence: (Optional) Set the end value. To view, create, and update
recordset filter criteria
6. To add another condition, click + Add Condition. Continue adding criteria rules as needed. • View, create, and edit on
7. To generate work orders ahead of the target usage value, select Add lead-time to usage-based Service Appointments,
work rules. In the Usage Rate field, enter the daily usage rate of the asset. The unit for the Shifts, Recordset Filter
usage rate must be per day. Criteria, and Recordset
Filter Criteria Rules
8. Save the filter criteria.
Edit on the
9. On the Maintenance Asset’s related tab, select New Maintenance Work Rule. NextOccurrence field on
the Asset Filtered Object
10. In Maintenance Work Rule Type, select Criteria-Based.
Delete on Recordset
11. In Recordset Filter Criteria, search for and select the recordset filter criteria to use. Filter Criteria Rules
12. To create work orders on a floating schedule, select Generate on a floating schedule. View access on the
Source Object, Filtered
If the last work order was completed at 8 months, the next work order is targeted at 6 months
Object, and Filtered
from completion to 14 months. Object fields
If not selected, the recurrence cadence for work orders is fixed. For example, perform work every
six months (6, 12, 18) regardless of when the previous work order was completed. If selected,
the recurrence cadence for the work orders is floating based on when the last work order was completed.
396
Salesforce Field Service Create Field Service Maintenance Plans
Example: You have a usage rule of every 1,000 hours that starts at 1,000 hours.
When the usage value moves from 982 to 1024, a work order is generated, and the Next Occurrence Field value is updated to
2000 hours.
If the usage moves from 1999 to 2030 and a work order is still open, no new work order is created. However, when the existing
work order is complete, a new work order is generated and the Next Occurrence Field value is updated to 3000 hours. The Next
Occurrence Field value is updated every time a work order is generated.
If One work order line item per asset is selected on the maintenance plan, this example applies in the same way to work order
line item generation.
Sort Order
When applying sort order to criteria-based maintenance rules, the rule with the higher sort order takes priority.
397
Salesforce Field Service Create Field Service Maintenance Plans
For example, a floating work order with a six-month recurrence cadence that’s completed in May is next scheduled for November. With
a fixed schedule, recurring work orders are scheduled at exact intervals based on the work order start date. When you’re generating
work orders on a floating schedule, the NextOccurrence field is updated with the fixed schedule and no work order is generated. After
the work order status is updated to Closed or Completed, the NextOccurrence field is updated with the floating schedule based on
the current UsageField value.
Each status is mapped to a status category. When the work order is updated to a status mapped to the Closed or Completed status
category, the floating work order generation is triggered. Additionally, the recurrence cadence for the work orders is adjusted when the
work order or work order line item’s status category is changed to Closed or Completed. When a work order is closed and marked as
Completed, the NextOccurrence field on all upcoming work orders is updated.
Note: The floating work order generation is only triggered if the status is mapped to either the Closed or Completed Status
Category. If you don’t map the status to one of those status categories, the next milestone recalculation and update won't happen
in the Filtered Object (Asset).
To display this field, from Setup enter Field Service Settings and select Update the work order generation based on the completion
date of the previous work order.
If the asset’s usage criteria is greater than the expected usage rate (Next Occurrence), then the Suggested Maintenance Date for the
work order is today since the value is greater than or equal to zero. The next occurrence field is updated after closing the work order
when lead time rules are used.
For a UsageDuration rule, lead time is the same as the generation horizon.
398
Salesforce Field Service Create Field Service Maintenance Plans
1
Asset:
• UsageField: 3550
• NextOccurrenceField: null
• UsageRateField: 15
• SMD
= (4000-3550)/15
= 30 days from today
2
Asset
• UsageField: 3880
• NextOccurrenceField: 4000
• UsageRateField:15
• SMD
= (4000-3880)/15
= 8 days from today
3
Asset
• UsageField: 3960
• NextOccurrenceField: 4000
• UsageRateField: 15
• SMD
= (4000-3960)/15
= 3 days from today
4
Asset
• UsageField: 4200
• NextOccurrenceField: 4000
• UsageRateField: 15
• SMD = today
399
Salesforce Field Service Create Field Service Maintenance Plans
• NextOccurrence: NextOccurrenceField
• Frequency: 365
• FirstOccurrence: 365
• Operator: >=
Asset
• UsageField: 350
• NextOccurrenceField: null
• SMD
= 30 (Same as Generation Horizon)
400
Salesforce Field Service Troubleshooting Work Order Generations in Field Service
Example: You have a minor maintenance for every 1-K hours and a major maintenance for every 5-K hours . Set up two recordset
filter criteria, each with a recordset filter criteria rule. Both recordset filter criteria rules share a usage field: OpHrsSinceInstall.
However, the minor recordset filter criteria rule and major recordset filter criteria rule refer to a different NextOccurrenceField.
The minor recordset filter criteria rule triggers at 1 K, 2 K, 3 K, and so on. The major recordset filter criteria rule triggers at 5 K, 10K,
15 K, and so on.
401
Salesforce Field Service Troubleshooting Work Order Generations in Field Service
No work orders to create We couldn't generate work orders for the Work orders cannot be created for the specified timeframe.
maintenance plan because no conditions for • Check if the work order dates are in the past.
generation were met.
• Check that the COUNT and UNTIL conditions of RRULES
are met.
If some but not all work orders were generated, check that
the criteria and usage conditions on at least one of the
maintenance work rules was met.
End date in the past We couldn’t generate work orders because The maintenance plan has expired. Update the maintenance
the maintenance plan has reached its end plan with a new end date.
date. To continue generating work orders,
update the end date.
Max limit of Work Orders We couldn’t generate work orders because The maximum number of work orders you can generate in
exceeded the work order limit for this maintenance any run is 2,600. When using auto generation and frequency
plan was exceeded. To decrease the number fields, up to 2600 work orders are created and then the
of work orders, decrease cadence of work process exits. To reduce the number of work orders
order, decrease the Maintenance Plan generated, update one or more of the following on the
Generation Time Frame, or remove some maintenance plan:
maintenance assets. • Adjust the generation time frame to increase the span
between future work orders generations.
• Reduce the number of maintenance assets. Work orders
are created per asset, per suggested maintenance date.
• Reduce the number of Maintenance Work Rules.
• Decrease the frequency to increase the time between
work order dates.
402
Salesforce Field Service Troubleshooting Work Order Generations in Field Service
Invalid values for We couldn’t generate work orders because The date range for the maintenance plan extends beyond
Generation Horizon and some of your Maintenance Plan dates are the allowed timeframe.
Generation Time Frame out of range. Enter a maintenance plan • Update the Generation Horizon to a value of 365 or less.
Generation Horizon (Days) of 365 or less, and
• Update the Generation Time Frame to 20 years or less.
a maintenance plan Generation Time Frame
equivalent to 20 years or less.
Missing maintenance work We couldn’t generate work orders because The org has hidden the Frequency fields in Setup, but
rule after frequency fields the maintenance plan’s frequency fields are maintenance work rules still need to be set up for the
migration blank, and it has no maintenance work rules maintenance plan.
on the maintenance plan or any of its
Maintenance assets.
Missing maintenance work We couldn’t generate work orders because The maintenance plan doesn’t have a maintenance work
rules and frequency fields the maintenance plan’s frequency fields are rule or frequency fields (Generation time frame and
blank, and it has no maintenance work rules generation time frame type) defined.
on the maintenance plan.
Errors due to customization We generated x of y work orders, a of b work Refer to Determine Whether Customizations are Disrupting
order line items, and c of d service Generation for additional solutions.
appointments for your maintenance plan.
However, some work orders couldn’t be
generated. To find out why, ask your
Salesforce admin. Learn More in Salesforce
Help.
403
Salesforce Field Service Troubleshooting Work Order Generations in Field Service
1. Verify that you can create a work order manually. If manual creation fails, correct any errors.
2. Verify that any custom-required fields on the following objects have a default value configured. Default values ensure that the
maintenance plan generation process knows what value to set for the custom fields.
• Work Order
• Work Order Line Item
• Asset
• Service Appointment (if the work order generation includes creating Service Appointment)
• Assigned Resource (if you have automation to auto-schedule Service Appointments)
3. Verify that custom automation, including triggers, processes, and workflows, on the following objects aren't interfering with the
process by disabling them and rerunning work order generation:
• Maintenance Plan
• Work Order
• Work Order Line Item
• Asset
• Service Appointment, if the Work Order Generation includes creating Service Appointment
• Assigned Resource, if you have automation to auto-schedule Service Appointments
4. Verify whether you can generate work orders with custom validation rules on the following objects disabled:
• Work Order
• Work Order Line Item
• Asset
• Service Appointment
• Assigned Resource
5. Verify whether you can generate work orders after deactivating custom lookup filters on fields from the following objects:
• Work Order
• Work Order Line Item
• Asset
• Service Appointment
• Assigned Resource
404
Salesforce Field Service Manage Field Service Shifts
SEE ALSO:
Set Up Debug Logging
405
Salesforce Field Service Manage Your Shift Schedule in Field Service
To view shifts
• Field Service Standard
AND
View on Shift, Job
Profiles, Service
Resource, and Service
Territory
406
Salesforce Field Service Manage Your Shift Schedule in Field Service
• Background colors can identify or highlight shifts of different types. You set the background color on the shift, or the color is
inherited from the shift template.
• Resource absences are shown on the shift schedule. Absence cells are color-coded with a gray background.
• Nonstandard shifts are marked with a red icon.
Limitations
• The maximum supported shift duration is 23 hours and 59 minutes.
• Up to 300 resource absences display in the Shift tab. If a resource belongs to multiple territories, you see an absence for the
resource in each service territory.
• On the Shifts tab, you can’t use the quick search box to filter.
• 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.
• Bulk actions aren’t visible on the schedule view.
407
Salesforce Field Service Add Field Service Shifts
USER PERMISSIONS
408
Salesforce Field Service Add Field Service Shifts
d. For Time Slot Type, select the type of working hours for the shift. Select Normal if the service resource can be assigned to any
appointment during the time period. Select Extended if the resource can be assigned appointments during the shift time period
only if the scheduling policy used to schedule appointments has a Resource Availability work rule that allows overtime.
e. If only certain resources can should be able to be assigned to the shift, choose a job profile that defines the skills required to
work during this shift. If a Match Skills work rule is defined in Setup, only service resources that have the skills associated with
the job profile on the shift are eligible to be assigned the shift when you’re using automated shift scheduling tools.
f. Optionally, choose a Background Color.
g. Optionally, mark the shift Non-Standard.
h. Optional: Optionally, choose a filter in the Recordset Filter Criteria field to limit which service appointments can be scheduled
during the shift.
i. If you know which service resource you want to assign to the shift, you can select this resource in the Service Resource field on
the Shift record. If you want shift scheduling tools to automatically find a service resource that can work the shift, leave the
Service Resource field blank. This field is automatically populated when the shift is scheduled.
j. Select a status.
409
Salesforce Field Service Add Field Service Shifts
Option Description
Tentative The shift is tentatively defined. This is a good status to use when the time period for when coverage is
needed is defined on the shift but you haven’t yet decided on or assigned a service resource.
Published The shift manager is ready to publish the shift to service resources. This status is optional and can be
helpful if you’ve assigned a service resource to the shift but you aren't ready for the scheduling engine
to consider the shift as the resource’s availability to be assigned a service appointment.
Confirmed The shift has an assigned service resource. The scheduling engine considers confirmed shifts. This status
is correct when you’re ready for the scheduling engine to consider the shift as the resource’s availability
to be assigned a service appointment.
SEE ALSO:
Build Repeating Shift Patterns
Field Service Guidelines for Shift Availability
USER PERMISSIONS
410
Salesforce Field Service Add Field Service Shifts
6. Optionally, select a service territory. If you select a territory, you can also assign a service resource.
7. Click Create Shifts.
SEE ALSO:
Build Repeating Shift Patterns
Field Service Guidelines for Shift Availability
411
Salesforce Field Service Define Which Appointments Can Be Scheduled During Shifts
USER PERMISSIONS
412
Salesforce Field Service Define Which Appointments Can Be Scheduled During Shifts
SEE ALSO:
Guidelines for Recordset Filter Criteria
Keep these considerations in mind when you create and edit recordset filter criteria. The Field Service core
features, managed
• Only Recordset Filter Criteria marked Active are used in scheduling.
package, and mobile app
• When you add multiple filter conditions, only appointments matching all the conditions can are available in Enterprise,
be scheduled. Unlimited, and Developer
Editions.
• The Value input changes depending on the service appointment field you choose. For example,
When the managed
picklist fields show the list of available choices.
package is installed,
• You can’t match on text field values that include apostrophes (’), commas (,), or double scheduling and optimization
quotation marks (”). consider shift availability.
Confirmed shifts appear on
• Users without access to a service appointment field used in a filter condition don’t see the field the Gantt.
name or value. They also can’t edit or delete the filter condition.
• When you use inline edit on a recordset filter criteria, the filter conditions are shown in the USER PERMISSIONS
related list. You can manage filter conditions individually from the related list. Or to see all the
filter conditions in one place, use the Edit action. To view, create, and update
recordset filter criteria for
• The Recordset Filter Criteria field must be added to the Shift page layout. shifts
• View, create, and edit on
• After you add a custom field to the filtered object, it can take around 15 minutes for the new Recordset Filter Criteria
field to appear in the Criteria Field picklist. and Recordset Filter
• You can add a maximum of 5 considerations to the Recordset Filter Criteria field. Criteria Rules
• The asset fields Availability, Reliability, Average Time to Repair, and Average Time Between AND
Failures are calculated internally, so they can’t be used to define Usage-Based, Usage-Counter, View on the filtered
or Usage-Duration rule types. object, source object,
and filtered object’s
fields
Guidelines for Custom Logic AND
• Build the filter logic with parentheses and the AND or OR Boolean operators. To group conditions, Delete on Recordset
use parentheses around the parameters, for example 1 AND (2 OR 3). If you add another Filter Criteria Rules
condition, the custom logic is updated automatically to 1 AND (2 OR 3) AND 4.
• Every index must have a corresponding recordset filter criteria rule, but every rule doesn’t need
to be used in the custom logic.
• If no custom logic is defined, all recordset filter criteria rules are treated with an AND, meaning all conditions must be True.
413
Salesforce Field Service Assign and Update Field Service Shifts
• You can’t delete a recordset filter criteria rule that’s referenced in custom logic. Alternatively, you can follow these steps:
1. Update RFC.CustomLogic as empty, or remove the index reference in custom logic.
2. Delete the recordset filter criteria rule.
3. Update RFC.CustomLogic with the correct value.
SEE ALSO:
Field Service Guidelines for Shift Availability
Define Which Appointments Can Be Scheduled During Shifts
414
Salesforce Field Service Assign and Update Field Service Shifts
415
Salesforce Field Service Assign and Update Field Service Shifts
416
Salesforce Field Service Color-Code Field Service Shifts
• Within a shift, the shift cell preview updates only if a service resource is assigned.
417
Salesforce Field Service Nonstandard Field Service Shifts
418
Salesforce Field Service Field Service Guidelines for Shift Availability
• Add the Timeslot Designated work rule to the scheduling policy for scheduling and
optimization to respect shift and time slot designations. The Overtime field in the Service
Resource Availability work rule enables scheduling service appointments on Extended shifts. You may need to add the Overtime
field to the layout.
• Shift availability (Extended or Normal) must correspond across all of a resource’s service territories.
• Add the Limit Non-Standard Shifts scheduling rule to balance less desirable shifts amongst your team. The Non-Standard field
on shifts marks the shift as nonstandard.
Shifts with a specified service territory
• When you create a shift with a specified service territory, the shift’s time span must be fully contained within the service resource's
primary service territory membership for that territory.
Shifts without a specified service territory
• When you want to define workforce availability across many territories, create the shift without a specified territory. A shift
without a specified service territory must be fully contained in a primary service territory membership (STM). It adds availability
in all territories based on territory memberships; availability is added where the shift intersects service territory memberships.
419
Salesforce Field Service Field Service Guidelines for Shift Availability
420
Salesforce Field Service Manage Field Service Resources
SEE ALSO:
Guidelines for Creating Operating Hours for Field Service
Guidelines for Recordset Filter Criteria
Guidelines for Creating Service Territories for Field Service
Reserve Time Slots for Designated Types of Work
421
Salesforce Field Service Get Started with Field Service Time Sheets
SEE ALSO:
Create Service Resources for Field Service
Service Resource Fields for Field Service
Note: When a mobile worker submits a time sheet, it initiates your approval process. If you don't have an approval process
set up, workers can't submit their time sheets.
422
Salesforce Field Service Get Started with Field Service Time Sheets
USER PERMISSIONS
423
Salesforce Field Service Get Started with Field Service Time Sheets
a. For Label, enter a descriptive name for the template so that you can distinguish it from others.
b. For Name, enter an API name for the template that uses underscores instead of spaces.
c. 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.
d. 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.
e. For Work Week Start Day, select the day that you want each work week to begin on.
f. For Work Week End Day, select the day that you want each work week to end on.
g. Enter a description for the time sheet template.
h. Mark the time sheet template as Active.
Note: Time sheets are automatically created only if the template is marked Active.
424
Salesforce Field Service Get Started with Field Service Time Sheets
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.
Note: 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 sheets:
• 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.
SEE ALSO:
Time Sheet Fields
425
Salesforce Field Service Create Service Resource Absences for Field Service
Note: Gantt labels aren’t available on Break resource absence or Recurring absence types.
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 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.
If you're using Enhanced Scheduling and Optimization and there’s no address on the resource absence, optimization and scheduling
actions use the location of the last event (Service Appointment or Resource Absence) that has a location to calculate the travel time to
the next event. If the resource absence overlaps with the shift end, the resource’s home base location is used to calculate the travel time.
If you're not using Enhanced Scheduling and Optimization and there’s no address on the resource absence, optimization uses the
resource’s home base to calculate travel time to the next service appointment. For a more precise travel estimate, add an address to the
absence, such as the location of the previous appointment or an address for the break.
Non Availability absences are shown on the Gantt with a “no entry” icon, while Break absences are shown with a cup icon. To customize
the color of a resource absence on the Gantt, update the Gantt Color field.
Note: Only Non Availability and Break record types are shown on the Gantt. Records using a custom record type on the Resource
Absence object aren’t shown on the Gantt.
426
Salesforce Field Service Create Service Resource Absences for Field Service
With Enhanced Scheduling and Optimization, a lunch break is created when there's a full-day resource absence.
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.
SEE ALSO:
Work with Resource Absences
View a Field Service Resource’s Calendar
Create Resource Absences in the Field Service Mobile App
Work Rule Type: Service Resource Availability
Service Resource Fields for Field Service
427
Salesforce Field Service View a Field 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. See Field History Tracking.
A truck icon signifies an appointment. An 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. The pane shows the travel profile with details such as
the vehicle type and the route according to the selected travel mode. For example, quickly see whether the route includes the use of
toll roads or whether hazmat considerations exist. The travel profile is shown when you’re using Enhanced Scheduling and Optimization
and a travel mode is assigned to that territory or territory member. To zoom in on an appointment, hover over the appointment number
in the pane and click Center on Map.
428
Salesforce Field Service View a Field Service Resource’s Daily Travel Route
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.
SEE ALSO:
Set Up Routing for Travel Time Calculations
Track Service Resource Geolocation with the Field Service Mobile App
Set Up Travel Modes
429
Salesforce Field Service View a Field Service Resource’s Calendar
USER PERMISSIONS
430
Salesforce Field Service View a Field 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.
431
Salesforce Field Service Geolocation-Based Actions
Geolocation-Based Actions
Learn about the workflows that you can automate to help you manage mobile workers.
EDITIONS
You can trigger geolocation-based actions by using any one of these options.
Available in: both Salesforce
• Platform Alerts on page 432
Classic (not available in all
• Quick Actions on page 432 orgs) and Lightning
• View Records on page 433 Experience
432
Salesforce Field Service Geolocation-Based Actions
SEE ALSO:
Set Up Geolocation-Based Actions for Field Service Mobile Workers
433
Salesforce Field Service Manage Field Service Crew Membership
USER PERMISSIONS
434
Salesforce Field Service Manage Field 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.
435
Salesforce Field Service Manage Field 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.
436
Salesforce Field Service Manage Field Service Crew Membership
• To filter crews by skills, click the crew filter icon. Then, search for and select the required skills.
• Search for crews and crew members. You can search for multiple resources by separating the names with a comma. Each crew
is marked with a different color on the Gantt.
• 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.
437
Salesforce Field Service Manage Field Service Crew Membership
438
Salesforce Field Service Manage Field Service Appointments
Note: If you're not using Enhanced Scheduling and Optimization, when creating a service crew membership, align it with
the resource’s start of day. We recommend using 00:00 because it aligns with Field Service’s default Start of Day. 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.
Edit or Delete Crew Membership
Double-click a crew membership in the chart to edit its dates, make the resource the crew leader, or delete the membership.
SEE ALSO:
Set Up Crew Management
Create Service Crews
Considerations for Scheduling Service Crews
View Service Crews on the Gantt
439
Salesforce Field Service Manage Field Service Appointments
SEE ALSO:
Customize Appointment Booking Settings
440
Salesforce Field Service Create Service Appointments for Field Service
Note: When creating an appointment, define any important SLAs or constraints that can
impact the scheduling of the appointment. For example, define Skill Requirements on the
work order to ensure that the job is assigned to a qualified service resource, define an Early
Start and Due Date on the appointment to ensure the job is scheduled within the proper
time-frame SLA. And, define an address that is properly geocoded to a valid geolocation to
ensure travel time is accurately calculated when scheduling. All of these details determine
whether the appointment can be scheduled, when the appointment can able to be scheduled,
to which service resource, and other factors.
Note:
• 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 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 are auto-created for the crew members, and the assignment details are displayed correctly in the dispatcher console.
441
Salesforce Field Service Create Service Appointments for Field Service
When the mobile worker 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. This information is helpful for auditing and auditing and reporting purposes after the work is completed. In
addition, mobile workers can enter the minutes it took to travel to the appointment in the Actual Travel Time field on their assigned
resource record.
SEE ALSO:
Service Appointment Fields for Field Service
442
Salesforce Field Service Create Service Appointments for Field Service
Create bulk Service Appointment records, Use maintenance plans to create service • Admin
for example, create unscheduled appointments based on given intervals • Dispatcher
maintenance work. and criteria.
You can then use mass (bulk) schedule or
optimization to schedule the service
appointments.
Create pre-planned work, for example, Use Data Loader to import records. • Admin
work coming from an external system that
Create service appointments using an • Dispatcher
needs to be scheduled.
Apex class that an external system can call
through a web service so that service
appointments can be created through
integration.
You can then use mass (bulk) schedule or
optimization to schedule the service
appointments. Or use Get Candidates or
Book Appointments Visualforce actions
available on the Work Order page layout
to schedule each appointment individually.
Create Service Appointment records based Use automation tools, such as Flow, or • Admin
on a certain scenario or required criteria. programmatic processes such as an Apex
trigger and Apex class to create records
based on your business logic.
Note: On the Service Appointments related list on a service resource record, you can’t create appointments, but you can
assign the resource to existing appointments.
Delete Service Appointments
If an appointment is canceled, you can delete the appointment or change its status to Canceled. Deleting a parent record, like a
work order, deletes its child service appointments.
Associate Service Appointments with Other Records
Service appointments always have a parent record, which can be a work order, work order line item, opportunity, account, or asset.
The parent record tells you about the nature of the service appointment:
• Service appointments associated with work orders and work order line items offer a more detailed view of the work being
performed. In addition, this association enables you to use more of the Field Service provided scheduling logic, such as skill
requirements, resource preferences, and other entities that are available only when a work order or work order line item is used.
We recommend you use the work order or work order line item as the parent record for a service appointment. If necessary,
associate assets and accounts to the work order or work order line item through related fields and lists, instead of making assets
and accounts the service appointment parent record. While work orders and work order line items let you enter general information
about a task, service appointments track scheduling and ownership. If you select Auto-Create Service Appointment on a work
443
Salesforce Field Service Schedule Service Appointments for Field Service
type, a child service appointment is added to all work orders or work order line items that use the work type. In scheduling and
optimization, service appointments are scheduled according to your settings.
SEE ALSO:
Service Appointment Fields for Field Service
444
Salesforce Field Service Schedule Service Appointments for Field Service
SEE ALSO:
Create Service Appointments for Field Service
Unschedule Field Service Appointments
Reschedule Service Appointments in Field Service
Customize Appointment Booking Settings
445
Salesforce Field Service Schedule Service Appointments for Field Service
USER PERMISSIONS
To schedule an appointment
using the Book Appointment
or Candidates action:One of
these custom permission
sets:
• Field Service Admin
Permissions
• Field Service Agent
Permissions
• Field Service Dispatcher
Permissions
446
Salesforce Field Service Schedule Service Appointments for Field Service
447
Salesforce Field Service Schedule Service Appointments for Field Service
Candidates Typically, only support agents. Appointment time slots, organized by service resource. The time
slots are based purely on empty space in mobile worker schedules,
not arrival windows, making this action ideal for appointments
where no coordination is needed with the customer.
448
Salesforce Field Service Schedule Service Appointments for Field Service
Note:
• Avoid putting the Book Appointment, Candidates, and Emergency chatter quick actions in Salesforce Classic Publisher
and Salesforce Mobile and Lightning Experience as the first actions in your page layout to prevent triggering these actions
every time a record is loaded.
• Adding global actions into flows using Lightning Web Components isn't supported.
3. If you’re creating an appointment for a work order or work order line item, leave the work type as is. It’s defined on the parent record
and can’t be updated from the Chatter action window.
The work type serves as a template that provides skill requirements, duration, and other data used in scheduling the work.
4. Optionally, update the address and service territory, which are typically inherited from the parent record.
Note: When an appointment isn’t geocoded with a latitude and longitude, Book Appointment geocodes it and formats the
address as follows.
Street number and Street name (the number is always first)
City, State, Zipcode
Country
5. To view time slots for yourself only, click Assign to Me. You see this option if you’re associated with a service resource record and
the default scheduling policy includes a Required Resources work rule.
6. If you clicked Book Appointment:
a. To change the earliest start permitted and due date, click Show more options.
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
449
Salesforce Field Service Schedule Service Appointments for Field Service
Candidates Window
450
Salesforce Field Service 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.
• Pinned service appointments can't be rescheduled using the Book Appointment, and Get Candidates scheduling actions.
• Choosing the same or adjacent appointment slots at the same time can create overlaps on the dispatch console. Service
appointment overlaps can occur if there are long-running customizations. We recommend such customizations be asynchronous.
Travel or lunch break overlaps can also occur. Contact your Salesforce rep to change the custom setting that checks for
appointment changes during the entire day, and prevents travel overlaps. In this case, false positive errors can occur if there’s
no real overlap.
• Book Appointment ignores the arrival window defined on the service appointment so you can get different arrival window
times. Get Candidates respects the arrival window on the service appointment if the scheduling policy includes a Match Time
Rule for the arrival window fields (Scheduled Start and Scheduled End work rules).
SEE ALSO:
Service Appointment Fields for Field Service
Set Up Sliding and Reshuffling for Scheduling and Appointment Booking
Book and Schedule Appointments by Using Priorities
Schedule Appointments from the Dispatcher Console
451
Salesforce Field Service Schedule Service Appointments for Field Service
452
Salesforce Field Service Schedule Service Appointments for Field Service
Note: When you’re using Enhanced Scheduling and Optimization, if sliding or reshuffling is enabled, you can schedule critical
appointments even when the Gantt seems to be full. Depending on the Sliding and Reshuffling option selected in Field Service
Settings, you can use the Schedule action on an appointment to slide scheduled appointments to the left (earlier) or right (later)
and make room for a new appointment. If you select Sliding and Reshuffling, the Schedule action can also move preexisting
appointments to other days or to another resource to schedule the appointment. Also, if you select Schedule over lower priority
appointment for an appointment, the Schedule action can drop a lower-priority appointment from the schedule.
SEE ALSO:
Working in the Field Service Dispatcher Console Appointment List
Schedule Appointments from the Record Feed
Set Up Sliding and Reshuffling for Scheduling and Appointment Booking
Book and Schedule Appointments by Using Priorities
453
Salesforce Field Service Schedule Service Appointments for Field Service
Auto Schedule tries to find the best slot for the appointment. It’s then deselected in the appointment record regardless of whether
scheduling is successful.
454
Salesforce Field Service Schedule Service Appointments for Field Service
• Enable Enhanced Scheduling and Optimization at least for the territories that get the Apex CPU
timeout exception. Enhanced Scheduling and Optimization calculates the time slots in a service outside the Salesforce org where
no CPU timeout limits apply.
• Filter out as many candidates as possible using more Database work rules in your scheduling policy. Database rules are applied at
the SOQL query clause level. These rules immediately disqualify resources and query only the resources that you need, so performance
isn’t impacted. The database work rule types include:
– Match Territory
– Working Territories
– Maximum Travel from Home
– Extended Match
• Reduce the horizon of the Appointment Booking and Get Candidates operations. You can change the horizon per service appointment
by decreasing the gap between the Due Date and the Earliest Start Time, or it can be changed for all your users in Field Service
Settings under Scheduling in the General Logic tab. Select the maximum days to get candidates or book an appointment.
• For Appointment Booking, reduce the number of time slots in the operating hours used for appointment booking.
• Enable async logic for problematic service appointments by selecting Use Async Logic on the service appointment, available when
you’re not using Enhanced Scheduling and Optimization. Using async logic ensures the Appointment Booking calculation runs in a
future job with more CPU time, though the duration to retrieve slots isn’t guaranteed. Future jobs run when the platform decides
to do so, such that these jobs can be held in the queue for some time. The slots aren’t returned in the same transaction. The job
creates an FSL operation object that helps get the results when you’re using the OOTB FSL actions for Appointments Booking or Get
Candidates. If you’re using custom code for these actions, some development can be required to enable you to get the slots when
using async logic.
• Enable Limit Apex Operations in Field Service Settings, available when you’re not using Enhanced Scheduling and Optimization.
Limiting Apex operations restricts processing time for the specific scheduling operation, terminating the process when the specified
percentage of the timeout limits is reached. The outcome comprises results that have completed processing within the stipulated
timeframe. The OOTB UI and API clearly indicate partial processing of results, including the number of service resources completed
and the total count of resources involved.
455
Salesforce Field Service Schedule Service Appointments for Field Service
456
Salesforce Field Service Schedule Service Appointments for Field Service
3. From the object management settings for service appointments, go to Field Sets and click Complex Work Lookup Fields to define
the lookup fields available for selection when users create dependencies between appointments. By default, the available lookup
fields are Account and Parent Object.
4. Enable complex work for service territories that aren’t using Enhanced Scheduling and Optimization. If complex work isn’t enabled,
you can create relationships between appointments, but scheduling operations aren’t supported. This step isn’t required for service
territories using Enhanced Scheduling and Optimization.
a. From the App Launcher, find and open the Field Service Admin app, and then click the Field Service Settings tab.
b. Click Scheduling > General Logic.
c. Under Complex Work, select Enable complex work.
457
Salesforce Field Service 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 scheduling dependencies with three or more appointments.
5. Optionally, to control which fields are shown in the search results, modify the Service Appointments List Columns field set.
Note: For dependency types Start After Finish and Start After Finish and Same Day, you can also add a Same Resource
dependency.
458
Salesforce Field Service Schedule Service Appointments for Field Service
The agent wants the same person to do both assignments, so they select Assign appointments to the same service resource.
After the agent adds the dependency, it’s visible in a diagram and listed in the Scheduling Dependencies section.
But the technician can’t fix the skylight alone. They need the right glass for the skylight. A second appointment, “Deliver skylight
glass” (SA-005) must start at the same time as appointment SA-003 to fix the skylight. So the agent selects the two appointments
and chooses the Same Start dependency type. After the agent adds the dependencies, all three appointments are visible in the
diagram (1) and the two dependencies are listed in the Scheduling Dependencies section (2).
459
Salesforce Field Service Schedule Service Appointments for Field Service
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.
460
Salesforce Field Service Schedule Service Appointments for Field Service
General Limitations
• Experience Cloud site dispatchers can access this feature only when using Enhanced Scheduling and Optimization.
• You can’t assign capacity-based resources to appointments that are part of an appointment dependency group. Dispatchers can
manually drag service appointments to capacity-based resources, but scheduling and optimization don’t schedule those appointments.
You can manually schedule the appointments.
• The combination of multiday scheduling and complex work isn’t supported. If a multiday service appointment is part of a scheduling
dependency, its scheduled end date isn’t calculated when the appointment is scheduled.
Complex Work for Service Territories Using Enhanced Scheduling and Optimization
• Scheduling and optimization processes use all-or-none logic to ensure that all appointments in a scheduling dependency are
scheduled.
• If one service appointment in a complex work chain is pinned but unscheduled, for example, if it’s canceled or waiting for parts, the
entire chain can’t be scheduled. Pinned and scheduled appointments within this chain remain scheduled.
• If you use the Same Resource dependency option, the assigned service resource must have a valid service territory membership in
each territory where the work occurs.
• Service appointments can overlap on the Gantt in these cases.
– If a dependent appointment is pinned, the scheduling logic looks for time on the Gantt to add the dependent appointments.
Because the pinned appointment isn’t flexible, it can cause overlaps, for example with travel times.
– If a dependent appointment is pinned and overlapping with an appointment, break, or travel time, complex work doesn’t try to
schedule the other appointments in the dependency group. The overlap remains.
• Enhanced Scheduling and Optimization supports up to five service appointments in a dependency group. You can create a dependency
group with more than five service appointments for dispatchers to manually schedule.
• When a service resource has primary and secondary service territory memberships within different time zones, the Same Day
dependency is calculated according to the primary service territory’s time zone. Therefore, the engine can schedule service
appointments with Same Day dependencies that span over midnight of the secondary service territory’s time zone.
461
Salesforce Field Service Schedule Service Appointments for Field Service
• These fields associated with the Service Appointment object don’t apply to Enhanced Scheduling and Optimization.
– Time Dependency
– Same Resource
– Same Day
– Related Service
• If both Enhanced Scheduling and Optimization and the Sliding and Reshuffling option are enabled:
– When you try to schedule a complex work chain, other appointments can only slide to earlier or later in the day. They can't be
reshuffled or dropped.
– When you try to schedule a high-priority service appointment, scheduled complex work chains can’t be reshuffled or dropped,
even if they have a lower priority.
Complex Work for Service Territories Not Using Enhanced Scheduling and Optimization
• Service territories without Enhanced Scheduling and Optimization use all-or-none logic only when you select Use all-or-none
scheduling for related appointments.
• To be considered for Same Resource dependencies, each service resource must have a single service territory membership. A set of
dependent appointments can’t span different service territory memberships.
• You can create dependencies between more than two appointments, except for consecutive work. However, when you schedule
the appointments, dependencies are enforced for only two appointments at a time, even if you select Use all-or-none scheduling
for related appointments.
• For dependencies that include more than two service appointments, scheduling and optimization don’t guarantee that all the
dependent appointments are scheduled. For example, in a set of four dependent appointments, the first two appointments can be
scheduled but not the third or fourth.
• Scheduling operations (such as Get Candidates, Book Appointment, or the Schedule action) don’t necessarily consider all dependencies
in a set of appointments. If some appointments aren’t scheduled it can result in rule violations.
• If an appointment in a dependency group with three or more appointments is scheduled, when optimization runs it considers those
appointments as pinned. Optimization doesn’t schedule, reschedule, or unschedule those appointments.
• Complex work uses point-to-point predictive routing in optimization and uses the most optimistic street-level routing (SLR) travel
time in platform scheduling.
• These fields associated with the Service Appointment object are supported only when the Enable complex work setting is disabled.
When you’re using complex work, we recommend that you enable this setting and use the Appointment Dependencies object.
– Time Dependency
– Same Resource
– Same Day
– Related Service
462
Salesforce Field Service Schedule Service Appointments for Field Service
• For service territories that don’t use Enhanced Scheduling and Optimization, scheduling and optimization doesn’t support predictive
travel, crews, resource efficiencies, reshuffle actions, fixed gaps, or multiday work with consecutive work appointments.
• Breaks aren’t supported, except for service territories that use Enhanced Scheduling and Optimization. In that case, scheduling can
insert a lunch break between consecutive appointments.
• If you reschedule consecutive appointments for service territories that don’t use Enhanced Scheduling and Optimization, the
scheduling logic doesn’t consider the second appointment’s original slot as an available slot.
• If the first appointment is scheduled successfully but not the second, scheduling and optimization doesn't unschedule the first
appointment. This limitation applies in service territories that don’t use Enhanced Scheduling and Optimization. In territories that
use Enhanced Scheduling and Optimization, scheduling is all-or-none, so all or none of the consecutive appointments are scheduled.
• When you schedule a service appointment with an Immediately Follow dependency for service territories that don’t use Enhanced
Scheduling and Optimization, the second service appointment’s properties are ignored except for Duration, Location, Scheduled
Start, and Scheduled End. Instead, optimization uses the properties of the first service appointment in the complex work chain.
• When you manually schedule (drag) a service appointment with an Immediately Follow dependency for service territories that don’t
use Enhanced Scheduling and Optimization, the second service appointment is automatically scheduled, such that the appointments
are back-to-back. When you unschedule a service appointment with an Immediately Follow dependency, the second service
appointment is automatically unscheduled. For service territories that use Enhanced Scheduling and Optimization, all complex work
is handled the same, regardless of the dependency type. When you manually schedule (drag) or unschedule a service appointment
that is part of a complex work chain, it doesn’t affect any of the other service appointments in the chain.
• When you’re using Enhanced Scheduling and Optimization and a chain has a consecutive work dependency together with a
dependency that requires additional resources, some candidates aren't always identified by the engine when you schedule service
appointments through scheduling, get candidates, or appointment booking operations.
SEE ALSO:
Complex Work in Field Service
Enable Multiday Field Service Appointments
463
Salesforce Field Service Schedule Service Appointments for Field Service
This is a Field Service managed package feature. The Field Service core
features, managed
This topic covers:
package, and mobile app
• How Priorities Work on page 464 are available in Enterprise,
• Set Up Priorities on page 465 Unlimited, and Developer
Editions.
• Scheduling Prioritized Appointments When Using Enhanced Scheduling and Optimization on
page 466
• Scheduling Prioritized Appointments When Not Using Enhanced Scheduling and Optimization USER PERMISSIONS
on page 466
To set up scheduling
• Considerations When Scheduling Using Priorities on page 466 priorities and customize the
service appointment page:
• FSL Admin custom
How Priorities Work permission set
Field Service behavior differs depending on the optimization type you’re using and the features To schedule from the
you’ve enabled. dispatcher console: One of
these custom permission
ENABLED FEATURES RESULT EXCEPTIONS HOW IT WORKS sets:
• FSL Admin Permissions
With Enhanced • When scheduling A service appointment • Slide a service
• FSL Agent Permissions
Scheduling and appointments, the isn’t dropped if it: resource’s
Optimization: • FSL Dispatcher
appointments • Has a lower or appointments on Permissions
• Sliding and with lower or equal priority the Gantt.
Reshuffling on equal priorities can And • If there’s no
page 145 be dropped from availability,
• Schedule over the Gantt. • Is in a pinned reshuffle
lower priority • When status or is defined appointments to
appointment appointment as keep scheduled another day or to
booking is used, another resource.
you can be offered • If there’s still no
slots, that if availability, search
booked, can drop for lower-priority
lower-priority or or equal-priority
equal-priority appointments that
appointments can be dropped
from the Gantt. from the Gantt.
• If a solution wasn’t
found, the
appointment isn’t
scheduled and no
464
Salesforce Field Service Schedule Service Appointments for Field Service
Without Enhanced Scheduling When scheduling appointments If a service appointment has a Lower priority appointments are
and Optimization: or using get candidates, lower priority and is in a pinned ignored, leading to possible
Schedule over lower priority appointments with higher status, it isn’t dropped from the overlaps.
appointment priorities can be booked over Gantt and a higher-priority
appointments with lower appointment isn’t booked over
priorities, causing an overlap. it.
Set Up Priorities
If you have just a few urgent appointments, you can use priorities with scheduling actions, such as Get Candidates, Book Appointments,
or Schedule. Identify what drives your priorities first. Then you’re ready to configure Field Service so that scheduling actions can prioritize
visits.
1. Specify a priority field.
a. From the App Launcher, find and select Field Service Admin.
b. Click the Field Service Settings tab.
c. Under Scheduling, click General Logic.
d. Under Scheduling Priority, select a priority field. You can select one or more fields on service appointments, work orders, and
work order line items.
e. Assign a fixed priority. For example, the managed package provides the Scheduling Priority field on parent work orders and work
order line items. By default, Scheduling Priority values are 1 to 4, where 1 is Critical and 4 is Low.
f. Create a dynamic priority field by using a custom formula field. For example, create a formula that sets appointment priorities
based on the difference between today’s date and the due date.
Scheduling and optimization looks at the service appointment priority field first. If that field isn’t defined or empty, the appointment’s
priority is derived from the field on the parent work order or work order line item.
465
Salesforce Field Service Schedule Service Appointments for Field Service
3. Customize the service appointment page layout, and add the Schedule over lower priority appointment field. If you aren’t using
Enhanced Scheduling and Optimization and you enable this option, scheduling actions can schedule service appointments at the
same time as lower-priority appointments that are already scheduled, creating an overlap. If a lower-priority service appointment is
in a pinned status, other appointments aren't scheduled over it, and there's no overlap. If you’re using Enhanced Scheduling and
Optimization, enable Reshuffling and Sliding. Low-priority appointments are dropped instead of overlaps occuring.
Scheduling Prioritized Appointments When Not Using Enhanced Scheduling and Optimization
1. Open the appointment and select Schedule over lower priority appointment.
2. Click Schedule or Get Candidates.
3. If a higher-priority appointments are scheduled over lower-priority appointments, use scheduling recipes or in-day optimization to
resolve overlaps.
Example: To schedule an urgent break-fix when the Gantt is full, 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 and schedule the appointment. If scheduling succeeds, the lower-priority
appointment is dropped from the Gantt so that the higher-priority appointment can be scheduled (added to the Gantt).
466
Salesforce Field Service Schedule Service Appointments for Field Service
• If both Enhanced Scheduling and Optimization and the Sliding and Reshuffling are enabled:
– When you try to schedule a complex work chain, other appointments can slide only to earlier or later in the day. The appointments
can’t be reshuffled or dropped.
– When you try to schedule a multiday service appointment, it can slide only to earlier or later in the day. Multiday appointments
can’t be reshuffled or dropped.
– When you try to schedule a high-priority service appointment, scheduled complex work chains can’t be reshuffled or dropped,
even if they have a lower priority.
– When you try to schedule a high-priority service appointment, multiday service appointments can’t be reshuffled or dropped,
even if they have a lower priority.
SEE ALSO:
Set Up Sliding and Reshuffling for Scheduling and Appointment Booking
Optimize Field Service Appointments Using Priorities
Manage Field Service Scheduling Overlaps
• If you’re having trouble finding a candidate, select a different scheduling policy directly on the map or modify your emergency
booking settings.
• 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.
Note:
• 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.
467
Salesforce Field Service Schedule Service Appointments for Field Service
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
home base is the resource’s service territory member address, or
if not applicable, their service territory address.
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.
468
Salesforce Field Service Schedule Service Appointments for Field Service
SEE ALSO:
Customize Field Service Appointment Chatter Settings
Service Appointment Fields for Field Service
This is a Field Service managed package feature. The Field Service core
features, managed
1. In Setup, go to Field Service Settings and make sure that Field Service Enhanced Scheduling
package, and mobile app
and Optimization is enabled.
are available in Enterprise,
2. To mark an appointment as offsite, select Offsite Appointment on the service appointment Unlimited, and Developer
record. For orgs created in Spring '23 and earlier you must add the Offsite Appointment field Editions.
to the Service Appointment page layout.
469
Salesforce Field Service Schedule Service Appointments for Field Service
Example: Before you send out a technician to a remote location, you try to resolve the customer’s issue by remote troubleshooting.
Mark the appointment as offsite before booking the appointment so that no travel time is calculated for that appointment.
The service resource map view shows the two appointments on the right side of the map marked as offsite, as no travel is calculated
to and from these appointments.
Do you want the technician to perform administrative tasks at the end of the day? Before scheduling the appointment, mark the
appointment as offsite.
To highlight the offsite appointments, consider using an icon by populating the Gantt Icon field on the appointment with a URL
pointing to an image. If an offsite appointment is the last appointment of the day, travel to the homebase is calculated.
SEE ALSO:
Service Appointment Fields for Field Service
470
Salesforce Field Service Unschedule Field Service Appointments
In the Gantt, select one or more appointments whose status you want to change. To select multiple The Field Service core
appointments, hold down Command or Control while clicking the appointments. Then, right-click features, managed
your selection, hover over Change status, and select a new status. package, and mobile app
are available in Enterprise,
Unlimited, and Developer
From a Service Appointment Record Editions.
Open a service appointment record or click Details on an appointment from the Gantt. From here,
you can change the status in two ways:
• 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.
SEE ALSO:
Service Appointment Fields for Field Service
Auto-Dispatch Service Resources
471
Salesforce Field Service Reschedule Service Appointments in Field Service
• In the dispatcher console appointment list, select one or more appointments. In the mass actions menu, select Unschedule.
• In the Gantt, right-click an appointment and select Unschedule. To select multiple appointments, hold down Control or Command
while clicking appointments. Unscheduling an appointment from the Gantt is the same as deleting the assigned resource record.
• From a service appointment details page, update the Status field to None.
Note: Deleting the assigned resource record associated with a service appointment, or unscheduling a service appointment from
the Gantt causes the service appointment status to switch to the None default value shown for New Service Appointment in the
managed package Field Service Settings > Service Appointment > Service Appointment Life Cycle > SA Status.
SEE ALSO:
Schedule Service Appointments for Field Service
Fix Field Service Scheduling Overlaps
• Select arrival windows by using Book Appointment. The Field Service core
• Select appointment scheduling options, organized by service resource by using Get Candidates. features, managed
package, and mobile app
You can let Field Service reschedule appointments for you. are available in Enterprise,
• Move appointments around while prioritizing higher-priority appointments by using Reshuffle. Unlimited, and Developer
Editions.
• Click Reschedule in the appointment list mini view. Appointments are rescheduled according
to the selected scheduling policy.
• Reschedule multiple appointments (Schedule on Mass) in the appointment list by clicking USER PERMISSIONS
Schedule. Appointments are rescheduled in order of priority.
To reschedule an
Use Cases appointment: One of these
custom permission sets:
Review which scheduling feature to use for each use case.
• FSL Admin Permissions
I WANT TO… WHAT STEPS DO I AVAILABLE FROM PERSONA • FSL Agent Permissions
TAKE? • FSL Dispatcher
Permissions
Choose a new arrival Book appointment Record feed Agent
window for a service
appointment and I
don’t mind which API
resource is assigned.
472
Salesforce Field Service Reschedule Service Appointments in Field Service
SEE ALSO:
Schedule Service Appointments for Field Service
Optimize a Single Field Service Resource’s Schedule
Optimize Today’s Field Service Schedule
What’s Available in ES&O
473
Salesforce Field Service Reshuffle Service Appointments in Field Service
474
Salesforce Field Service Manage Field Service Scheduling Overlaps
Fix Overlaps Features When Using Enhanced Scheduling and To fix overlaps from the
Dispatcher Console:
Optimization • Fix Overlaps
If you’re using Enhanced Scheduling and Optimization, several fix overlaps features are available.
• Fix Schedule Overlaps Flow (Beta): Using Salesforce Flow, you can initiate a Resource Schedule Optimization request when an overlap
is detected, based on event-driven criteria. The flow identifies and resolves overlaps that occur when a mobile worker finishes an
appointment late on the day of service. If service appointments can't be scheduled due to a lack of availability, higher priority work
and other objectives in the scheduling policy determine which service appointments to schedule and which to drop.
• Resource Schedule Optimization: Dispatchers can use this feature to reschedule appointments that overlap with other appointments
or absences, for one service resource’s schedule, on any given date. This feature can schedule additional relevant work and attempt
to further optimize a resource’s schedule in addition to fixing overlaps. If service appointments can't be scheduled due to a lack of
availability, higher priority work and other objectives in the scheduling policy determine which service appointments to schedule
and which to drop.
• In-Day Optimization and Global Optimization: When running global optimization or in-day optimization, overlaps are fixed regardless
of the status of the Fix Overlaps setting in the scheduling policy. Optimization always attempts to fix overlaps unless service
appointments are pinned. If service appointments can't be scheduled due to a lack of availability, higher priority work and other
objectives in the scheduling policy determine which service appointments to schedule and which to drop.
Fix Overlaps Features When Not Using Enhanced Scheduling and Optimization
If you’re not using Enhanced Scheduling and Optimization, several fix overlaps features are available.
• Scheduling recipes: This feature provides several configurable, event-driven automations to trigger a Resource Schedule Optimization
request. For example, you can create a scheduling recipe that triggers a Resource Schedule Optimization request when an appointment
ends late and causes an overlap with another appointment. If service appointments can't be scheduled due to a lack of availability,
higher priority work and other objectives in the scheduling policy determine which service appointments to schedule and which
to drop.
• Fix overlaps in the Gantt: Dispatchers can use this feature to reschedule appointments that overlap with other appointments or
absences, for one service resource’s schedule. Overlapping appointments are rescheduled according to your configured settings.
For example, choose whether unscheduled appointments are rescheduled in order of priority or keep the original schedule’s order.
If Field Service can’t find a valid schedule for an appointment, you can define whether to put the appointment in jeopardy, unschedule
475
Salesforce Field Service Manage Field Service Scheduling Overlaps
it, or reshuffle other assignments. This feature doesn’t schedule any additional work or optimize a resource’s schedule. Fixing overlaps
in the Gantt isn’t available when scheduling recipes are used.
• Fix Overlaps in scheduling policies: If you select Fix Overlaps in a scheduling policy, service appointment overlaps are addressed
during in-day or global optimization. Scheduling policies reschedule and fix service appointment overlaps for all resources in the
optimized territories. Service appointments that overlap with resource absences are ignored. If service appointments can't be
scheduled due to a lack of availability, higher priority work and other objectives in the scheduling policy determine which service
appointments to schedule and which to drop.
• Resource Schedule Optimization: Dispatchers can use this feature to reschedule appointments that overlap with other appointments
or absences, for one service resource’s schedule, on any given day. This feature considers the service appointment’s priority value,
and it can also schedule additional relevant work and attempt to further optimize a resource’s schedule in addition to fixing overlaps.
If service appointments can't be scheduled due to a lack of availability, higher priority work and other objectives in the scheduling
policy determine which service appointments to schedule and which to drop.
Use Cases
Review which feature to use for each use case and whether the feature is available with Enhanced Scheduling and Optimization.
Fix overlaps while optimizing the schedule. Overlaps are always Admin
fixed when using
enhanced
optimization (Global,
In-day or Resource
Scheduling
Optimization).
476
Salesforce Field Service Fix Field Service Scheduling Overlaps
Scheduling recipes
Scheduling recipes
SEE ALSO:
Fix Field Service Scheduling Overlaps from the Dispatcher Console
Customize Fix Overlap Scheduling Settings
Optimize Your Field Service Schedule
Reschedule Service Appointments in Field Service
Adopt and Implement Field Service Enhanced Scheduling and Optimization
477
Salesforce Field Service Customize Fix Overlap Scheduling Settings
2. Under Fix Overlaps, enable Automatically fix overlaps when an appointment overlaps with another appointment or
absence.
Considerations
• Fix Overlaps respects the original order of scheduled appointments. The earliest appointment remains the earliest and the last
remains last.
• 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 considers only service appointments in the Scheduled or Dispatched Status Category, except for the service
appointment that you move causing the overlap, which can have any status.
• Fix Overlaps doesn't run on past service appointments.
• Fix Overlaps isn’t supported for capacity-based resources.
• When Fix Overlaps unschedules and reschedules service appointments from the Gantt, it ignores the settings in the service appointment
lifecycle.
• When a service appointment is scheduled by Fix Overlaps, the appointment’s Schedule Mode is set to Automatic.
• Automated Scheduling (scheduling recipes) gives an optimized solution for Fix Overlaps scenarios. It allows you to run Resource
Schedule Optimization for the day of overlap and fill in new appointments when appointments finish sooner than planned.
• Fix Overlaps doesn't reschedule or unschedule service appointments in pinned statuses (as configured for scheduling) or service
appointments marked as pinned. If all of the overlapping service appointments have a pinned status, or their Pinned field is selected,
then Fix Overlaps isn't triggered.
SEE ALSO:
Manage Field Service Optimization
Reschedule Service Appointments in Field Service
Manage Field Service Scheduling Overlaps
Customize Fix Overlap Scheduling Settings
478
Salesforce Field Service Customize Fix Overlap Scheduling Settings
Setting Description
• Schedule to all resources: Consider all qualified service
resources when rescheduling appointments.
After unscheduling services reschedule them by Choose whether unscheduled appointments are rescheduled in
order of priority or in the original schedule’s order.
When unable to find a valid schedule for an appointment • Leave on Gantt and set 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 Reshuffling
Service Appointments in Field Service. If the Fix Overlaps feature
is in use, the Reshuffle other assignments option
is only partially supported for the 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.
SEE ALSO:
Fix Field Service Scheduling Overlaps from the Dispatcher Console
Manage Field Service Scheduling Overlaps
Optimize Today’s Field Service Schedule
Reschedule Service Appointments in Field Service
479
Salesforce Field Service Group Nearby Field Service Appointments
Setting Description
Service Appointment candidate Boolean field Select any standard or custom checkbox field, including formula
fields. This field must be selected (set to True) for an appointment
to be a candidate in appointment grouping.
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.
Max appointments to schedule When searching for nearby appointments, the scheduling engine
ends its search after finding 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.
480
Salesforce Field Service Group Nearby Field Service Appointments
Setting Description
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 in Field Service.
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.
SEE ALSO:
Manage Field Service Optimization
Reschedule Service Appointments in Field Service
Set Up Field Service Appointment Bundling
Manage Service Appointment Bundling in the Field Service Dispatcher Console
Optimize Today’s Field Service Schedule
Optimize a Single Field Service Resource’s Schedule
481
Salesforce Field Service Fill Schedule Gaps in Field Service
Setting Description
Service Appointment Candidate Boolean field Select any standard or custom checkbox field, including formula
fields. This field must be selected (set to True) for an appointment
to be a candidate in fill-in scheduling.
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.
Order candidate appointments by • Priority: Sort candidates based on their priority field, which is
set in Scheduling > General Logic . Distance is a secondary
consideration.
• Distance: Sort candidates based on their proximity to the
previous appointment, or if it’s the first appointment of the
day, on their proximity to the mobile worker’s home base. After
an appointment is scheduled, its location is used to calculate
distance. Priority is a secondary consideration.
Max appointments to schedule When searching for nearby appointments, the scheduling engine
ends its search after finding 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 be reached.
482
Salesforce Field Service Customize Field Service Appointment Chatter Settings
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 mobile worker 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.
SEE ALSO:
Manage Field Service Optimization
Reschedule Service Appointments in Field Service
Enable Service Appointment Sliding
Optimize Today’s Field Service Schedule
Optimize a Single Field Service Resource’s Schedule
483
Salesforce Field Service Dispatch Field Service Appointments
Note: To access Chatter from the Gantt, feed tracking must be enabled for the Service Appointment object. See Customize Chatter
Feed Tracking.
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 Gantt Chatter Post Destination field, select Service Appointment Feed (the default option) or Parent Record Feed.
4. Save your changes.
Note: To turn on in-app notifications for mobile app and Lightning Experience users, see Enable Field Service.
SEE ALSO:
Chatter in the Field Service Mobile App
Schedule Emergency Appointments
484
Salesforce Field Service Dispatch Field Service Appointments
3. Optionally, click Drip Feed and set up drip feed dispatching. Drip feed waits and dispatches The Field Service core
another appointment after the current appointment is complete. features, managed
package, and mobile app
4. Click Scheduled Jobs.
are available in Enterprise,
a. Select the option to mention assigned resources when they’re dispatched for an Unlimited, and Developer
appointment. This option isn't supported when dispatching a service appointment using Editions.
an automated process user.
b. Select the Chatter feed where the mention should appear. USER PERMISSIONS
c. Edit the provided Auto Dispatch job, or create one.
To set up a job for
d. Select territories that the job should use in dispatching service resources to appointments. dispatching:One of these
The job dispatches resources based on service territory memberships, not territories of custom permission sets:
service appointments. A job considers primary and relocation service territory memberships. • FSL Admin Permissions
e. Create a schedule when the job runs. • FSL Dispatcher
Permissions
f. Set filter criteria that selects which service appointments to consider.
g. Set a job horizon; that is, the number of days in advance to dispatch.
h. Enter a username that’s notified when the job runs.
Field Service replaces this username with the corresponding user’s email.
i. Click Save.
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.
SEE ALSO:
Drip Feed Field Service Appointments
Customize the Field Service Appointment Life Cycle
485
Salesforce Field Service Dispatch Field Service Appointments
SEE ALSO:
Auto-Dispatch Service Resources
486
Salesforce Field Service Manage Service Appointment Bundling in the Field Service
Dispatcher Console
USER PERMISSIONS
To manage bundles:
• Field Service Dispatcher
487
Salesforce Field Service Create a Field Service Bundle Manually
3. In the Bundle Appointments window, select Create bundle and select a bundle policy.
4. Save the bundle. The bundle is created only if all the service appointments comply with the configuration settings. If you receive an
error for any service appointment, remove it or change its details and try again.
5. To make the bundle eligible for multiday scheduling, select IsMultiday in the bundle service appointment.
When a bundle is created:
• Appointment list—The new bundle service appointment appears in the appointment list.
Indicates that the appointment is a bundle service appointment. When the bundle is scheduled, the icon also appears on the
Gantt.
• Gantt—If all the service appointments in the bundle are scheduled, assigned to the same resource, and on the same day, the bundle
is scheduled on the Gantt. If not, the bundle must be scheduled.
• Bundle tab of the bundle service appointment’s details window—If an Appointment Bundle Sort Policy is defined, the service
appointments are sorted according to the policy. If an Appointment Bundle Sort Policy isn’t defined, the service appointments are
sorted according to their due date in ascending order.
• Service Appointments tab—Shows the bundle information related to each bundle service appointment and bundle member service
appointment. This information can’t be edited.
488
Salesforce Field Service Schedule a Field Service Bundle
The Bundle Information fields can’t be selected to display in a list view. See Appointment Bundling Limitations
Use the Exclude Bundle Members filter to view only bundle service appointments on the dispatcher The Field Service core
console Gantt. Filtering lets you focus on scheduling bundle appointments without being distracted features, managed
by bundle member appointments. package, and mobile app
are available in Enterprise,
Note: You can create custom filters according to your organization’s needs. If you want to Unlimited, and Developer
create custom filters related to bundles, ask your Salesforce admin to add the Bundle and Editions.
Bundle Member fields to the Field Sets on the Service Appointment object. You can then use
these fields in criteria for custom filter views with the dispatcher console.
USER PERMISSIONS
To manage bundles:
• Field Service Dispatcher
489
Salesforce Field Service Add Members to a Field Service Bundle
USER PERMISSIONS
To manage bundles:
• Field Service Dispatcher
490
Salesforce Field Service View or Modify a Field Service Bundle
USER PERMISSIONS
To manage bundles:
• Field Service Dispatcher
If this service appointment is a bundle member, the BUNDLE tab shows the details of the bundle service appointment and lists the
additional bundle member service appointments.
6. To remove a bundle member, click Remove, or select multiple bundle members and click Remove Members.
If the bundle is pinned, you can’t remove bundle members.
If you need to change bundle member service appointments, we recommend that you unbundle the Bundle appointment, edit the
service appointments that were bundle members, and then rebundle the appointments. Bundling again allows backend logic and
calculations to rerun so that the Bundle appointment is created with the correct duration and skill requirements, defined by appointment
bundle aggregations.
491
Salesforce Field Service Unbundle a Field Service Appointment Bundle
Bundle members in the Canceled status and bundle members with scheduling dependencies are automatically removed from the
bundle. If you want the status of the removed bundle members to remain Canceled, in the Appointment Bundle Config, take both of
these actions:
• Bundle Statuses to Propagate—If the list is empty, leave it empty. If statuses are already in the list, add the Canceled status.
• Bundle Member Statuses not to be Propagated—Add the Canceled status to the list.
SEE ALSO:
Create an Appointment Bundle Config
To manage bundles:
• Field Service Dispatcher
Results of Unbundling a Bundle
When you unbundle a bundle, pay attention to the following behavior.
• The bundle service appointment is deleted.
• The bundle members appear as individual service appointments in the appointment list.
• If the bundle is scheduled, the bundle members remain on the Gantt as individual service appointments.
• If the bundle is scheduled and an appointment bundle sort policy of type Sort Within a Bundle is defined, the service appointments
are scheduled according to the policy. If a policy of this type isn’t defined, the service appointments are scheduled according to their
due date in ascending order.
• If the bundle is scheduled, and an appointment bundle aggregation duration downscale policy is defined, each service appointment
in the bundle gets its slot on the Gantt according to the following formula: (original bundle member duration ÷ original total duration
of all the bundle members) × duration of the bundle after the downscale.
For example:
1. Three 60-minute service appointments were bundled.
2. According to the appointment aggregation duration downscale policy used in the bundle policy chosen when you bundled
the appointments, the duration of the bundle members from the second bundle member was reduced by 10% to 54 minutes
each. We now have a bundle with a duration of 168 minutes. The downscaled duration is visible only in the bundle’s duration,
not in the bundle members’ duration.
492
Salesforce Field Service Manage Your Field Service Inventory
SEE ALSO:
Set Up Your Field Service Inventory
493
Salesforce Field Service Common Field Service Inventory Management Tasks
Find out what’s in Look at the Product Items related list To find out what is stored in
a particular on the location record. Warehouse A, look at the Product
location’s Helpful links: Items related list on the Warehouse A
inventory location record.
• Create Inventory Locations for
Field Service
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.
Specify that a Create a record in the Products To let the assigned technicians know
certain part is Required related list on the work that they need a forklift to complete
needed to order. work order #00046982, create a
complete a work Helpful links: product required for the Forklift
order product on the work order.
• Track Required Inventory in Field
Service
494
Salesforce Field Service Common Field Service Inventory Management Tasks
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 in Field Service 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 in Field Service inventory, leave the Source Location and Source
• Transfer Inventory in Field Service 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.
Indicate that parts from Create a product consumed record on the related You used 15 bolts from your service van, Service Van
your inventory were work order. A, to complete work order #00046982. To track the
consumed while Helpful links: consumption, create a product consumed record on
completing a work order the work order with these settings:
• Track Inventory Consumption in Field Service
• Product Item: Service Van A Bolts
• Guidelines for Consuming Inventory
• Quantity Consumed: 15
The product item quantity is automatically reduced
by 15 to reflect that the bolts are no longer in stock.
495
Salesforce Field Service Common Field Service Inventory Management Tasks
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 in Field Service
• 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 in Field Service 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.
496
Salesforce Field Service Track Required Inventory in Field Service
497
Salesforce Field Service Request Inventory in Field Service
498
Salesforce Field Service Transfer Inventory in Field Service
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.
SEE ALSO:
Product Request and Transfer Fields
Set Up Product Requests in the Field Service Mobile App
3. Enter the quantity to transfer 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.
Note: 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 that includes the product items' transfer.
6. Enter the destination, 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 these fields: Received By, Quantity Received, and Status.
After you mark a product transfer received, you can’t undo it.
499
Salesforce Field Service Transfer Inventory in Field Service
When a product transfer is marked received, several records are updated or created to keep your inventory numbers accurate. To learn
more, see Guidelines for Transferring Inventory.
SEE ALSO:
Product Request and Transfer Fields
Transfer serialized products to optimize inventory costs and ensure technicians have the right parts for their work.
1. Create and send a product transfer.
a. From the App Launcher, open Product Transfers and click New.
b. Enter the Product Name, Quantity Sent, Source Location, and Destination Location.
c. To select the Source Product Item, enter an exact or partial serial number. If you enter a partial number and press Enter, the
Product Item Results page displays. Use the Search to enter an exact or partial serial number (SP-XX) or search by Product Item
Results Search. You can page through up to 50 results at a time. A maximum of 2,000 results are returned.
d. Click Save and the product transfer is saved. You’re prompted to add serialized products. If the product item is unavailable at
the source location, no serialized products are displayed. To add serialized products to the product transfer later, click Cancel.
To add serialized products later, on the Product Transfers page, select Edit on the product transfer that you want to update.
e. Select the serialized products that you want to send in the product transfer.
500
Salesforce Field Service Transfer Inventory in Field Service
f. To send the product transfer, click Add. When the product transfer is sent, a serialized product transaction with a transaction
type of Sent is created for each serialized product to track its status change.
501
Salesforce Field Service Transfer Inventory in Field Service
destination product items, a product item transaction record is created. The record shows the quantity of items moved from the
source to the destination.
Common Terms
The following is a list of terms that apply to the transfer and consumption of serialized products:
• Product (object): a product that your organization sells.
• Product Item (object): the stock of a particular product at a particular location in field service, such as all bolts stored in your main
warehouse.
• Product Transfer State (object): an action taken to associate a serialized product to a product transfer and indicate the action done
to the serialized product. The new state as a result of the action.
• Product Item Transaction (object): an action taken on a product item in field service. Product item transactions are auto-generated
records that help you track when a product item is replenished, consumed, or adjusted.
502
Salesforce Field Service Transfer Inventory in Field Service
• Serialized Product (object): a product that is serialized. Each serialized product has a serial number.
• Serialized Product Transaction (object): an action taken on a serialized product. Serialized product transactions are auto-generated
records that help you track the status change for a serialized product.
• Product Consumed (object): an item from your inventory that was used to complete a work order or work order line item in field
service.
• Product Consumed State (object): the new state of the serialized product after it’s consumed.
Original Serialized Products Status New Serialized Products Status Serialized Product Transaction Type
Available or NULL Consumed Consumed
Note: When a product transfer is marked as Sent, the status of the serialized product is always updated to Sent, even if the transfer
contains a damaged item. If necessary, you can manually mark an item as Damaged without a product transfer.
503
Salesforce Field Service Transfer Inventory in Field Service
To receive product transfers for products that Read on product items AND Read on serialized
support serial numbers: products
Check that Salesforce is configured to use product transfers in the mobile app. Then get started receiving product transfers so that you
can track inventory.
Note: To show product transfers in the mobile app, edit the Location page layouts assigned to mobile users. Add the Product
Transfers Destination related list. After you add the related list, product transfers are shown in the Inventory tab in the mobile app.
Make sure that users have permission to view product transfers.
Product transfers are shown only if the destination location of the product transfer is the location linked to the service resource.
Child locations, for example multiple locations, aren’t supported.
1. In the mobile app, go to Inventory and locate the Product Transfers section. If you don't see product transfers, check the page layouts
assigned to mobile users.
On Android, the Product Transfers tab is shown only if a location is linked to the location of the service resource.
2. For each product transfer that you want to update, tap Scan or Receive.
3. Select the quantity of products received, and save your changes.
After you save the changes, received product transfers appear in the Received Product Transfers section of the Product Transfers
page. This action can't be undone.
When a product transfer is marked received, several records are updated or created to keep your inventory numbers accurate. To learn
more, see Guidelines for Transferring Inventory.
504
Salesforce Field Service Transfer Inventory in Field Service
505
Salesforce Field Service Transfer Inventory in Field Service
Example: Warehouse A has 100 hammers in stock. Your new mobile worker, Jessica, has her service van, and you 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. Because Jessica’s van contains no hammers, selecting Received on the transfer causes these events.
• The quantity on the existing product item for hammers stored at Warehouse A decreases from 100 to 95
• A second product item is created that has 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.
SEE ALSO:
Product Request and Transfer Fields
506
Salesforce Field Service Track Inventory Consumption in Field Service
5. To link the consumed product to a price book entry, select a price book entry and enter the
unit price. USER PERMISSIONS
Note: To create a product consumed that lists a price book entry, you need “Use” sharing To view products consumed:
access to price books. • Read on work orders
To create or delete products
6. Add context in the Description field.
consumed:
7. Save your changes. • Edit on work orders AND
Read on product items
Note: After a product item is consumed, track it as an asset (an installed or purchased product)
To update products
and add product details like a serial number.
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.
Consume Serialized Inventory
When an item is used during a field service appointment, create a product consumed record to adjust your inventory numbers
accordingly. You can add products consumed to work orders or work order line items. You can also track product consumption at
the line item level to know which products were used for each line item’s tasks.
SEE ALSO:
Product Item and Inventory Fields
507
Salesforce Field Service Track Inventory Consumption in Field Service
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.
SEE ALSO:
Product Item and Inventory Fields
508
Salesforce Field Service Track Inventory Consumption in Field Service
To consume products for products that support Edit on work orders AND Read on product items
serial numbers: AND Read on serialized products
Use your organization’s best practices to define a process for associating an asset with the consumed serialized product.
1. Create a product consumed.
a. Open the work order.
b. On the Related tab, go to Products Consumed and click New.
c. If applicable, enter a work order line item. The work order is auto-populated.
d. Select the serialized Product Item.
e. Enter 0.00 for the Quantity Consumed.
f. Add context in the Description field.
g. Click Save.
509
Salesforce Field Service Track Inventory Shipments in Field Service
1. From the Shipments tab, click New. The Field Service core
features, managed
2. In the General Information section, add details about the shipment’s origin and destination. If
package, and mobile app
applicable, select the field service locations where the shipment departs or arrives.
are available in Enterprise,
3. In the Tracking Information section, add details about the shipping provider and delivery date. Unlimited, and Developer
4. Add a description explaining what is being shipped. Editions.
510
Salesforce Field Service Track Customer Returns in Field Service
Note: If you enter a product item, select the product item associated with the source
location of the returned items.
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.
SEE ALSO:
Return Order Fields
511
Salesforce Field Service Track Customer Returns in Field Service
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 site. 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 worker 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:
512
Salesforce Field Service Track Customer Returns in Field Service
– 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.
Mobile Worker 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 mobile
worker’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 mobile worker creates a product request for three
large hydraulic arms. Upon arriving at the site, the worker learns that only two arms are needed. To return the unwanted arm to the
main warehouse, the worker 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.
513
Salesforce Field Service Manage Product Service Campaigns in Field Service
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.
SEE ALSO:
Return Order Fields
Report on Field Service
Note: Where there are many assets for the product subject to the product service campaign, create the product service
campaign items using Data Loader.
Add Work Orders and Return Orders
• Navigate to either Product Service Campaign or Product Service Campaign Items, and from the Work Orders and Return Orders
or Work Order Line Items and Return Order Line Items related list, click New.
• Enter the details of the work order and return order or work order line items and return order line items.
• Save the record.
SEE ALSO:
Set Up Product Service Campaigns in Field Service
514
Salesforce Field Service Manage Field Service Reports
Note: Service report PDFs don't support right-to-left text layout. For more information, see The Field Service core
Right-to-Left (RTL) Language Support. features, managed
package, and mobile app
are available in Enterprise,
Create Field Service Report Templates Unlimited, and Developer
In Field Service, a service report summarizes a work order or service appointment in a PDF that Editions.
your customers and team members can sign. To control what appears in your service reports,
create service report templates.
Create Field Service Customer Reports
In Field Service, create service reports to give your customers summaries of the work that your field service team performed.
Document Builder
Document Builder is the Salesforce Field Service solution for creating richly formatted and branded PDF service documents for your
business needs.
SEE ALSO:
Service Report Fields
515
Salesforce Field Service Create Field Service Report Templates
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 subtemplates, which enables service reports for multiple record types:
• Service Appointment for Work Order
516
Salesforce Field Service Create Field Service Report Templates
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 another subtemplate in the Related Templates field, and customize its layout. Repeat until you’ve
reviewed the layout of all four subtemplates.
h. Click Activate next to the template name on the Service Report Templates home page.
SEE ALSO:
Service Report Fields
517
Salesforce Field Service Create Field 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.
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 mobile workers 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 Field Service
Guidelines for Using Signatures on Service Reports.
518
Salesforce Field Service Create Field Service Report Templates
• To add space between fields or sections in the template, use the Blank Space field. Each Blank Space field adds 5 pixels of vertical
space to the report PDF.
SEE ALSO:
Service Report Fields
Apex Trigger: Send Email when Service Report is Created
Customer Signatures on Service Reports with a Flow
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.
519
Salesforce Field Service Create Field Service Report Templates
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: Signature capture and signature reuse are provided strictly on an "As-Is" basis. Customers are solely responsible for ensuring
that the use of signature capture and signature reuse complies with applicable laws.
520
Salesforce Field Service Create Field Service Customer Reports
Note: After the service report is created, the signatures collected during the service event are deleted. See Create Field Service
Customer Reports on page 521 for more details.
SEE ALSO:
Service Report Fields
4. To save the service report to the record, click Create Service Report. To save the report to the record and send a copy to the
customer, click Create and Send Service Report. Then fill out the email fields, and click Send.
The service report is saved in the Service Reports related list on the record.
Note: After the service report is created, the signatures collected during the service event are deleted. Use the saved service
report to provide a proof of signature.
A service report is translated in the language selected in the Service Report Language field on the associated work order. If that field is
blank, the report uses the default language of the person generating the report. To add languages, from Setup, in the Quick Find box,
enter Translation Language Settings, and select it. Click Edit next to the desired language, then click Active. To add a
user as a translator for the language, select them from the available list and click Add, then save your changes.
521
Salesforce Field Service Document Builder
Note: If you don’t have Read permission on an object or field in the service report template, it doesn’t appear in the service report
that you create.
SEE ALSO:
Service Report Fields
Create Service Reports in the Field Service Mobile App
Field Service Guidelines for Using Signatures on Service Reports
Customer Signatures on Service Reports with a Flow
Document Builder
Document Builder is the Salesforce Field Service solution for creating richly formatted and branded
EDITIONS
PDF service documents for your business needs.
Note: Document Builder isn’t available for Government Cloud users. Available in: Lightning
Experience.
Document Builder makes it easy to build service document templates.
The Field Service core
• The Template Builder makes it easy to build service document templates. features, managed
– Clone standard service document templates to reflect your company’s business practices. package, and mobile app
are available in Enterprise,
– Drag seven standard components into the builder: Grid, Image, Image Gallery, Page Numbers, Unlimited, and Developer
Related Record Table, Rich Text, and Signature. Editions.
– Show relevant information about a record, and its parent or grandparent records by using
the field component.
– Address your specific use cases by building custom LWCs.
• An enhanced service document experience helps you communicate the details of the work performed to serve your customers.
– View service documents and collect signatures on the Field Service mobile app.
– Preview printable documents on mobile or desktop.
– Generate PDFs on mobile or desktop
You can enable both Document Builder and Service Reports for your company, but you can assign only one feature, Service Reports or
Document Builder, to each user. When you give a user the permission to use Document Builder, the Service Report button is hidden for
them and they can’t access Service Report features or templates. You can continue to use Service Reports, but we suggest adopting
Document Builder to build more branded, customized, and dynamic service documents.
522
Salesforce Field Service Document Builder
SEE ALSO:
Give Users Access to Document Builder
523
Salesforce Field Service Document Builder
USER PERMISSIONS
524
Salesforce Field Service Document Builder
SEE ALSO:
Assign Document Builder to Dispatchers and Mobile Workers
Note: Document Builder isn’t available for Contractor and Contractor+ Licenses. Available in: Lightning
Experience.
1. From Setup, in the Quick Find box, enter Users, and then select Permission Sets.
The Field Service core
2. Create a permission set. features, managed
3. Give it a name, for example, Field Service Document Builder. package, and mobile app
are available in Enterprise,
4. Leave the License picklist field blank, and then save your changes. Unlimited, and Developer
5. Scroll down to the System section and click System Permissions. Editions.
6. Click Edit, and then select Document Builder and Access Lightning Web Components for
Field Service Mobile. Save your changes. USER PERMISSIONS
7. To assign this permission set to users, click Manage Assignments. To create service documents
with Document Builder on
the desktop site or the
mobile app:
• Field Service Dispatcher
permission set license
OR
Field Service Mobile
permission set license
525
Salesforce Field Service Document Builder
5. Choose between a blank template and a standard default template. Using a standard template gives you a starting point with added
fields and related lists.
Now you’re ready to start building your service document.
Template Builder
Build service document templates in Document Builder with the template builder.
Document Builder Standard Components
Here’s a list of standard components available for Document Builder, with descriptions.
Activate a Service Document Template
To create service documents and PDFs with Document Builder, activate a template.
Setting the Service Document Template Field
You can find the standard field Service Document template in the three objects: Work Order, Work Order Line Item, and Service
Appointment. This field points to the template ID, which sets the template for each service document. This topic covers how to find
the template ID and how to populate the Service Document Template field.
Template Builder
Build service document templates in Document Builder with the template builder.
The Field Service core features, managed package, and mobile app are available in Enterprise, Unlimited, and Developer Editions.
526
Salesforce Field Service Document Builder
When you first open a template in Document Builder, you see the template builder, which shows the canvas, components and fields
panel, and document settings panel.
The Canvas
The canvas represents your service document. To design your service document, drag standard LWCs and custom LWCs onto the canvas.
If you add any fields or components to the header or footer, they repeat on every page of your document.
When you’re designing your header and footer, you can get an error message if you add too much content. What qualifies as too much
content depends on the formatting and orientation of your document and the size of the components you’re trying to add. If you’re
having trouble, check that your headers and footers are sized properly. For example, delete fields and components that make the header
or footer longer than a page.
Document Settings
To access the document settings, click outside the header, body, and footer sections of the canvas. Use the document settings panel to
add a document description, determine which fields and components are visible, remove headers and footers, and alter the document
format.
527
Salesforce Field Service Document Builder
Lookup fields don’t appear on service document templates when dragged onto the canvas. To get the lookup field to show up, search
for the lookup field and its associated name. Click in the Search field. Then, drag the Name field onto the canvas.
When you’re done building your template, you’re ready to save and activate it. You can access saved templates from the Document
Builder page in Setup.
SEE ALSO:
Activate a Service Document Template
Setting the Service Document Template Field
Page Break Page breaks control the pagination of your service document and organize
your content into sections.
Page Numbers When added to the header or footer, repeats on all pages of the document.
After you add it to the canvas, the Document Settings menu shows the
Page Numbers Settings, where you can change the format and alignment.
Related Record Related record tables show records from child objects related to the service
Table document’s template object. For example, if the template object is Work
Order, the related record table shows records from the Work Order related
objects, such as Work Order Line Items, Products Consumed, Expenses, and
Time Sheet Entries. When the Related Record Table component is added
to the canvas, you can use the component settings panel on the right to
configure table details, including:
• Parent record: This field defaults to the Template object, for example,
Service Appointment.
528
Salesforce Field Service Document Builder
Component Details
• Related entity: This field lets you select which child object’s record you want to show in the table.
• Related record fields: Add a maximum of 10 related record fields (columns) to the table.
• Show related records table when the list is empty: This setting is deselected by default and hides
related lists that have no records. When the setting is selected, related lists that have no records are
shown with only the column headers and no records.
• Set equal width for columns: By default, column widths are set based on the size of the field label.
(Fields with larger labels appear with wider column widths). When the setting is selected, the column
widths are evenly distributed across all fields.
• Sort field and sort order: Sort records within the related list. Use these fields to specify which field to
use to determine sort order and whether sorting occurs in ascending or descending order.
Signature The signature component captures signatures from customers, partners, and mobile workers on service
documents. Define the number of signatures needed by adding signature components to the canvas.
Reorder, include, or exclude these fields by specifying settings in the document settings panel.
Because these fields are standard fields on a standard object, they’re translated in the user’s language.
You can customize the labels related to the Digital Signature object and rename them to suit your
branding and business needs. If you don’t change the labels of the object or fields, Salesforce translates
the label values for you. If you change labels, or if you want to modify the standard translation provided
by Salesforce, you can translate those new labels.
Image Embeds images into your service document. Add images to your image library. Then, from the document
settings panel, select your image, and then use the canvas to add image descriptions and include alt
text for accessibility. Images must adhere to the Salesforce guidelines for file size, found in Salesforce
CRM Content Limits.
Image Gallery The image gallery shows all images associated with the object from which you create your service
document. All images added as files to the template object are shown in this component. While you can
dictate the number of images to show per row, you can’t modify the total number of images. Images in
a row have the same size and resolution. You can include captions for each image.
Rich Text Add custom text with styling and formatting to your documents. To represent information such as help
text, section headers, and disclaimers, add custom labels. Custom labels are translatable, so using this
setting in a rich text component lets you translate the content without having to build multiple templates
for each language your company supports.
To personalize your service documents, use embedded expressions in rich text components. Drag a rich
text component onto the canvas. Optionally, add static text to give context for the embedded field. To
embed the field into the rich text component use the following syntax: {!Record.fieldname}
or {!Record.Objectname.fieldname}. For example, to embed a phone number for an
account, the syntax is {!Record.Account.phone}. Save the template, and then test it on the
document preview.
Long text and picklists aren’t supported for embedded expressions in rich text.
529
Salesforce Field Service Document Builder
To activate Document
service Builder
document
templates:
If the field value is set, that template is used. If the field is empty, then the org default template is used. If the field is empty, you haven’t
set a default, and you don’t have any templates, you receive an error message.
If you don’t set the Service Document Template from Work Order, Work Order Line Item, or Service Appointment, the document template
can also be derived from one of the three corresponding Document Template fields on Work Type.
530
Salesforce Field Service Document Builder
• Flow Builder: Build flows that collect data and perform actions. You can build screen flows that launch after certain criteria are met,
guiding users to set fields. Or, build flows that automatically run in the background, using Autolaunched Flow, with no trigger. Flow
Builder also lets you run Apex code, including Apex triggers, so play around to see what works best for your document building
needs.
4. To access the PDFs you create, including an archive of your PDFs, navigate to the work order
and click the Related tab. Then scroll down to Service Reports.
531
Salesforce Field Service Document Builder
5. To view your PDF, click a service report name in the list view.
SEE ALSO:
Generate Service Document PDFs on the Mobile App
SEE ALSO:
Generate Service Document PDFs on the Desktop Site
532
Salesforce Field Service Manage Field Service Outcome-Based Contracts
Note: Languages are set on work orders only. All service appointments under a work USER PERMISSIONS
order are translated into the same language.
To create service documents
with Document Builder:
6. In the Page Layouts section, add the Service Report Language field. The languages you chose
• Field Service Document
in Translation Workbench are shown in the Service Report Language field’s dropdown list.
Builder Dispatcher, Field
7. When generating a service document with Document Builder, select your preferred language Service Document
from the Service Report Language field. Builder Mobile, OR Field
Service Document
To test service document translation, generate a service document from the work order or a child Builder Standard
service appointment. When you preview the PDF, the service document is translated into the permission sets
language you selected.
SEE ALSO:
Generate Service Document PDFs on the Desktop Site
Generate Service Document PDFs on the Mobile App
533
Salesforce Field Service Set Up Outcome-Based Contracts
When a service contract starts, the automated process records data and evaluates the compliance of the contract. The results that show
whether the contract is compliant appear in the Compliance Status field of the contract line outcome.
534
Salesforce Field Service Create Contract Line Outcomes for Outcome-Based Contracts
To create contract line outcomes: Create on Contract Line Outcome Available in: both Salesforce
Classic (not available in all
To edit contract line outcomes: Edit on Contract Line Outcome
orgs) and Lightning
To delete contract line outcomes: Delete on Contract Line Outcome Experience
To view contract line outcomes: View on Contract Line Outcome The Field Service core
features, managed
To view contract line outcome data records: View on Contract Line Outcome package, and mobile app
To delete contract line outcome data records: Delete on Contract Line Outcome are available in Enterprise,
Unlimited, and Developer
Editions.
Create and monitor contract line outcomes for Outcome-Based Contracts to easily evaluate the
compliance of service contracts.
1. From the App Launcher, find and select Contract Line Outcomes.
2. Click New.
3. Enter a name and a description.
4. Select the contract line item associated with the contract line outcome.
5. Select the data capturing duration. Then, select the capture frequency and the calculation method. Data capturing runs according
to the frequency and calculation method you select.
Note:
• The contract line outcome’s start date can’t be before the contract line item’s start date or after the contract line item’s
end date.
535
Salesforce Field Service Manage Field Service Optimization
• The contract line outcome’s start date must be in the present or in the future.
• The contract line outcome’s end date can’t be on or after the contract line item’s end date.
6. Select a recordset filter criteria. The recordset filter criteria allows you to define the criteria to evaluate contract compliance.
7. Save the contract line outcome.
8. In the Contract Line Outcomes list view, you can edit or delete a contract line outcome.
You can edit these fields only if the contract line outcome’s start date hasn’t passed and if no contract line outcome data records
are associated with it.
• Recordset Filter Criteria
• Start Date
• End Date
• Capture Frequency
• Calculation Method
Note: Deleting a contract line outcome deletes all the contract line outcome data records associated with it.
You can view the details of a contract line outcome to check the compliance of your service contract. The contract line outcome’s
automated process performs data capturing according to the criteria, frequency, and calculation method that you define. It then evaluates
the compliance of the service contract. The Compliance Status field indicates whether the contract is compliant. After data capturing is
complete, the next data capture date is shown according to the capture frequency that you define.
Contract line outcome data records are created as part of the contract line outcome’s automated process of data capturing. These records
include the captured data information and the calculation value for a specific data capture run on a specific date.
Note: You can delete a contract line outcome data record only if the associated contract line outcome’s end date has passed.
536
Salesforce Field Service Manage Field Service Optimization
SEE ALSO:
Get Ready for Scheduling and Optimization
Adopt and Implement Field Service Enhanced Scheduling and Optimization
Work in the Field Service Dispatcher Console
537
Salesforce Field Service Manage Scheduled Jobs in Field Service
2. Optionally, define a default value to show in the Keep Scheduled Criteria field in the Scheduled Jobs tab and in the Optimize window
in the dispatcher console. This field prevents service appointments with certain values from being dropped from the schedule during
optimization, but it enables them to be moved to a different time slot or resource.
Note: If a service appointment matches the criteria you define but violates a rule, it’s pinned and isn’t optimized.
a. From the App Launcher, find and open Field Service Admin, and then click Field Service Settings.
b. Under Optimization, click Logic.
c. Scroll to Global Optimization and from Keep Scheduled Criteria, select the service appointment value to show by default.
d. Save your changes.
The settings apply to optimizations that dispatchers run manually or in a scheduled job.
538
Salesforce Field Service Manage Scheduled Jobs in Field Service
5. Give the job a unique name, and for Automator Type, select Enhanced Optimization.
6. In the General tab:
a. Add up to 10 time periods, within 30 days.
From Day is the first day of data that is fetched. To Day is the last day of data that is fetched. Day 0 refers to today from 00:00 to
11:59 PM, according to the user’s time zone. If you enter overlapping days, the data is loaded twice resulting in possible errors.
For example, if you define a value of 0 for From Day and To Day on the General tab, and define a recurring job on the Schedule
tab to run each day at 6:00 PM, an optimization request is created and runs each day at 6:00 PM. The optimization horizon is 24
hours, from midnight the day the request is triggered to midnight the next day. You can also configure multiple time periods
by using the + icon. For example, you can have From Day 0 to Day 6 and then select the + icon to add another period From day
7 to day 14. This configuration lets you optimize a two-week period in one optimization job but with two separate optimization
requests.
Specifying multiple time periods in the same job lets you set up one job for multiple optimization horizons instead of setting
up separate jobs for each horizon. Each time period generates its own optimization request and runs in parallel. The time periods
also allow you to create a job that optimizes future dates.
Note: You can’t define overlapping time periods if Enable optimization overlaps prevention is enabled in Field Service
Settings (enabled by default).
For Example, if all service appointments have arrival windows, set up time periods for individual days. The arrival windows force
the service appointments to be scheduled on a specific day, and they can’t be scheduled by another optimization request running
for a different time period. That way, the optimization focuses only on relevant options and results in a more optimized schedule.
If your optimization horizon includes more appointments than the allowed amount per optimization request, split the job into
time periods. That way, each optimization request is within the limit.
b. Select a scheduling policy. This scheduling policy is applied to the entire scheduled job unless you specify scheduling policies
for individual territory groups in the Territory tab.
c. To specify the type of appointments that are optimized, select a filter. Only appointments that meet the criteria are optimized.
d. In Email Recipient Username, enter the username, and then select from the list. The field shows the email address. Use an email
address where you want optimization job failure messages to be sent.
Note: Each optimization request includes all the service territories in the group for each time period defined in the General
tab. For example, if you have three time periods and five groups, 15 optimization requests run.
539
Salesforce Field Service Manage Scheduled Jobs in Field Service
540
Salesforce Field Service Manage Scheduled Jobs in Field Service
Considerations
• The optimization requests that run for each group within each time period are counted toward the schedule optimization request
limits detailed in Schedule Optimization Request Limits on page 11. The entire scheduled job is counted as one job toward the
limitation detailed in Platform Limits Affecting Field Service, regardless of the number of groups in the job. If you set up a recurring
schedule that runs every x minutes, multiple scheduled jobs are created accordingly. For example, if you set it up to recur every 15
minutes, this is counted as 4 scheduled jobs. Setting up groups with scheduling policies helps you avoid reaching your org limits.
• For enhanced scheduled jobs, you can't define overlapping time periods if Enable optimization overlaps prevention is enabled in
Field Service Settings (enabled by default).
• Optimization applies only to service appointments whose parent appointment is a work order or work order line item.
• Global optimization attempts to reschedule appointments that have rule violations. If it doesn’t manage to reschedule them, the
appointments remain unscheduled.
• Global and In-day optimization validate that for already scheduled service appointments, the Scheduled End − Scheduled Start time
= Duration, while taking resource efficiency into consideration. Service appointments that violate this validation are unscheduled.
• The same service appointments can appear in multiple optimization requests, possibly resulting in incorrect results.
• If you edit the name of the job, the groups are deleted. To avoid this issue, before editing the name, refresh your browser.
Manage Scheduled Jobs When Not Using Enhanced Scheduling and Optimization
To automatically run optimization jobs regularly, you can set up scheduled jobs.
1. Optionally, exclude service appointments with certain statuses from being changed during schedule optimization.
a. From the App Launcher, find and select Field Service Admin, and then click Field Service Settings.
b. Under Optimization, click Logic.
c. Under Global Optimization, select the service appointment statuses to exclude from schedule optimization.
d. Save your changes. The settings apply to optimizations that you run manually or in a scheduled job.
541
Salesforce Field Service Manage Scheduled Jobs in Field Service
b. (Optional) If you selected multiple territories, select Optimize in stages underneath the territory list. In the Territories Per Stage
field, enter the number of territories to optimize at a time. These settings help you stay within the scheduled jobs queue maximum
of 100 items, and don’t affect optimization time. We recommend keeping this number low to avoid reaching optimization limits.
c. For the time horizon, enter the number of days to optimize.
d. To specify the type of appointments that are optimized, select a filter. Only appointments that meet the criteria are optimized.
e. Select a scheduling policy to guide the optimization.
f. Enter an email address where you want optimization job failure messages to be sent.
g. Select the frequency and schedule.
h. If your optimization job is ready to run, activate the job.
i. To run the job immediately without waiting for the scheduled time, click Run Now.
j. Save your changes.
Considerations:
• Optimization applies only to service appointments whose parent appointment is a work order or work order line item. Only active
territories included in the scheduled optimization job are optimized.
• Global optimization doesn’t reschedule appointments that have rule violations. Unschedule those appointments and reschedule
them.
• Global and In-day optimization validate that for already scheduled service appointments, the Scheduled End − Scheduled Start time
= Duration, while taking resource efficiency into consideration. Service appointments that violate this validation are unscheduled.
• Emails are sent only when optimization jobs fail to initiate. If the optimization job succeeds or fails in a later stage, an email isn’t sent.
Considerations for Optimization Run Time:
Optimization run time corresponds to the thoroughness of a scheduled optimization job. The higher the run time, the closer you get to
an optimal schedule.
To set your preferred optimization run time, from the App Launcher, find and open the Field Service Admin app. Click Field Service
Settings > Optimization > Logic. In the Optimization run time per service appointment field, select Low, Medium, or High, and
save your changes. You can decide to change your run time before a particular optimization job.
542
Salesforce Field Service Manage Scheduled Jobs in Field Service
For better-quality results, use High. For quicker results, use Low. In many cases, Low is enough to produce a satisfactory schedule.
Regardless of your run time setting, run time never exceeds two hours. The run time ratio for Low:Medium:High is 1:2:3, so High-level
optimization takes three times as long as Low-level optimization.
Longer run times can be beneficial in the following scenarios.
• Many candidates per service appointment—Service resources are considered candidates for a service appointment if they comply
with the applied scheduling policy’s work rules. For example, a scheduling policy can require candidates to be working in the relevant
service territory in the required time, to have the required skills, and to have a home base that is within the maximum travel range
from the service appointment. If a service appointment has many candidates, a longer run time allows the optimizer to consider
more scheduling options.
• Service resources start their day from a centralized service depot—When many service resources start from the same place and
could potentially be routed to the same appointments, more run time helps the optimizer determine the optimal routes.
• Service appointments have the same priority—Higher-priority service appointments serve as anchors during optimization and
narrow down scheduling options. When all, or most, service appointments have the same priority, more time is needed to determine
the optimal routes.
• Complex work A complex work chain is a chain of related service appointments. The dependency could be the chronological order
of the service appointments, or that they have to be done by the same service resource. Complex work requires more computation
time. If complex work is common, consider allowing more run time.
• Street-Level Routing (SLR)—Aerial travel times require a quick arithmetic calculation. For SLR, the optimizer requires additional time
to fetch travel times from a GIS server. However, as optimization continues to be used, Field Service learns your service territories’
SLR travel times and grows more efficient. When optimizing a new service territory, a longer run time is recommended.
Note: If optimization runs longer than your org’s session timeout value, it gets stuck in the In Progress status. The optimization
job fails, resulting in an error when it tries to deliver the results to your Salesforce org.
To avoid failed optimizations, increase your session timeout value to at least 2 hours, or select a quicker optimization run time.
SEE ALSO:
Field Service Limits and Limitations
Optimize a Single Resource’s Schedule
Monitor Optimization Requests
Optimize Your Schedule from the Field Service Dispatcher Console
Prevent Overlapping Field Service Optimization Requests
543
Salesforce Field Service Optimize Your Schedule from the Field Service Dispatcher
Console
This is a Field Service managed package feature. The Field Service core
features, managed
1. On the appointment list’s action menu, select Optimize.
package, and mobile app
are available in Enterprise,
Unlimited, and Developer
Editions.
USER PERMISSIONS
544
Salesforce Field Service Optimize Your Schedule from the Field Service Dispatcher
Console
2. Select the service territories. You see only territories that are selected in the dispatcher console.
3. Select the start and end dates of the horizon you want to optimize. The default is the horizon shown in the dispatcher console. To
avoid scheduling conflicts, it’s recommended to run optimizations for the current day, and at the most for two days.
545
Salesforce Field Service Optimize Your Schedule from the Field Service Dispatcher
Console
4. Select whether you want to optimize only appointments that aren’t scheduled or both scheduled and unscheduled appointments.
When you select only unscheduled appointments, appointments that are already scheduled are pinned.
5. Select a scheduling policy.
Note: It’s recommended to select a policy that uses in-day optimization as it takes a maximum of 5 minutes, while other
policies run for several hours.
6. To specify the type of appointments to optimize, select optimization criteria. Only appointments that meet the criteria are optimized.
For example, you can optimize only those appointments defined as In Jeopardy or Emergency.
7. If you’re using Enhanced Scheduling Optimization and have permission, define the criteria to keep appointments scheduled during
optimization. For example, you can ensure that critical appointments with customer commitments are optimized but are never
removed from the Gantt. These appointments can move to a different time slot or resource but remain scheduled.
Note: If a service appointment matches the criteria you define, but it violates a rule, it’s pinned and isn’t optimized.
8. Click Optimize. The Gantt is shaded in green and is locked during optimization.
SEE ALSO:
Manage Scheduled Jobs in Field Service
Manage Scheduled Jobs in Field Service
Create and Manage Field Service Scheduling Policies
Optimize a Single Field Service Resource’s Schedule
546
Salesforce Field Service Optimize Today’s Field Service Schedule
3. If you selected In-Day Optimization, we recommend adding “In-Day” to the name of this policy for easy identification when creating
jobs or running optimizations from the dispatcher console.
4. Save the policy.
5. Optionally, exclude service appointments with certain statuses from being changed during schedule optimization by defining criteria
to pin them in place.
547
Salesforce Field Service Optimize Today’s Field Service Schedule
a. From the App Launcher, find and open the Field Service Admin app, and then click Field Service Settings > Optimization >
Logic.
b. Scroll to In-Day Optimization, and from Pin Criteria, select the service appointment statuses to exclude from schedule optimization.
c. Save your changes.
The settings apply to optimizations that dispatchers run manually or in a scheduled job.
6. Optionally, define a default value to show in the Keep Scheduled Criteria field in the Scheduled Jobs tab and in the Optimize window
in the dispatcher console. This field prevents service appointments with certain values from being dropped from the schedule during
optimization, but it enables them to be moved to a different time slot or resource.
a. From the App Launcher, find and open the Field Service Admin app, and then click Field Service Settings.
b. Under Optimization, click Logic.
c. Scroll to In-Day Optimization, and from Keep Scheduled Criteria, select the service appointment value to show by default.
d. Save your changes.
The settings apply to optimizations that dispatchers run manually or in a scheduled job.
Note: If a service appointment matches the criteria you define but violates a rule, it’s pinned and isn’t optimized.
7. Apply the in-day policy to scheduled jobs and define that job to run several times a day.
8. Let your dispatchers know that the optimization job can result in changes to the schedule if a more optimal schedule is created as
a result of running the job. And remind them that they can select the in-day policy from the Optimize window in the dispatcher
console.
SEE ALSO:
Optimize Your Schedule from the Field Service Dispatcher Console
Manage Scheduled Jobs in Field Service
548
Salesforce Field Service Optimize a Single Field Service Resource’s Schedule
Note: Resource Schedule Optimization loads all unscheduled service appointments meeting the time criteria, regardless
of the service resource’s service territory memberships. This means that unscheduled appointments from all service
territories are loaded based on the time criteria, which can exceed the maximum allowed number of service appointments
per optimization request (5,000). To avoid reaching this limit, filter your service appointments based on additional criteria.
d. If you select Only optimize unscheduled appointments, only unscheduled service appointments are considered, and all
scheduled service appointments are pinned (unmovable). If the setting is deselected, all service appointments within the time
frame that meet the criteria are considered during optimization.
e. To optimize your schedule based on rules and objectives defined by your company, select a scheduling policy. If no scheduling
policy is provided, resource schedule optimization fails.
f. Select which category of service appointments are considered as candidates to be scheduled in the optimization process.
g. In Keep these appointments scheduled, select which service appointments must remain on the schedule during resource
schedule optimization. Keep in mind that resource schedule optimization fails if more than 50 appointments must remain
scheduled. The optimization can move and reschedule the kept appointments. If the resulting schedule doesn’t include all the
service appointments marked to keep scheduled, resource schedule optimization fails. To optimize, give these appointments a
much higher priority than the other appointments or try to run optimization on more days.
h. Select whether only service appointments scheduled to the resource are considered in the optimization process. If you don’t
select the checkbox, unscheduled service appointments, appointments scheduled to the resource, and appointments scheduled
to other resources are considered during optimization. When using Enhanced Scheduling and Optimization, if you select to only
schedule appointments to the resource, both unscheduled service appointments and appointments scheduled to the resource
are considered. When not using Enhanced Scheduling and Optimization, only service appointments scheduled to the resource
are considered, such that this checkbox overrides Only optimize unscheduled appointments.
549
Salesforce Field Service Optimization Horizon
i. Click Optimize.
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.
SEE ALSO:
Manage Scheduled Jobs When Not Using Enhanced Scheduling and Optimization
Monitor Field Service Schedule Optimization Requests
Optimize Your Schedule from the Field Service Dispatcher Console
Optimization Horizon
Specify a time period for your Field Service optimization requests to focus optimization processing
EDITIONS
on the required dataset.
The optimization horizon defines the time period of data sent to the engine to be optimized as Available in: both Salesforce
well as the time period in which appointments can be scheduled. The data consists of the service Classic (not available in all
resources active during that time, operating hours, shifts, service appointments, and any other data orgs) and Lightning
that must be considered when building a schedule. An optimization horizon is specified in any of Experience
these scheduling services. The Field Service core
• Global or In-day optimization from the dispatcher console features, managed
• Resource Schedule Optimization package, and mobile app
are available in Enterprise,
• Optimization of scheduled jobs Unlimited, and Developer
• Optimization methods in the OAAS class Editions.
Consider these two aspects when understanding which service appointments are sent to
optimization within the optimization horizon:
Total Set of Service Appointments Sent to Optimizer
The optimizer needs information on the service appointments that can affect scheduling decisions, including appointments that can’t
be optimized, such as pinned service appointments and service appointments not meeting filter criteria. For example, service appointments
in a Completed status are sent to optimization, even though the optimization engine can’t move these appointments. The engine still
needs information about the Completed service appointment to create a schedule around it.
Knowing the total number of service appointments sent to optimization in an optimization request is important to estimate any impact
on optimization limits. See Field Service Limits and Limitations. The criteria of service appointments sent to optimization can be defined
as:
• Service Appointments that aren’t assigned to a service resource:
– Earliest Start Permitted < Optimization Horizon End + 24 hours AND
– Due Date > Optimization Horizon Start - 24 hours
550
Salesforce Field Service Optimization Horizon
Note: To enhance scheduling efficiency, the optimization engine includes service appointments up to 24 hours before or after
the specified optimization horizon. This ensures that the engine considers nearby appointments that can influence the schedule,
for example, service appointments with complex work dependencies. The optimization request doesn’t modify service appointments
outside the horizon.
Service Appointments That Can Be Optimized
The criteria for service appointments eligible to be optimized are defined as:
Service appointments that aren’t assigned to a service resource:
• Without an arrival window:
– Earliest Start Permitted < Optimization Horizon End AND
– Due Date > Optimization Horizon Start
Note: Administrators can decide to allow or abort overlapping optimization horizons through configuration. See Manage
Optimization Conflicts.
SEE ALSO:
Field Service Limits and Limitations
Manage Scheduled Jobs in Field Service
Optimize Today’s Field Service Schedule
Optimize a Single Field Service Resource’s Schedule
Keep Important Appointments Scheduled During Optimization (Beta)
OAAS Class
551
Salesforce Field Service Monitor Field Service Schedule Optimization Requests
USER PERMISSIONS
To cancel optimization
requests:
• Abort Optimization
Request custom
permission
Click an optimization request to show more information about the request, including who created, owns, and modified the request,
the scheduling policy, the criteria defined to keep appointments scheduled during optimization, the number of objects to schedule,
and the actual number of objects scheduled. For example, service managers can easily identify the user who initiated the global,
in-day, or resource schedule optimization request or who configured the scheduled job. The Owner field in the optimization request
shows the user’s name, providing insights into scheduling and optimization actions. This functionality facilitates system tracking,
troubleshooting, and traceability.
From the Gantt
Click the lightbulb icon at the top of the Gantt to view the status of recent optimization requests. When a global optimization request
is in progress, you can see a percentage-based progress bar and the option to cancel the request.
552
Salesforce Field Service Monitor Field Service Schedule 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.
553
Salesforce Field Service Field Service Enhanced Scheduling and Optimization Error
Messages
• 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 appointments
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 Limits and Limitations.
SEE ALSO:
Manage Scheduled Jobs in Field Service
Optimize a Single Field Service Resource’s Schedule
Note: Activity Reports provides information about all scheduling and optimization requests that you initiate. You can generate
an activity report for a specific request type, such as Global Optimization. If the request fails, the relevant error label shows in the
report output. This helps you easily identify and resolve the issue. See Review the History of Scheduling and Optimization Requests
with Activity Reports (Beta).
554
Salesforce Field Service Field Service Enhanced Scheduling and Optimization Error
Messages
555
Salesforce Field Service Field Service Enhanced Scheduling and Optimization Error
Messages
Cannot_found_the_invoked_Service_Appointment We couldn’t find the invoked To fix this, verify the validity of
service appointment [invoked the service appointment. If the
SA Id]. Fix the issue and try problem persists, contact
again. Salesforce support to open a
case.
556
Salesforce Field Service Field Service Enhanced Scheduling and Optimization Error
Messages
557
Salesforce Field Service Field Service Enhanced Scheduling and Optimization Error
Messages
558
Salesforce Field Service Field Service Enhanced Scheduling and Optimization Error
Messages
559
Salesforce Field Service Field Service Enhanced Scheduling and Optimization Error
Messages
Missing_object_permissions We couldn't [action type] the You don’t have the relevant
Service Appointment because permissions to perform the
you don't have permissions for action on the specified object.
the Service Appointment
object. Ask your Salesforce To fix this, ask your Salesforce
admin for help. admin to assign the relevant
permission to the specified
object type for users triggering
the optimization services on
those objects.
560
Salesforce Field Service Field Service Enhanced Scheduling and Optimization Error
Messages
561
Salesforce Field Service Field Service Enhanced Scheduling and Optimization Error
Messages
No_Timeslots_in_AB_Operating_Hours We couldn't find any time slots This error indicates that there’s
for service appointment [SA ID] no overlap between when the
within the default operating relevant service resources are
hours [OH ID]. Define the time available to handle this service
slots and try again. appointment, and when the
service appointment can be
scheduled in terms of available
time slots.
To fix this, make sure that there’s
an overlap between the service
resource availability and when
the service appointment can be
scheduled.
• Review the operating hours
for the relevant service
resource candidates
(candidates with matching
skills and service territory
memberships).
• Make sure the time slots
overlap (coincide) with the
relevant service resources’
operating hours. If there’s no
562
Salesforce Field Service Field Service Enhanced Scheduling and Optimization Error
Messages
Not_Valid_C2C_Token We couldn't perform the To fix this, refresh and try again.
[request type] request because Or, ask your Salesforce admin for
there isn't a valid C2C token. help.
Ask your Salesforce admin for
help.
O2_Rest_Utils_Error_Operation_Called_Twice Can’t call the same service To avoid concurrency issues, you
more than once in the same can’t trigger the same service on
transaction. Service type: the same data more than once
[requestType]. Include this at any time
service type only once and try
again. To fix this, make sure only one
transaction is triggered at a time.
To identify who triggered an
operation, ask your Salesforce
563
Salesforce Field Service Field Service Enhanced Scheduling and Optimization Error
Messages
564
Salesforce Field Service Field Service Enhanced Scheduling and Optimization Error
Messages
Overtime_Not_At_End_Of_Day_Error_Details Can’t have extended time slots The system supports overtime
that aren't at the end of the hours only at the end of the
working day. Fix the time slots service resource’s working hours.
for resource [Resource ID] on
[Date], and try again. To fix this, update the overtime
hours to be at the end of the
shift during the optimized
horizon.
565
Salesforce Field Service Field Service Enhanced Scheduling and Optimization Error
Messages
566
Salesforce Field Service Field Service Enhanced Scheduling and Optimization Error
Messages
567
Salesforce Field Service Field Service Enhanced Scheduling and Optimization Error
Messages
RequestTimedOut Your [Request type] request has Some request types have a
timed out. Ask your Salesforce timeout defined in the system.
admin for help and provide the
transaction ID: [txID] To investigate the timeout
reason, contact your Salesforce
admin and provide the
transaction ID. Or, try to trigger
the action again to be sure the
error wasn’t a result of a
momentary extreme load.
568
Salesforce Field Service Field Service Enhanced Scheduling and Optimization Error
Messages
Secondary_Bad_Stm_No_Start_Resource We couldn’t find a start date for Each service resource allocated
one or more service territories to a service territory must be
that service resource [resource assigned with the start date of
ID] is a member of. For allocation for this territory. If not,
example, service territory the system can’t identify when
[Territory ID]. Add a start date it can allocate jobs for the service
and try again. resource in this territory.
To fix this:
• Review the specified
resource territory allocations
for primary, secondary, and
relocation territories.
• Make sure every allocation
has a start date.
Service_Based_Bad_Request We couldn’t find details for To fix this, verify the validity of
service appointment [SA ID] in the service appointment. If the
the [request Type] request type. problem persists, contact
Add the details and try again. Salesforce support to open a
case.
569
Salesforce Field Service Field Service Enhanced Scheduling and Optimization Error
Messages
570
Salesforce Field Service Field Service Enhanced Scheduling and Optimization Error
Messages
571
Salesforce Field Service Gain Visibility into Optimizations with Field Service
Optimization Insights
There are four optimization insights components: summary (1), metrics (2), key performance To create and edit Lightning
indicators (3), and health check (4). pages:
• Customize Application
To add components to
optimization request
pages:One of these custom
permission sets:
• FSL Admin Permissions
• FSL Dispatcher
Permissions
572
Salesforce Field Service Gain Visibility into Optimizations with Field Service
Optimization Insights
The summary component shows details about the optimization request, such as status, horizon, and territories. It displays the Time per
Appointment from Field Service optimization settings, and lists Boolean filters that selected appointments in the request. As you refine
a scheduling policy, the summary gives you a point-in-time snapshot of the policy, including the work rules and weighted service
objectives, that produced the insights.
Note: Some details are only available for global optimization requests.
Metrics provide an overview of scheduling information, such as how many appointments were scheduled from the pool of optimizable
appointments. Optimizable appointments are unpinned and can be moved.
The KPI component displays key performance indicators by territory before and after the optimization.
Average Travel per Appointment without Homebase Total estimated travel time, excluding travel from and to the resource’s home
base, divided by the count of scheduled service appointments.
Total Travel with Homebase Total estimated travel, including travel from and to the resource’s home base,
for all scheduled service appointments.
Total Travel without Homebase Total estimated travel, excluding travel from and to the resource’s home base,
for all scheduled service appointments
Total Duration Scheduled Total duration for the scheduled service appointments.
Utilization Total duration and travel time for the scheduled appointments, divided by overall
resource capacity. To learn how we calculate capacity, see Considerations.
573
Salesforce Field Service Gain Visibility into Optimizations with Field Service
Optimization Insights
The Health Check component summarizes the results of a suite of tests and validates your data. For example, the tests check if the
appointment exceeds the available time to complete or whether the required resource has the necessary skills. Before you drill down
into your KPIs, make sure that all the tests passed successfully.
• For Utilization and Utilization Wrench KPIs, capacity is the total available work time from shifts and operating hours in primary territory
memberships, including overtime. We subtract breaks, absences, and crew allocations; we also add or subtract availability from
relocations.
Note: We subtract absences only if the entire absence of a resource is included in the time period of that resource's service
territory membership record.
• For the Total Duration Scheduled KPI, we subtract appointments’ Scheduled Start times from Scheduled End times. For multiday
appointments, we include them in the total if the appointments are completely within the horizon; for those appointments, we add
the Duration fields.
• In metrics, the resource count excludes capacity-based resources and partial or full crew assignments that occur during the horizon.
• The components list metrics and KPIs by territory. For resources with secondary territory memberships, there are some nuances for
allocating time to territories. For example, we allocate travel time to the territory referenced in a service appointment. We also allocate
scheduled duration based on an assigned resource’s primary service territory membership.
• Optimization insights only support service appointments that have territories. Service appointments without a territory don’t affect
metrics and KPIs.
574
Salesforce Field Service Get Information on Optimization with Field Service
Optimization Center
575
Salesforce Field Service Get Information on Optimization with Field Service
Optimization Center
b. Under Horizon Based Validations, enter information for the scheduling horizon that you want to check, and then click Run Tests.
Horizon-Based Validations can take a while to finish running.
576
Salesforce Field Service Get Information on Optimization with Field Service
Optimization Center
• For Horizon Start and Horizon End, select the date range to validate.
• For Service Territories, select at least one territory. You can also choose whether to validate service appointments that aren't
assigned to a territory.
Note: Select only service territories that are using Enhanced Scheduling and Optimization or only service territories
that aren’t using Enhanced Scheduling and Optimization.
577
Salesforce Field Service Get Information on Optimization with Field Service
Optimization Center
Review the History of Scheduling and Optimization Requests with Activity Reports
(Beta)
Get information on scheduling and optimization requests that you run.
EDITIONS
This is a Field Service managed package feature.
Available in: Lightning
Note: Activity Reports is a pilot or beta service that is subject to the Beta Services Terms at Experience
Agreements - Salesforce.com or a written Unified Pilot Agreement if executed by Customer,
The Field Service core
and applicable terms in the Product Terms Directory. Use of this pilot or beta service is at the
features, managed
Customer's sole discretion. package, and mobile app
Activity Reports lets Salesforce admins easily monitor the activities and processes that they initiate are available in Enterprise,
in their Salesforce org. It provides information in one location about all your scheduling and Unlimited, and Developer
optimization requests and shows you their status to help you identify issues and resolve them Editions.
quickly. When the managed
With Activity Reports, you can generate a report for specific request types and easily identify whether package is installed,
they succeeded or failed. For example, generate a report on a Global Optimization request that scheduling and optimization
failed. The report output details the reasons for the failure, allowing you to take action and consider shift availability.
troubleshoot the issue quickly. Confirmed shifts appear on
the Gantt.
Note: Activity Reports is available only when you’re using Enhanced Scheduling and
Optimization.
578
Salesforce Field Service Get Information on Optimization with Field Service
Optimization Center
579
Salesforce Field Service Get Information on Optimization with Field Service
Optimization Center
– Appointment Insights
SEE ALSO:
Field Service Scheduling and Optimization Services
580
Salesforce Field Service Get Information on Optimization with Field Service
Optimization Center
• The Secondary Operations column indicates whether a scheduling and optimization request triggered secondary operations such
as sliding that affect other service appointments. If such operations were triggered, the Details column shows the information related
to these operations. The Secondary Operations column shows no information if a scheduling and optimization request fails and in
cases related to Appointment Bundling request types.
Note: Optimization Request Files is available only when you’re using Enhanced Scheduling When the managed
and Optimization. package is installed,
scheduling and optimization
consider shift availability.
Confirmed shifts appear on
the Gantt.
581
Salesforce Field Service Get Information on Optimization with Field Service
Optimization Center
1. Assign users these permission sets. See Assign Field Service Permissions. The Field Service core
features, managed
• Field Service Admin permissions package, and mobile app
• Field Service Integration permissions are available in Enterprise,
Unlimited, and Developer
2. Enable Optimization Request Files. Editions.
a. From the App Launcher, find and open the Field Service Admin app, and then click the When the managed
Field Service Settings tab. package is installed,
b. Click Scheduling > General Logic and enable Generate activity reports and retrieve scheduling and optimization
optimization request files. consider shift availability.
Confirmed shifts appear on
the Gantt.
USER PERMISSIONS
To configure Optimization
Request Files:
• Field Service Admin
permission set AND Field
Service Integration
permission set
582
Salesforce Field Service Get Information on Optimization with Field Service
Optimization Center
USER PERMISSIONS
To retrieve optimization
request files:
• Field Service Admin
permission set AND Field
Service Integration
permission set
583
Salesforce Field Service Get Information on Optimization with Field Service
Optimization Center
584
Salesforce Field Service Get Information on Optimization with Field Service
Optimization Center
Response File
585
Salesforce Field Service Explore Metrics in Field Service Optimization Hub
586
Salesforce Field Service Explore Metrics in Field Service Optimization Hub
4. If Optimization Insights is configured and added to the layout, remove it from the canvas.
587
Salesforce Field Service Explore Metrics in Field Service Optimization Hub
SEE ALSO:
Get Ready for Field Service Scheduling and Optimization
Enable Enhanced Scheduling and Optimization
Limits and Limitations for Enhanced Scheduling and Optimization
Activate Lightning Experience Record Pages
Note: For maximum accuracy, travel time values are provided in seconds and are then rounded up, which is different from
in the Gantt, where the time unit is minutes.
588
Salesforce Field Service Get Recommendations with Field Service Appointment
Insights (Beta)
• Resources Tab—Includes cards that compare metrics related to service resource types, workloads, availability, and utilization before
and after optimization. For example, the Utilization card shows you the service resources’ actual work time out of their available work
time, before and after optimization. You can filter which factors optimization considers when calculating a service resource’s utilization.
When all factors are considered, utilization is calculated using the following formula: (Scheduled Duration + Non-Availability + Lunch
Breaks + Travel From Home Base + Travel Between Appointments + Travel To Home Base) ÷ (Overtime Availability + Normal
Availability).
• Policy Tab—Shows you how optimization performed compared to your scheduling policy and service objectives. For example, the
Service Objectives card shows you the service objectives of the scheduling policy.
SEE ALSO:
View Field Service Resource Utilization
589
Salesforce Field Service Get Recommendations with Field Service Appointment
Insights (Beta)
590
Salesforce Field Service Get Recommendations with Field Service Appointment
Insights (Beta)
Before you configure Appointment Insights, make sure that you meet these requirements. The Field Service core
features, managed
• All Enhanced Scheduling and Optimization requirements are met. package, and mobile app
• Enhanced Scheduling and Optimization is enabled. are available in Enterprise,
• For Appointment Insights to evaluate scheduling options, make sure that your service Unlimited, and Developer
appointments are associated with service territories. Editions.
1. Assign users these permission sets. See Assign Field Service Permissions. When the managed
package is installed,
• FSL Admin Permissions scheduling and optimization
• FSL Dispatcher Permissions consider shift availability.
Confirmed shifts appear on
2. Add the Appointment Insights Lightning web component to the service appointment record the Gantt.
page.
a. From the object management settings for service appointments, go to Lightning Record
Pages. USER PERMISSIONS
b. Select the Lightning record page that you want to add the Appointment Insights component To assign a permission set
to, and then click Edit. license:
c. In the Tabs component properties, add a tab and name it Appointment Insights. See Add • Manage Users
and Customize Tabs. To configure Appointment
Insights:
d. To add the Appointment Insights component to a tab, in Lightning App Builder, select the
• Customize Application
tab on the canvas and then drop the component directly below it.
Note: Add an Appointment Insights tab as described in this step. However, you can
also drag the component to any location on the Lightning record page.
SEE ALSO:
Get Ready for Field Service Scheduling and Optimization
Enable Enhanced Scheduling and Optimization
Limits and Limitations for Enhanced Scheduling and Optimization
Manage Field Service Permissions
Create Field Service Permission Sets
Activate Lightning Experience Record Pages
591
Salesforce Field Service Get Recommendations with Field Service Appointment
Insights (Beta)
This is a Field Service managed package feature. The Field Service core
features, managed
1. From the App Launcher, find and select Service Appointments.
package, and mobile app
2. On the Service Appointments list view, click the service appointment record and then click the are available in Enterprise,
Appointment Insights tab. Unlimited, and Developer
3. For Scheduling Policy, select a policy to check. Editions.
6. In the Potential Slots section, hover over a time slot to see the work rules that prevent the
scheduling of the slot and the number of candidates that can become available when you relax the work rules. This section shows
fixed 4-hour time slots across the day.
592
Salesforce Field Service Get Recommendations with Field Service Appointment
Insights (Beta)
Match Fields Custom Rule A violation occurs when there are no Verify that the Match Fields custom rule is
available candidates who meet the criteria defined correctly. If possible, remove this
of the Match Fields custom work rule. rule.
Match Skills A violation occurs when there are no Verify that the service appointment’s parent
available candidates who possess the Skill Requirement record lists the correct
required skills and skill level listed on the required skills and skill level, and ensure that
service appointment’s parent Skill your service resources’ assigned skills and
Requirement record. skill levels are up to date. If there are still no
available candidates, train your service
resources to meet the required skills or skill
level.
Match Territory A violation occurs when there are no After Appointment Insights verifies that
available candidates who are Primary or candidates in neighboring territories are
Relocation members of the service available, remove the Match Territory work
appointment’s service territory. rule from your scheduling policy, and add
the Maximum Travel from Home rule
instead.
Match Time A violation occurs when there are no Verify that the standard match rule or other
available candidates who meet the criteria configuration is defined correctly.
of the Match Time rule. For example, no • Earliest Start Permitted: Ensures that a
candidates can complete the service service appointment’s Scheduled Start
appointment before the due date or there is equal to or later than the Earliest Start
are no candidates because the service Permitted (this work rule is included in
appointment’s dates are in the past. 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.
Maximum Travel from Home A violation occurs when there are no Extend the rule’s travel time to allow for
available candidates whose home base is travel of up to a 200-kilometer or 124-mile
within the rule’s defined distance or travel radius from the service appointment’s
time to the service appointment’s location. location or a distance of 1.5 times the
593
Salesforce Field Service Work in the Field Service Dispatcher Console
Service Resource Availability A violation occurs when there are no Verify that there are available candidates
available candidates because all of them are with a service territory membership in the
already assigned to service appointments. service appointment’s service territory by
unscheduling low-priority service
appointments or resource absences. Or,
assign more service resources to the service
territory.
Working Territories A violation occurs when there are no After Appointment Insights verifies that
available candidates who work in the service candidates in neighboring territories are
appointment’s service territory (Primary or available, make sure that you have one or
Secondary members). more candidates with a service territory
membership in the service appointment’s
service territory within the relevant time
frame.
594
Salesforce Field Service Customize the Field Service Dispatcher Console
SEE ALSO:
Trailhead: Dispatcher Console for Admins
Trailhead: Field Service Dispatcher Console for Dispatchers
Field Service Permission Set Licenses
Monitor Field Service Schedule Optimization Requests
595
Salesforce Field Service Customize the Field Service Dispatcher Console
SEE ALSO:
Trailhead: Supercharge Field Service
Working in the Field Service Dispatcher Console Appointment List
Work in the Field Service Dispatcher Console Gantt
Working in the Field Service Dispatcher Console Map
596
Salesforce Field Service Customize the Field Service 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 show the last day of the horizon shown
on the Gantt.
• Standard list view filter (6): To apply a standard filter, click the gear icon and select Dispatch Console Settings. Under Scheduling
Window Length, define the number of days shown 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.
• Custom list view filter (7): To apply a custom filter, click the Manage Filters icon and select New. Under Date Selection, define the
number of days shown before and after the horizon date. The horizon date and the custom filter settings control the appointment
list time frame. 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.
• Date field dropdown menu (8): The menu controls which appointments are visible in the appointment list. If the value of any of the
selected date fields on an appointment falls within the specified time frame, the appointment appears in the appointment list.
597
Salesforce Field Service Customize the Field Service Dispatcher Console
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 want to see it on the Gantt every day as a reminder.
The number of service appointments that are loaded to the Gantt depends, for example, on the Dispatch Console Settings. You can
change these settings to load service appointments related to the territory. While loading service appointments you can get an error
that the scheduling horizon is too long. To avoid this issue:
• Reduce the Scheduling Window Length.
• Remove service appointments that aren’t associated with a territory.
• Reduce the list of service territories.
• When creating a custom filter in the dispatcher console, make sure to add appropriate filters to the list view. In the Data Selection
section of the Filter Editor, reduce the data range for showing appointments (select fewer days before and after the horizon date).
Note: Using Salesforce's Platform automation capabilities, set up a process 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
To reduce loading time and to get more accurate results, enable the new filter appointments setting. The setting allows efficient filtering
of the service appointment list in the dispatcher console when you’re working with large datasets. In the Field Service Admin app, click
598
Salesforce Field Service Customize the Field Service Dispatcher Console
the Field Service Settings tab and select Dispatcher Console UI. Then, enable the Use advanced filtering for the service
appointment list setting under Gantt Configurations. This setting is available only when the Enable Custom Filters setting is turned on.
SEE ALSO:
Gantt Keyboard Shortcuts
Working in the Field Service Dispatcher Console Appointment List
Work in the Field Service Dispatcher Console Gantt
Create Custom Appointment List Filters
599
Salesforce Field Service Customize the Field Service Dispatcher Console
600
Salesforce Field Service Customize the Field Service Dispatcher Console
601
Salesforce Field Service Customize the Field Service Dispatcher Console
Note: Custom
appointment list filters
include appointment
list column settings. If
such a filter is applied,
it overrides this field
set.
602
Salesforce Field Service Customize the Field Service Dispatcher Console
603
Salesforce Field Service Customize the Field Service Dispatcher Console
604
Salesforce Field Service Customize the Field Service Dispatcher Console
605
Salesforce Field Service Customize the Field Service Dispatcher Console
606
Salesforce Field Service Customize the Field Service Dispatcher Console
607
Salesforce Field Service Customize the Field Service Dispatcher Console
608
Salesforce Field Service Customize the Field Service Dispatcher Console
Gantt Lightbox
609
Salesforce Field Service Customize the Field Service Dispatcher Console
610
Salesforce Field Service Customize the Field Service Dispatcher Console
SEE ALSO:
Color-Code the Gantt
611
Salesforce Field Service Customize the Field Service Dispatcher Console
• Label in Dispatcher Console: Enter the action label that dispatchers see in the dispatcher
console.
• Action Type: Select Apex Class or Visualforce.
• Apex Class: If you selected Apex Class as the type, select the Apex class that you want the action to call.
• Visualforce Page: If you selected Visualforce as the type, select the Visualforce page that you want the action to open.
• Required Custom Permission: Select the custom permission that users must have to see the action.
• Icon: Select an icon to display next to the action label.
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.
612
Salesforce Field Service Customize the Field Service Dispatcher Console
To configure the Field Service managed Customize Application Available in: both Salesforce
package: Classic (not available in all
orgs) and Lightning
To assign a permission set license: Manage Users
Experience
To create a permission set: Manage Profiles and Permission Sets
The Field Service core
To create, edit, and delete custom filters: Field Service Dispatcher or Field Service features, managed
Admin custom permission sets package, and mobile app
are available in Enterprise,
AND
Unlimited, and Developer
Create Filter custom permission Editions.
To share personal custom filters and edit Field Service Dispatcher or Field Service
and hide public custom filters: Admin custom permission sets
AND
Create Filter custom permission
AND
Publish Filter custom permission
Create custom filters in Field Service 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 Manage Filters icon and select New.
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.
613
Salesforce Field Service Customize the Field Service Dispatcher Console
Note: The Gantt Filter field set on the service appointment object controls which fields are shown. Only standard and custom
service appointment fields, including picklists, are supported on the service appointment object, picklist values of other objects
aren't supported. Multi-select picklist fields aren’t supported.
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.
Note: 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’s shared with the All Internal Users public group.
11. Click Save. The filter is created and the appointments are displayed. The filter appears in the filter list in the Custom Filters section.
12. To edit a selected filter, click the Manage Filters icon and select Edit.
13. To hide a public custom filter, click the Manage Filters icon and select Hide.
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. The All Service Appointments list can’t be hidden and is always
available in the dispatcher console service appointment list.
• 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.
SEE ALSO:
Filter the Gantt in Field Service
Filter the Field Service Gantt by Service Territory
614
Salesforce Field Service Customize the Field Service Dispatcher Console
SEE ALSO:
Customize the Dispatcher Console with Field Sets
615
Salesforce Field Service Working in the Field Service Dispatcher Console Appointment
List
616
Salesforce Field Service Working in the Field Service Dispatcher Console Appointment
List
Apply a filter by selecting one from the filter dropdown menu in the appointment list (1). Select appointments using different filters.
Click the link to see the selected list (2)
Note: The appointment list shows Field Service filters in the Standard Filters section, and custom filters that you’ve created in the
Custom Filters section. If Copilot is enabled, you will also see two additional sections, Copilot Summaries and My Copilot Searches.
See Using Einstein Copilot in the Dispatcher Console.
You can choose from the following filters in the Standard Filters section of the list. The custom permissions assigned to the user determine
the visibility of each filter. When the filtering criteria are based on Status, 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.
Crews Service appointments whose parent work order or work order line
item has the Minimum Crew Size field set.
Exclude Bundle Members Service appointments that represent a bundle or aren’t part of a
bundle.
Flagged Service appointments that the user marked as flagged. Flags aren’t
saved when the dispatcher console is reloaded.
Gantt Service appointments that are currently shown on the Gantt, which
means they have one or more assigned resources and fall within
the defined time frame.
Recently Used Service appointments that were recently interacted with via
scheduling, dragging, Chatter posts, status changes, the Get
Candidates action, the Show on Gantt action, and the Open Details
action. Recent service appointments aren’t saved when the
dispatcher console is reloaded.
Rules Violating Service appointments that have rule violations and aren’t canceled.
617
Salesforce Field Service Working in the Field Service Dispatcher Console Appointment
List
Note:
• 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.
Check Rules Initiate a rule validation check for the selected appointments.
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.
618
Salesforce Field Service Working in the Field Service Dispatcher Console Appointment
List
Note: 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.
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.
SEE ALSO:
How are Status Categories Used?
619
Salesforce Field Service Work in the Field Service Dispatcher Console Gantt
620
Salesforce Field Service Work in the Field Service Dispatcher Console Gantt
621
Salesforce Field Service Work in the Field Service 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 available to be assigned to appointments on 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.
When the Gantt’s resource skill filter runs, it preloads 50 skills and shows them as filter options based
on the available skills of the currently loaded resources. You can search for more skills using the skills
search bar and apply them as filter options.
The last applied filter is saved until the next time you change it.
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.
SEE ALSO:
View Field Service Resource Utilization
Color-Code the Gantt
Gantt Keyboard Shortcuts
622
Salesforce Field Service Work in the Field Service 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 service territories list shows only selected territories. Use the search bar to find territories
that aren't selected.
SEE ALSO:
Create and Manage Map Polygons
623
Salesforce Field Service Work in the Field Service Dispatcher Console Gantt
Open service appointment Opens a lightbox over the Select service appointment,
details Gantt with tabs containing then Enter
details about the appointment
and its parent record, related
records, map, and more.
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).
624
Salesforce Field Service Work in the Field Service 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.
625
Salesforce Field Service Work in the Field Service Dispatcher Console Gantt
Note: Resource absence duration (in a day) longer than the overall working day capacity is shown as 100% utilization.
626
Salesforce Field Service Work in the Field Service Dispatcher Console Gantt
SEE ALSO:
Fill Schedule Gaps in Field Service
Set Custom Permissions for Field Service
627
Salesforce Field Service Work in the Field Service Dispatcher Console Gantt
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. When you reload the Gantt or change which service appointments are shown in the
appointment list, the last palette that you used is applied.
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 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.
Note: 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
628
Salesforce Field Service Work in the Field Service Dispatcher Console Gantt
• Color-code appointments based on the priority level of their parent work order
SEE ALSO:
Gantt Keyboard Shortcuts
Customize the Dispatcher Console with Field Sets
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.
629
Salesforce Field Service Work in the Field Service Dispatcher Console Gantt
630
Salesforce Field Service Work in the Field Service Dispatcher Console Gantt
SEE ALSO:
Considerations for Scheduling Service Crews
Create Service Crews
Service Crew Fields
Set Up Crew Management
Manage Field Service Crew Membership
631
Salesforce Field Service Work in the Field Service Dispatcher Console Gantt
USER PERMISSIONS
Modify resource absences for service resources on the Gantt with one or more of these options.
1. Double-click a resource absence on the Gantt and then click Edit in the Details window to modify its details.
2. Drag a resource absence on the Gantt from one service resource to another to reassign the absence.
3. Right-click a resource absence on the Gantt and select Adjust Duration to extend or shorten its duration.
632
Salesforce Field Service Work in the Field Service Dispatcher Console Gantt
If you select Partial, the overlapping absences appear one on top of the other. If you select Full, only one absence is visible and
additional absences are hidden behind it.
Note: If the Multiday view is selected, resource absences don't appear on the Gantt.
1. Create an approval process for absences that checks the FSL__Approved__c field.
2. To avoid confusion, approve all existing absences.
3. From the App Launcher, find and open the Field Service Admin app, and then click the Field Service Settings tab.
4. Click Scheduling > General Logic and select Activate approval confirmation on resource absences.
5. Save your changes.
Note: A resource absence must be properly geocoded by data integration rules—meaning it needs a latitude and longitude—to
appear on the map.
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 > Gantt Configurations and select Show absences on resource map.
3. Save your changes.
633
Salesforce Field Service Work in the Field Service Dispatcher Console Gantt
SEE ALSO:
Create Service Resource Absences for Field Service
View a Field Service Resource’s Calendar
Work Rule Type: Service Resource Availability
Service Resource Fields for Field Service
634
Salesforce Field Service Work in the Field Service Dispatcher Console Gantt
• Average travel time per service appointment of all service appointments shown on the Gantt
• Number of completed service appointments out of all service appointments shown on the Gantt
• Number of service appointments on the Gantt with rule violations
• Number of service appointments on the Gantt that are In Jeopardy
USER PERMISSIONS
To enable dispatchers to
check rules manually:
• Custom permission sets:
• Field Service
Dispatcher
Permissions
• Field Service
Dispatcher License
Custom permissions:
• Enable Check Rules
- All Services
• Gantt and List -
Enable Check Rules
• Gantt and List -
Enable Bulk Check
Rule
635
Salesforce Field Service Work in the Field Service Dispatcher Console Gantt
When optimizing your team’s or a service resource’s schedule, appointments with rule violations remain pinned. With Enhanced
Scheduling and Optimization, the optimization engine tries to fix rule violations to improve the schedule by rescheduling or unscheduling
rule violating appointments. To keep these appointments scheduled as is on the Gantt, the service appointments must first be pinned
or in a pinned status.
Use the Check Rules feature to bulk-validate service appointments on the Gantt against your scheduling policy work rules and display
rule violations. This feature is applicable only if your Rule Validation Frequency field in Field Service Settings isn’t set to Always. Always
is the default setting for Salesforce orgs created before Summer ’21, where rules are checked for violations on all scheduled services after
every operation.
When you click the Check Rules button next to the scheduling policy, the system validates up to 6,000 service appointments on the
Gantt against your work rules and checks for violations. If you receive a notification that not all appointments were validated against
your policy rules, try to load fewer service appointments by shortening the horizon or viewing fewer service territories. Then perform
the check again to ensure all appointments are validated.
Note: When a bulk check rules operation is run, the service appointment records on the dispatcher console Gantt are checked
for rule violations in batches. Each batch size is the lesser of 200 appointments or the number of appointments assigned to the
first 40 resources loaded on the Gantt (sorted by record ID in ascending order) within the next 7 days of the scheduling horizon.
The system processes up to 30 batches of service appointments during each check rules operation. The maximum number of
appointments that can be validated against work rules in one check rules operation is calculated as 200 records per batch × 30
batches = 6,000 records. However, if fewer service appointments are found for the first 40 resources across the first 7 days of the
Gantt horizon (for example, 100), that number is used for the batches. This option results in fewer records processed (100 records
per batch × 30 batches = 3,000 records).
Note: Too many work rules in a scheduling policy can result in an Apex CPU timeout when checking rules for a large number of
service appointments. If you experience a timeout when checking rules, try removing some work rules, or check rules for fewer
service appointments.
When automatic scheduling is used—with the Schedule or Candidates action—rule violations don’t occur. Field Service automatically
formulates schedules that don’t violate rules, so rule violations occur only as a result of manual scheduling.
SEE ALSO:
Set Custom Permissions for Field Service
Manage Rule Validation Checks
636
Salesforce Field Service Work in the Field Service Dispatcher Console Gantt
4. If Enhanced Live Updates doesn’t have read access to all fields in the service appointment’s field sets, it doesn’t provide updates.
Click Update Permissions to update the Field Service Integration permission to include read access for those fields.
5. Save your changes.
You can use timed updates instead of live updates to set the Gantt’s refresh frequency. On the same Updating the Gantt page, under
Timed Updates, enter the number of seconds between Gantt refreshes. The minimum frequency is 10 seconds.
637
Salesforce Field Service Work in the Field Service Dispatcher Console Gantt
2. On the same Updating the Gantt page, click Update push topics. Push topics are used to send event notifications on specified
objects, fields, and criteria. Field Service creates push topics for these objects.
• Service resource
• Resource absence
• Service appointment
• Assigned resource
• Service resource capacity
• Field Service operation
• Optimization request
638
Salesforce Field Service Working in the Field Service Dispatcher Console Map
SEE ALSO:
View a Field Service Resource’s Daily Travel Route
Set Up Routing for Travel Time Calculations
639
Salesforce Field Service Working in the Field Service 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 .
If you can’t see the map, ask your admin to enable sending geolocation and map data to Google and Apple from Field Service Settings
in Setup.
Note: The dispatcher console map can 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.
By default, the map center is Los Angeles. This default can't be changed.
640
Salesforce Field Service Working in the Field Service Dispatcher Console Map
SEE ALSO:
Customize Icons and Colors for Reports
USER PERMISSIONS
641
Salesforce Field Service Working in the Field Service Dispatcher Console Map
4. Click Save.
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.
642
Salesforce Field Service Working in the Field Service Dispatcher Console Map
3. In the Apps section, click Custom Permissions. The Field Service core
features, managed
4. Click Edit.
package, and mobile app
5. Add the following available custom permissions to the enabled custom permissions. are available in Enterprise,
Unlimited, and Developer
• FSL.Polygons - create\update
Editions.
• FSL.Polygons - view
If you selected Use polygons to assign service territories and you also selected Delay Auto-Scheduling until Appointments are
Geocoded under Field Service Settings > Scheduling > General Logic, the territory classification starts only after the data integration
rule for service appointments updates the geolocation information.
SEE ALSO:
Schedule an Appointment Automatically
Manage Data Integration Rules for Field Service
643
Salesforce Field Service Working in the Field Service Dispatcher Console Map
After map polygons are enabled, you can draw polygons straight on the dispatcher console map The Field Service core
or import them in KML (Keyhole Markup Language) format. features, managed
package, and mobile app
1. To open the dispatcher console, from the App Launcher, find and open the Field Service app,
are available in Enterprise,
and then click Field Service.
Unlimited, and Developer
2. Click the Map tab, and then click Map Layers. Editions.
3. Select Polygons.
4. Click New.
5. Name your polygon and select a color.
6. Select a service territory.
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.
Note: To add to the actions list on polygons, create custom actions. For details, see Create Custom Actions for the Field Service
Dispatcher Console.
644
Salesforce Field Service Working in the Field Service Dispatcher Console Map
• If you load more than 200 polygons to the dispatcher console, you may experience performance issues. To avoid these issues, set
the sharing of the Map Polygon object to Private and use sharing to expose only the relevant polygons to dispatchers.
• If a service appointment’s geolocation matches more than one polygon, the appointment is assigned to either the highest or
lowest-level territory in the hierarchy depending on your settings.
• When creating polygons, don’t create overlaps unless there are parent-child relationships between the corresponding service
territories (for instance, San Francisco and California). Service appointments are never assigned to middle-tier territories.
• If two or more polygons overlap and there’s no hierarchy in place, service appointments are assigned to the first polygon that was
created.
• When updating polygons, you can move a polygon to a different location on the map or adjust its vertices to change the polygon’s
shape. You can’t delete individual vertices. Instead, you must delete the entire polygon and create another one.
645
Salesforce Field Service Use Einstein Copilot in the Dispatcher Console
</outerBoundaryIs>
</Polygon>
</Placemark>
</kml>
SEE ALSO:
Einstein for Field Service
646
Salesforce Field Service Use Einstein Copilot in the Dispatcher Console
In addition to displaying the overview, Copilot creates filters for you. You can access these filters from the My Copilot Summaries section
of the filter list to take immediate action.
1. To use Einstein Copilot in the Dispatcher Console, ask Copilot to create a schedule summary by using a phrase such as “Summarize
my schedule” (1). For more suggestions see Interacting with the Einstein Copilot in the Dispatcher Console on page 651.
Copilot shows the summary (2) for each category. Copilot also creates filters for each category in the filters list (3). You can use the
tooltip to view a description of each filter.
2. To show the appointments in the appointment list, select one of the filters (4).
Note: If you ask copilot for a schedule summary, you get a summary for all territories visible in the Gantt. If you ask for a
schedule summary for all territories, you get a summary for all territories you have access to.
647
Salesforce Field Service Use Einstein Copilot in the Dispatcher Console
Note: You can access the filter again from the My Copilot Searches section in the filters list, according to the date and time
you created the filter. To see details about your search, hover over the tooltip.
USER PERMISSIONS
648
Salesforce Field Service Use Einstein Copilot in the Dispatcher Console
Limitations
• The number of rule violations and overlaps is based on up to 4,000 records.
• If the Gantt is closed, the summary is created but the filters aren’t.
• You can’t customize the categories named Appointments with Rule Violations and Overlapping Appointments.
649
Salesforce Field Service Use Einstein Copilot in the Dispatcher Console
USER PERMISSIONS
650
Salesforce Field Service Use Einstein Copilot in the Dispatcher Console
Show me my scheduling issues for today Display them in the appointment list
Summarize my schedule for territories X and Y Display the results in the appointment list
(territory names)
Summarize my schedule issues for territories X, Create a filter for these appointments
Y or for X, Y (territory names)
Create a Gantt summary for territories X, Y or for Create a filter for this search
X, Y (territory names)
Show me the schedule summary for territories Create appointment list filter
X, Y or for X, Y (territory names)
651
Salesforce Field Service Use Einstein Copilot in the Dispatcher Console
Generate a schedule summary for territories X, Y (territories names) Move to the appointment list
Display a summary of today's scheduling issues Move them to the gantt list
652
Salesforce Field Service Field Service Object Fields
Considerations:
• When defining reports, don't define a date.
• Due to performance issues, use selective report conditions and avoid conditions such as NOT IN or NOT EQUAL TO. See Write Efficient
Queries in Trailhead for more information.
• These report and dashboard limitations apply to the dashboards and reports you create.
653
Salesforce Field Service Field Service Object Fields
654
Salesforce Field Service Field Service Object Fields
655
Salesforce Field Service Field Service Objects
Warranty Fields
Warranty terms, product warranty terms, and asset warranties have the following fields. Your page layout and field-level security
settings can hide some fields and prevent you from editing others.
Work Order Fields for Field Service
Work orders have the following fields. Sometimes you can't see or edit certain fields because of your page layout and field-level
security settings.
Work Order Line Item Fields for Field Service
Work order line items have the following fields. Sometimes you can't see or edit certain fields because of your page layout and
field-level security settings.
Work Type Fields for Field Service
Work types have the following fields. Some fields may not be visible or editable depending on your page layout and field-level
security settings.
SEE ALSO:
Set Up Field Service
Field Service Developer Guide
Appointment Bundle Policy that defines how the property values of the
Aggregation Policy bundle members are aggregated and assigned to
the bundle.
Appointment Bundle Config General parameters that define the behavior of the
bundle.
Appointment Bundle Policy Policy that defines how the bundling of service
appointments is handled.
656
Salesforce Field Service Field Service Objects
Appointment Bundle Propagation Policy Policy that defines which property values are inherited from the bundle
to the bundle members or are assigned as constant values in the bundle
members.
Appointment Bundle Restriction Policy Policy that defines the restrictions that are considered while forming
a bundle.
Appointment Bundle Sort Policy Policy that defines the properties by which the bundle members are
sorted within the bundle. Can also be used in the automated mode
for determining the selection order of the bundle members.
Digital Signature A captured signature from a field service customer or mobile worker.
Field Service Mobile Settings A collection of settings related to the Field Service 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.
657
Salesforce Field Service Field Service Objects
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.
Product Service Campaign A set of activities to be performed on a product service campaign asset,
such as a product recall for safety issues or product defects.
Recordset Filter Criteria A filter that uses field values from a source object to filter records in
another object.
Recordset Filter Criteria Rule The individual rules that make up a recordset filter criteria. Rules map
fields to values.
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.
658
Salesforce Field Service Field Service Objects
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.
Shift Pattern A pattern of shift templates used to define groups of commonly used
shifts.
Shift Pattern Entry Shift pattern entries link shift templates to a shift pattern.
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 when a service resource performs a specific function.
Time Slot A period in a day when 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.
Work Type Group A category of work types that’s used to define work-type-based
scheduling limits.
Work Type Group Member A work type that belongs to a particular work type group.
659
Salesforce Field Service Field Service Objects
The following objects are available even if Field Service isn’t enabled. These objects are often used in 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 managed package. You can view them in Setup and create custom tabs for them.
Customize these objects only based on Salesforce recommendations.
Crew Management User Settings Territory A user’s crew management preferences for the most recently
loaded service territory.
Gantt Filter A custom filter that controls what data appears in the Gantt.
660
Salesforce Field Service Appointment Bundle Aggregation Duration Downscale Fields
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. Don’t 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.
Work Rule Entry Supplemental details for a work rule such as flexible break
parameters.
SEE ALSO:
Set Up Field Service
Field Service Developer Guide
661
Salesforce Field Service Appointment Bundle Aggregation Policy Fields
To Bundle Member Number The number of the last bundle member to which the downscale
is applied.
SEE ALSO:
Create Appointment Bundle Aggregation Duration Downscales
Aggregation Field Type The target field type in the bundle to which the
aggregation is directed.
Possible values are:
• Boolean
• Date
• Numeric
• Picklist
• Picklist-Multi
• Skills
• String
Allow the same value to appear more than once Indicates if you want to allow the same string
to appear more than once when using the 'Sum
based on Bundle Members' action type.
662
Salesforce Field Service Appointment Bundle Aggregation Policy Fields
Constant Date Value Represents how the date value will be determined.
Possible values are:
• End of Day
• Now
• Null
• Start of Day
Downscale Sorting Direction Applies only if the Set Downscaled Duration action is set. The
downscaling sorting direction of the bundle member service
appointments, according to their duration.
Possible values are:
• Ascending
• Descending
Maximum Bundle Duration The maximum bundle duration that can be accumulated from the
bundle members (after downscaling).
Recordset Filter Criteria The active recordset filter criteria used for aggregating the bundle
members.
Source Field Name of the source field in the bundle member from which the
value is taken. Possible values: All default and custom Service
Appointment fields.
SEE ALSO:
Create an Appointment Bundle Aggregation Policy
663
Salesforce Field Service Appointment Bundle Config Fields
Bundle Statuses to Propagate The bundle statuses that when updated are
inherited by the bundle members. Possible
values: All service appointment statuses. The
default value is None.
Criteria for Automatic Unbundling The recordset filter criteria that causes a bundle
service appointment to be unbundled.
Remove from Bundle Statuses The statuses of service appointments that are
allowed to be removed from a bundle. Possible
values: All service appointment statuses. The
default value is None.
Status on Removal from Bundle The status that a service appointment is given
when it’s removed from a bundle. Possible
values: All service appointment statuses. The
default value is None.
Statuses not to Update on Unbundling The statuses that aren’t updated when a bundle
is unbundled. Possible values: All service
appointment statuses. The default value is None.
SEE ALSO:
Create an Appointment Bundle Config
664
Salesforce Field Service Appointment Bundle Policy Fields
Filter Criteria The active recordset filter criteria used for the
bundle members. Only service appointments
that meet the criteria can be bundled.
Limit Amount of Bundle Members The maximum number of bundle members that
can be included in a bundle.
Time Calculation by Bundle Duration Field Indicates if the bundle’s duration is validated. If
true, the bundle’s start time is subtracted from
the bundle’s end time. If the result is a negative
value, it uses the entered ConstantTimeValue
as the bundle duration. The default value is
‘false’.
SEE ALSO:
Create an Appointment Bundle Policy
665
Salesforce Field Service Appointment Bundle Policy Service Territory Fields
666
Salesforce Field Service Appointment Bundle Restriction Policy Fields
Update on Remove Indicates if you want to enable updating the fields of the bundle
members when they are removed from the bundle.
Update on Unbundle Indicates if you want to enable updating the fields of the bundle
members when performing the Unbundle action.
SEE ALSO:
Create an Appointment Bundle Propagation Policy
SEE ALSO:
Create an Appointment Bundle Restriction Policy
667
Salesforce Field Service Appointment Bundle Sort Policy Fields
Sort Direction The order of the appointments in a bundle. The Field Service core
features, managed
Possible values are:
package, and mobile app
• Ascending are available in Enterprise,
• Descending Unlimited, and Developer
Editions.
Sort Field Name Name of the field in the service appointment
used for sorting the bundle members. Possible
values: All default and custom Service
Appointment fields.
Sort Order The order of fields used for sorting the bundle
members.
Sort Type The applied sort type for arranging the bundle.
Sort for Automatic Bundling defines the order
that automated bundling uses to examine the
candidate service appointments to be bundled.
Sort Within a Bundle defines the order of bundle
members. It’s also used when you unbundle to
define the order that the service appointments
are scheduled on the Gantt.
SEE ALSO:
Create an Appointment Bundle Sort Policy
668
Salesforce Field Service Asset Downtime Period Fields
Outside Uptime Calculation Period Whether this asset downtime period is excluded
from the calculation of accumulated downtime
and accumulated unplanned downtime, and
therefore not included in availability and
reliability calculations.
669
Salesforce Field Service Geolocation-Based Action Fields
Expense Start Date If the expense was incurred over multiple days, the Expense Start
Date is the first day that the expense covers.
Expense Type The type of expense. The default choices are Billable and
Non-billable.
Last Modified By (Read Only) User who last modified the expense.
Last Modified Date (Read Only) Date the expense was last modified.
Transaction Date The day that the expense was incurred, or the payment date for
the expense.
Last Time Triggered Captures the last time the mobile worker
invoked this action.
Radius (in meters) The distance in meters from the location of the
associated object that triggers the action.
670
Salesforce Field Service Job Profile Fields for Field Service
SEE ALSO:
Set Up Geolocation-Based Actions for Field Service Mobile Workers
Owner Name The name of user or group that owns the job profile.
671
Salesforce Field Service Location Fields for Field Service
Field Description
needed, you can detach and reattach an article to a record to link
the latest version.
For example, if an article was entitled “How to Replace a Filter”
when it was attached to a work order, this field displays that title
and links to the attached version.
Knowledge Article ID Required. The ID of the article that is attached to the record.
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.”
Linked Record ID Required. The ID of the record that the article is attached to. For
example, if the article is attached to a work order, this field displays
the ID of the work order.
Record Type ID The record type of the linked article. This field is populated only if
record types are used.
SEE ALSO:
Set Up Knowledge for Work Orders
Attach Knowledge Articles to Work Orders or Work Types
672
Salesforce Field Service Location Fields for Field Service
Location Level The location’s position in a location hierarchy. If the location has
no parent or child locations, its level is 1. Locations that belong to
a hierarchy have a level of 1 for the root location, 2 for the child
locations of the root location, 3 for their children, and so forth.
Mobile Location Indicates whether the location moves. For example, a truck or tool
box.
Parent Location The location’s parent location. For example, if vans are stored at a
warehouse when not in service, the warehouse is the parent
location.
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.
673
Salesforce Field Service Location Fields for Field Service
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.
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.
SEE ALSO:
Create Inventory Locations for Field Service
674
Salesforce Field Service Maintenance Plan Fields
Auto-generate work orders Turns on auto-generation of work order batches for a maintenance
plan and prohibits the manual generation of work orders via the
Generate Work Orders action. If this option is selected, a new batch
of work orders is generated for the maintenance plan on the next
suggested maintenance date* listed on each maintenance asset,
or on the maintenance plan if no assets are included. If a Generation
Horizon is specified, the date of generation is that many days earlier.
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 date corresponds to the work order’s
Suggested Maintenance Date. You can use this field to enforce a
delay before the first maintenance visit, for example, where you
want monthly maintenance to begin one year after the purchase
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 lists a Suggested Maintenance Date of May 1. And the
dates on the later work orders are based on the Generation
Timeframe and Frequency settings.
675
Salesforce Field Service Maintenance Plan Fields
Frequency (Optional) Amount of time between the plan’s work orders. The
unit is specified in the Frequency Type field.
Generate new batch upon completion If this option is 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 causes
a staggered generation schedule between maintenance assets.
Generation Horizon (Days) The next batch of work orders is generated this number of days
before the maintenance plan’s Date of the first work order in the
next batch. A generation horizon of 5 means that the new batch
of work orders is generated 5 days before the maintenance asset’s
or maintenance plan’s next suggested maintenance date*. If there
are no assets, the new batch is generated on the next suggested
maintenance date*. The generation horizon must be a whole
number.
Generation Timeframe (Required) How far in advance work orders are generated in each
batch. The unit is specified in the Generation Timeframe Type field.
676
Salesforce Field Service Maintenance Plan Fields
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 is 3 days before and 3 days after 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 associated 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 item.
Service Contract The service contract associated with the maintenance plan. If any
child maintenance asset is associated with a contract line item
from the service contract, the service contract can’t be updated.
Work Order Generation Method How work orders are generated when more than one asset is
associated 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 work order generation is:
• needs review
• no work order generated
• completed
• unsuccessful
You can generate only one batch at a time.
677
Salesforce Field Service Maintenance Plan Fields
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 date 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.
Note: If you encounter problems with text wrapping in Recurrence Pattern, update your Density Setting from Compact view to
Comfy view. Tell me more.
678
Salesforce Field Service Maintenance Plan Fields
Maintenance Work Rule Name (Read Only) A name assigned to this maintenance work rule in the
format MWR-nnnn.
Maintenance Work Rule Title The title of this work order rule.
Generate on a Floating Schedule Generates work orders based on a floating, not fixed, cadence.
Parent Maintenance Plan Record The maintenance plan this work rule applies to.
Parent Maintenance Record The maintenance asset this work rule applies to.
Recordset Filter Criteria Name The recordset filter criteria associated with this maintenance work
rule.
Recurrence Pattern For calendar-based rules, how frequently the event occurs during
the selected time period. Recurrence pattern is defined on
Maintenance Work Rules.
Sort Order The sort order that applies to this work order rule.
Work Type Work type associated with the maintenance work rule. Work orders
generated from the maintenance work rule inherit its work type’s
duration, required skills and products, and linked articles.
* 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.
SEE ALSO:
Create Field Service Maintenance Plans
Guidelines for Generating Work Orders from a Maintenance Plan
679
Salesforce Field Service Operating Hours Fields for Field Service
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.
SEE ALSO:
Guidelines for Creating Operating Hours for Field Service
680
Salesforce Field Service Product Request and Transfer Fields
681
Salesforce Field Service 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
682
Salesforce Field Service 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. After you
mark a product item received, you can’t undo it.
To find out what happens when a product transfer is marked
received, see Guidelines for Transferring Inventory.
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.
683
Salesforce Field Service Product Request and Transfer Fields
Shipment Expected Delivery Date The expected date of delivery, inherited from the related shipment.
Shipment Status The shipment status, inherited from the related shipment. It
includes the following values, which can be customized:
• Shipped
• Delivered
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.
Product Transfer The transfer for which this inventory transaction was requested.
684
Salesforce Field Service Product Request and Transfer Fields
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.
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.
SEE ALSO:
Product Item and Inventory Fields
Location Fields for Field Service
Return Order Fields
Set Up Your Field Service Inventory
Set Up Product Requests in the Field Service Mobile App
685
Salesforce Field Service Product Item and Inventory Fields
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.
686
Salesforce Field Service Product Item and Inventory Fields
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.
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.
687
Salesforce Field Service Product Item and Inventory Fields
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.
Total Price The product’s unit price multiplied by the quantity consumed
minus the discount.
Work Order Line Item Work order line item associated with the product consumed.
688
Salesforce Field Service Product Service Campaign Fields
Product
Products are products that your company sells. They have these fields.
Transfer Record Mode If serialized, indicates when the serial number is recorded:
• SendAndReceive means the serial number is recorded when
sending or receiving.
• ReceiveOnly means the serial number is recorded when
receiving only.
SEE ALSO:
Location Fields for Field Service
Product Request and Transfer Fields
Return Order Fields
Set Up Your Field Service Inventory
689
Salesforce Field Service Product Service Campaign Fields
Product service campaign name The name of the product service campaign.
Start date The date that the product service campaign starts on.
Status The status of the product service campaign. The picklist includes
the following values, which can be customized:
• New—Product service campaign created, but there’s no activity
yet.
• In Progress—Product service campaign began.
• On Hold—Work is paused.
• Completed—Work is complete.
• Cannot Complete—Work couldn’t 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 that 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, you create a Waiting for
Response value and decide that it belongs in the On Hold category.
To learn which processes reference Status Category, see How are
Status Categories Used?
Type The type of the product service campaign. The picklist includes
the following values, which can be customized:
• Modification—The asset requires an on-site alteration.
• Recall—The asset must be returned to the manufacturer for
modification or upgrade.
• Service—The asset requires service.
• Upgrade—The asset requires updating.
Work type The work type associated with the product service campaign order.
When a work type is selected, the product service campaign
690
Salesforce Field Service Product Service Campaign Fields
Product The product associated with this product service campaign item.
Product service campaign The item’s parent product service campaign record.
Product service campaign item number The ID of the product service campaign item.
Status The status of the product service campaign. The default values are:
• New—Product service campaign created, but there’s no activity
yet.
• In Progress—Product service campaign began
• On Hold—Work is paused.
• Completed—Work is complete.
• Cannot Complete—Work couldn’t 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 that 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, you create a Waiting for
Response value and decide that it belongs in the On Hold category.
To learn which processes reference Status Category, see How are
Status Categories Used?
691
Salesforce Field Service 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 mobile worker’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.
692
Salesforce Field Service 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 mobile
worker’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 mobile
worker’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 completed: Asset, Order
Product, Product, Product Item, and Product Request Line Item.
693
Salesforce Field Service 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
completed: 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 completed: 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 completed: Asset,
Order Product, Product, Product Item, and Product Request Line
Item.
Product Service Campaign The product service campaign associated with the return order.
Product Service Campaign Item The product service campaign item associated with the return
order.
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 used to reimburse the customer or owner for the
items being returned. Available values are:
• Replace—The items are replaced
694
Salesforce Field Service Recordset Filter Criteria Fields
Return Order The return order that the return order line item belongs to.
Return Order Line Item Number (Read only) Autogenerated 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 mobile
worker’s service vehicle to a warehouse, the service vehicle is the
source location.
SEE ALSO:
Track Customer Returns in Field Service
Guidelines for Tracking Customer Returns
Recordset Filter Criteria Name The name of the recordset filter criteria.
695
Salesforce Field Service Recordset Filter Criteria Fields
Add lead-time to usage-based work rules Allows you to create counter-based usage and duration-based
usage rule types.
Criteria Field The Service Appointment or Asset field used in the filter condition
rule.
Recordset Filter Criteria Rule Number (Read only) Auto-generated number that identifies the filter
condition rule.
Operator The criteria used to compare the Criteria Field to the Value field.
Usage Rate Stores the daily usage rate of the asset. The unit for the usage rate
must be per day.
SEE ALSO:
Create Criteria-Based Maintenance
Guidelines for Recordset Filter Criteria
Guidelines for Criteria-Based Maintenance
Guidelines for Usage-Based Maintenance
696
Salesforce Field Service Serialized Products and Serialized Products Transactions
Fields
Related Record The product transfer or product consumed associated with the
serialized product.
697
Salesforce Field Service Service Appointment Fields for Field Service
Arrival Window End The end of the window of time in which the
mobile worker 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.
698
Salesforce Field Service Service Appointment Fields for Field Service
Bundle Policy Reference to the bundle policy associated with this service
appointment.
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.
Longitude Used with Latitude to specify the precise geolocation of the address
where the service appointment is completed. Acceptable values
are numbers between –180 and 180 with up to 15 decimal places.
This field is available in the API only.
To integrate data from an external data source for longitude, map
your data to the ServiceAppointment.Longitude and
not the
699
Salesforce Field Service Service Appointment Fields for Field Service
Manually Bundled Applicable when you’re using the Appointment Bundler. This field
is a read-only field. Indicates if this bundle was created manually.
The default value is false.
Offsite Appointment Applicable only when you’re using Enhanced Scheduling and
Optimization. Indicates whether this appointment can be done
remotely. If selected, no travel time is added to the schedule
assigned resource record when the job is scheduled. For example,
work such as remote technical assistance, filling out reports, or
renewal of health and safety certification can be done from
anywhere.
Enhanced Scheduling and Optimization must be enabled. As of
Summer ’23 new Salesforce orgs have Enhanced Scheduling and
Optimization enabled by default for all service territories. Orgs
existing prior to Summer ’23 must add the Offsite Appointment
field to the page layout.
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.
Related Bundle Applicable when you’re using the Appointment Bundler. The
bundle that this service appointment is a member of.
Scheduled End The time at which the appointment is scheduled to end. If you’re
using the Field Service managed package with the scheduling
optimizer, this field is populated when the appointment is assigned
to a resource. Scheduled End – Scheduled Start = Estimated
Duration.
Scheduled Start The time at which the appointment is scheduled to start. If you’re
using the Field Service managed package with the scheduling
optimizer, this field is populated when the appointment is assigned
to a resource.
Schedule Mode (Read only) Shows Auto or Manual after performing automated or
manual scheduling. When using Enhanced Scheduling and
Optimization, the Schedule Mode field shows how the appointment
was scheduled: Drag and Drop, Schedule, Global Optimization,
In-Day Optimization, or Resource Optimization.
700
Salesforce Field Service 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.
If Lightning Scheduler is also in use, this field is editable. However,
users see an error if they update it to list a different work type than
the parent record’s work type.
SEE ALSO:
Manage Field Service Appointments
701
Salesforce Field Service Service Crew Fields
Gantt Label Custom label that appears beneath the member’s name on the
Gantt. For example, enter the person’s job title.
702
Salesforce Field Service Service Report Fields
Service Crew The crew that the service resource belongs to.
Start Date Required. The day the service resource joins the crew.
SEE ALSO:
Create Service Crews
Set Up Crew Management
Manage Field Service Crew Membership
Service Report Language The language used for the service report. The
language is selected in the Service Report
Language field on the associated work order. If
the work order doesn’t specify a service report
language, the report is translated in the default
language in Salesforce of the person generating
the report.
703
Salesforce Field Service 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, mobile workers can collect signatures from customers, other
workers, 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 mobile workers present at
an appointment should sign—create numbered types: Technician
1, Technician 2, and so forth.
SEE ALSO:
Create Field Service Report Templates
Create Field Service Customer Reports
Field Service Guidelines for Creating Service Report Templates
Field Service Guidelines for Using Signatures on Service Reports
704
Salesforce Field Service Service Resource Fields for Field Service
Include in Scheduling Optimization Use only if the Field Service 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.
705
Salesforce Field Service Service Resource Fields for Field Service
Service Crew The associated service crew. If the service resource represents a
crew, select the crew.
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 when 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.
706
Salesforce Field Service 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 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.
If the resource represents a crew, you can’t track individual crew
members’ travel time unless you create an assigned resource record
for each crew member.
707
Salesforce Field Service Service Territory Fields for Field Service
Resource Preference
Resource preferences determine which service resources are 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.
SEE ALSO:
Create Service Resources for Field Service
Guidelines for Creating Service Resources for Field Service
708
Salesforce Field Service Service Territory Fields for Field Service
Average Travel Time (in minutes) The average travel time for the service territory in minutes. The
value is added to the Work Capacity Usage for each scheduled
service appointment in the service territory. The average travel
time must include both travel time and the travel time buffer, if
defined. See Work Capacity Usage (WCU) on page 219.
Operating Hours The territory’s operating hours, which indicate when service
appointments within the territory 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 can be the same as its parent.
Travel Mode The travel mode used for travel time calculations. The travel mode
includes information about the type of transportation, such as a
car or walking, whether a vehicle can take toll roads, and whether
a vehicle is transporting hazardous materials.
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 is scheduled to work in the territory for the
709
Salesforce Field Service Service Territory Fields for Field Service
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.
Start Date The date when the service resource becomes a member of the
service territory.
Territory Type • Primary: Where the resource works most often. For example,
near their home base. Service resources can have only one
primary territory at a given time.
• 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 these territories.
• Primary territory: West Chicago
• Secondary territories:
– East Chicago
– South Chicago
710
Salesforce Field Service Shift Fields for Field Service
SEE ALSO:
Create Service Territories for Field Service
Guidelines for Creating Service Territories for Field Service
Last Modified By (Read Only) User who last modified the time
sheet.
Last Modified Date (Read Only) Date the time sheet was last
modified.
Recordset Filter Criteria Recordset filter criteria associated with the shift.
Filter criteria can be used to match shift and
service territory records against criteria you
create.
711
Salesforce Field Service Shift Pattern Fields
Status The status of the shift. The picklist includes the following values,
which can be customized:
• Tentative
• Published
• Confirmed
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:
• Normal
• Extended
712
Salesforce Field Service Shift Template Fields
Name (Read only) Auto-generated number that identifies the shift pattern
entry.
Time Slot Type Sets the shift's time slot type, either Normal or
Extended. If no time slot type is selected, shifts
created from the template are marked Normal.
713
Salesforce Field Service 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.
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.
714
Salesforce Field Service Time Sheet Fields
Skill Level The required skill level. Skill level can range from zero to 99.99.
SEE ALSO:
Create Skills for Field Service
Add Required Skills to Work Orders or Work Types for Field Service
Last Modified Date (Read Only) Date the time sheet was last
modified.
Time Sheet End Date The last day the time sheet covers.
Time Sheet Entry Count (Read Only) The number of related time sheet
entries.
Time Sheet Start Date The first day the time sheet covers.
715
Salesforce Field Service 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.
Location Time Zone Time zone of the location where the activity occurred.
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.
SEE ALSO:
Create Time Sheet Templates
716
Salesforce Field Service Travel Mode Fields
• Bicycle
• Car
• Heavy Truck
• Light Truck
• Walking
Warranty Fields
Warranty terms, product warranty terms, and asset warranties have the following fields. Your page
EDITIONS
layout and field-level security settings can hide some fields and prevent you from editing others.
Available in: both Salesforce
Classic (not available in all
Warranty Term
orgs) and Lightning
Warranty terms let you define the labor, parts, and expenses covered, along with any exchange Experience
options provided to rectify issues with products.
The Field Service core
features, managed
Field Name Description
package, and mobile app
Active Defines whether the warranty term is active. are available in Enterprise,
Unlimited, and Developer
Code A code or other identifier associated with this Editions.
warranty term.
Effective Start Date Date when the warranty term became available:
• InstallDate
• ManufactureDate
• PurchaseDate
717
Salesforce Field Service Warranty Fields
Expenses Covered Duration (Required) The period that expenses are covered for.
Expenses Covered Unit of Time (Required) The time measurement for expenses covered duration:
• Days
• Weeks
• Months
• Years
Labor Covered Duration (Required) The period that labor is covered for.
Labor Covered Unit of Time (Required) The time measurement for labor covered duration:
• Days
• Weeks
• Months
• Years
Parts Covered Duration (Required) The duration that parts are covered for.
Parts Covered Unit of Time (Required) The time measurement for parts covered duration:
• Days
• Weeks
• Months
• Years
Price Book The price book item associated with this warranty term.
718
Salesforce Field Service Warranty Fields
Covered Product (Required if Covered Product Family isn’t defined.) The product
that the warranty term applies to.
Product Warranty Term Number (Read Only) The identifier for this product warranty term.
Asset Warranty Number (Read Only) The identifier of the asset warranty record.
Expenses Covered End Date The date when cover for expenses ends.
Labor Covered End Date The date when cover for labor ends.
Parts Covered End Date The date when cover for parts ends.
719
Salesforce Field Service Work Order Fields for Field Service
Start Date The date when cover under this warranty term starts.
Warranty Term The warranty term this asset warranty term extends.
720
Salesforce Field Service Work Order Fields for Field Service
Field Description
Duration The estimated time required to complete the work order. Specify
the duration unit in the Duration Type field.
Work order duration and work order line item duration are
independent of each other. If you want work order duration to
automatically show the sum of the work order line items’ duration,
replace the Duration field on work orders with a custom roll-up
summary field.
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 Start
Date.
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.
This option is deselected for work orders that were generated from
maintenance plans before Summer ’18.
Grand Total (Read Only) The total price of the work order with tax added.
Is Closed Indicates whether the work order is closed. Use this field to report
on closed versus open work orders.
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.
721
Salesforce Field Service Work Order Fields for Field Service
Field Description
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.
Maintenance Work Rule Id (Read Only) ID of the maintenance work rule if the work order or
work order line item was created by a maintenance plan. If created
by the One Work Order Line Item per Asset option on the
maintenance plan, the field is populated only on the work order
line item.
Minimum Crew Size The minimum crew size allowed for a crew assigned to the work
order.
If you’re not using the Field Service managed package, this field
serves as a suggestion rather than a rule. If you’re 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. View, create, and
delete a work order’s child work orders in the Child Work Orders
related list.
Postal Code The postal code where the work order is completed. Maximum
length is 20 characters.
Post-Work Summary The summary of a completed work order that’s either entered
manually, or, if using Einstein Copilot, the summary can be created
by copilot.
Pre-Work Brief Prompt Template ID The ID of the activated Pre-Work Brief prompt template.
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
722
Salesforce Field Service Work Order Fields for Field Service
Field Description
(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
Product Service Campaign The product service campaign associated with the work order.
Product Service Campaign Item The product service campaign item associated with the work order.
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.
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 can
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
the Salesforce 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
uses.
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.
723
Salesforce Field Service Work Order Fields for Field Service
Field Description
This field stays blank unless you update it on the work order. So to
find out which template the work order’s service reports uses, check
its work type.
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. See the example for
a workflow rule that configures this field.
The Start Date and End Date fields are blank by default, but you
can set up workflow rules to configure them.
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 couldn’t be completed.
• Closed—All work and associated activity is complete.
• Canceled—Work is canceled, typically before any work began.
Changing a work order’s status doesn’t 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 that 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 can decide that it belongs in the On Hold
category.
Street The street number and name where the work order is completed.
Subject The subject of the work order. Describe the nature and purpose of
the job to be completed. For example: annual on-site well
maintenance. The maximum length is 255 characters.
724
Salesforce Field Service Work Order Line Item Fields for Field Service
Field Description
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 autogenerated 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.
SEE ALSO:
Set Up Work Order Management for Field Service
Manage Field Service Work Orders
725
Salesforce Field Service Work Order Line Item Fields for Field Service
Field Description
Currency ISO Code The ISO code for any currency allowed by the organization.
Available only for Salesforce orgs with the multicurrency feature
enabled.
Discount The percent discount to be applied to the line item. You can enter
a number with or without the percent symbol and you can use up
to two decimal places.
Duration The estimated time required to complete the line item. Specify the
duration unit in the Duration Type field.
DurationInMinutes The estimated time required to complete the line item, in minutes.
This field is for internal use.
Is Closed Indicates whether the line item is 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)
726
Salesforce Field Service Work Order Line Item Fields for Field Service
Field Description
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.
Maintenance Work Rule Id (Read Only) ID of the maintenance work rule if the work order or
work order line item was created by a maintenance plan. If created
by the One Work Order Line Item per Asset option on the
maintenance plan, the field is populated only on 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 managed package, this field
serves as a suggestion rather than a rule. If you’re using 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 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.
Note: 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.
727
Salesforce Field Service Work Order Line Item Fields for Field Service
Field Description
Product Service Campaign The product service campaign associated with the work order line
item.
Product Service Campaign Item The product service campaign item associated with the work order
line item.
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 can 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 uses.
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
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. To find out which template the line item’s service
reports uses, 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’s no activity yet.
• In Progress—Work has begun.
• On Hold—Work is paused.
• Completed—Work is complete.
• Cannot Complete—Work couldn’t 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 that are identical to the
728
Salesforce Field Service Work Order Line Item Fields for Field Service
Field Description
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 can 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.
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 autogenerated 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.
SEE ALSO:
Set Up Work Order Management for Field Service
Manage Field Service Work Orders
729
Salesforce Field Service Work Type Fields for Field Service
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.
730
Salesforce Field Service 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 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.
SEE ALSO:
Create Work Types for Field Service
Guidelines for Creating Work Types for Field Service
Add Required Skills to Work Orders or Work Types for Field Service
731
Salesforce Field Service Manage Assets in Field Service
Associate an Asset with Its Related Contacts Available in: both Salesforce
Create Asset Contact Participant records to track all the contact associated with an asset in the Classic (not available in all
asset’s lifecycle. For example, associate an asset with the technician who repaired it, with the orgs) and Lightning
finance manager who facilitated its sale, and with the sales executive who sold it. An asset can Experience
have multiple contact participants. The Field Service core
Associate an Asset with Its Related Accounts features, managed
Create Asset Account Participant records to track all the accounts associated with an asset in package, and mobile app
are available in Enterprise,
the asset’s lifecycle. For example, an asset can be related with the supplier who supplied you
Unlimited, and Developer
the asset and the customer who bought the asset. An asset can have multiple account
Editions.
participants.
Record Product Warranties in Field Service
Use Warranty Terms to record details of the labor, parts, expenses, and exchange options that you provide to rectify issues with
products you sell or install.
Manage Field Service Asset Attributes
Improve asset management and help mobile workers efficiently repair and maintain assets by defining and monitoring asset attributes
that represent asset health and performance. Then, define threshold monitoring based on recordset filter criteria and track threshold
compliance for multiple asset attributes.
Track Availability and Reliability in Field Service
Obtain availability and reliability statistics to measure asset performance, efficiency, and depreciation.
Integrate Field Service Assets with MuleSoft
Connect, automate, and secure assets across any systems with MuleSoft.
Asset Health Score
The Asset Health Score indicates the overall condition and performance of an asset.
732
Salesforce Field Service Associate an Asset with Its Related Accounts
7. Select Active.
8. Select a start date and effective end date for the association between the asset and the account.
9. For Usage Type, select Field Service Lightning.
10. Save your changes.
1. From the App Launcher, find and select Asset Account Participants.
2. Click New.
3. Enter a name for the participant.
4. Search for and select the account to be linked with the asset.
5. For Stakeholder Role, select the role of the account linked with the asset, such as financier, customer, or sales dealer.
6. Search for and select an asset.
7. Select Active.
8. Select a start date and end date for the association between the asset and the account.
9. For Usage Type, select Field Service Lightning.
10. Save your changes.
733
Salesforce Field Service Manage Field Service Asset Attributes
SEE ALSO:
Organize Products with Product Families
Set Up for Product Warranties in Field Service
734
Salesforce Field Service Manage Field Service Asset Attributes
To create and manage restriction rules: Manage Sharing The Field Service core
features, managed
To view restriction rules: View Setup & Configuration AND View package, and mobile app
Restriction and Scoping Rules are available in Enterprise,
Unlimited, and Developer
Editions.
Configure your Asset Attributes settings and enable user permissions.
Before you create and manage asset attributes, make sure that you complete these tasks.
1. Enable user permissions for attribute definitions and units of measure.
a. From Setup, in the Quick Find box, enter Users, and then select Profiles.
b. Select the relevant profile, and then click Edit.
c. In Tab Settings, select Default On for Attribute Definitions and Units of Measure.
d. In Standard Object Permissions, enable basic access permissions for Attribute Definitions and Units of Measure.
3. (Optional) Customize the fields to appear in the Asset Attributes related list. In the page layout of the Asset object, select the fields
to show.
735
Salesforce Field Service Manage Field Service Asset Attributes
4. (Optional) Create restriction rules for asset attributes when sharing asset records. The rules prevent sharing confidential asset attributes
along with the asset record. From the object management settings for asset attributes, go to Restriction Rules and click Create New
Rule.
SEE ALSO:
Find Object Management Settings
Customize Related Lists
Create a Restriction Rule
Restriction Rule Considerations
To create attribute
definitions:
• Create on Attribute
Definition
To view attribute definitions:
• Read on Attribute
Definition
To edit attribute definitions:
• Update on Attribute
Definition
To delete asset attributes:
• Delete on Attribute
Definition
736
Salesforce Field Service Manage Field Service Asset Attributes
737
Salesforce Field Service Manage Field Service Asset Attributes
The asset’s Attributes tab shows a card for each threshold defined for the asset. The cards show the compliance status of a threshold
depending on whether it meets the recordset filter criteria conditions. If a recordset filter criteria condition is invalid, an Undetermined
compliance status is shown on the threshold card.
738
Salesforce Field Service Manage Field Service Asset Attributes
5. Save your work and activate the Lightning record page. The Field Service core
features, managed
package, and mobile app
SEE ALSO:
are available in Enterprise,
Find Object Management Settings Unlimited, and Developer
Create and Configure Lightning Experience Record Pages Editions.
Add and Customize Tabs on Lightning Pages Using the Lightning App Builder
Activate Lightning Experience Record Pages USER PERMISSIONS
739
Salesforce Field Service Manage Field Service Asset Attributes
Create Thresholds
After creating the recordset filter criteria, add it to a recordset filter criteria monitor to monitor the
EDITIONS
threshold compliance of an asset’s fields and attributes.
1. From the App Launcher, find and select Assets. Available in: both Salesforce
Classic (not available in all
2. Click the relevant asset record and open the Attributes tab. If you don’t see the Attributes tab,
orgs) and Lightning
refresh the page.
Experience
3. Click New Threshold and enter a name and a description for the recordset filter criteria monitor.
The Field Service core
4. Select a recordset filter criteria defined for the asset. features, managed
5. Save the recordset filter criteria monitor. package, and mobile app
are available in Enterprise,
Unlimited, and Developer
Editions.
USER PERMISSIONS
740
Salesforce Field Service Track Availability and Reliability in Field Service
Considerations
• These setup options in Object Manager for asset attributes aren’t supported.
– Validation rules
– Record types
– History tracking
– Buttons, links, and actions
• For custom objects that have related attribute definitions, add the Datatype field to the Attribute Definition related list to show the
Default Value field correctly on the related list.
• The Threshold card is presented only to users with Edit permissions on Asset.
• The Delete action appears in the threshold card and in the Asset Attribute related list even if the user doesn’t have Delete permissions.
An error message is shown if the user tries to delete.
2. Use the Asset Downtime Periods related list to Record Asset Downtime in Field Service on page 743.
Note: After updating Asset Downtime Periods, reload the Asset record to see the updated cumulative downtime, cumulative
unplanned downtime, availability, and reliability.
About the calculations:
Note: Availability and reliability are calculated when an uptime record start date is provided. When no uptime record start date
is provided we don't calculate availability or reliability, and both fields are blank.
741
Salesforce Field Service Track Availability and Reliability in Field Service
Availability and reliability values are calculated as the ratio between expected uptime and actual uptime allowing for:
• planned and unplanned downtime (in calculating availability), that is Availability = (expected uptime - accumulated planned and
unplanned downtime) / expected uptime
• unplanned downtime (in calculating reliability), that is Reliability = (expected uptime - accumulated unplanned downtime) / expected
uptime
Average Time to Repair and Average Time Between Failures are calculated as follows:
• Average Time Between Failures = (Uptime in days - unplanned downtime in days) * Average uptime per day / number of unplanned
downtime count
• Average Time to Repair = Unplanned downtime in hours / number of unplanned downtime count
Note: Average Time to Repair and Average Time Between Failures are calculated only when Uptime Record Start Date and
Unplanned Downtime Count information are provided. The “unplanned downtime count” is calculated on the asset and based
on the number of "AssetDowntimePeriod" records that are categorized as “Unplanned”. To calculate Average Time Between
Failures, the Uptime Record End Date must be provided as well.
Expected uptime is calculated as follows:
• If the uptime record end time is in the future or no uptime record end time is provided
– Uptime = the average uptime per day * number of days between the uptime record start time and now.
• Else
– Uptime = the average uptime per day * number of days between the uptime record start time and uptime record end time.
Note: If you record details of planned downtime, we recommended that you maintain the uptime record end time as a date
close to now. This ensures that the availability and reliability calculations exclude planned downtime information. If the uptime
record end time isn't set, and the accumulated planned downtime exceeds the accumulated uptime to date, the reliability and
availability statistics may be reported as negative.
The read only Outside Uptime Calculation Period checkbox indicates whether a record is excluded from the cumulative downtime
calculation.
Note: When reporting on asset downtime records, you can’t filter records using the Outside Uptime Calculation Period flag nor
can you include the flag in the report
742
Salesforce Field Service Track Availability and Reliability in Field Service
Unplanned.
4. Enter the date and time for the start and end of the downtime.
5. Enter a description of the reason for the downtime.
6. Save your changes.
Note: Enter details for downtime that occurs during the hours when the asset is expected to be available. For example, a public
elevator in a retail store is expected to be available from 8 AM to 8 PM. In this example:
• Planned maintenance performed between 9 PM and 10 PM isn’t recorded as downtime.
• Unplanned maintenance performed between 7 AM and 9 AM is recorded as unplanned downtime from 8 AM to 9 AM.
• Unplanned maintenance performed between 1 PM and 11 AM the following day is recorded as two down time records:
– Unplanned downtime from 1 PM to 8 PM on the first day.
– Unplanned downtime from 8 AM to 11 AM on the second day.
If downtime outside the expected uptime is recorded, the reliability and availability figures are understated. In extreme cases, they
can be reported as negative.
Note: When an asset is shared, its asset downtime period records are also shared.
743
Salesforce Field Service Integrate Field Service Assets with MuleSoft
What is MuleSoft?
MuleSoft’s unified integration, automation, and API management platform, powered by Einstein 1, transforms all of your IT assets into
digital building blocks to deliver end-to-end, AI-powered experiences. Customers can connect, automate, and secure their data from
any system or model, using discoverable and reusable APIs to generate increased revenue and cost savings.
Note: Mule capabilities included in this bundle are to be used only for the purposes of asset management integration between
SAP and Salesforce. Using MuleSoft allotted capabilities for other use cases violates Field Service E1E contractual terms.
Asset management includes the integration of these components:
• Systems: SAP, Salesforce
• Objects: Products, Assets, Asset Attributes, Locations, Warranties, Service Contracts, Entitlements, Return Orders
• Operations: Create, Update, Delete, Get
744
Salesforce Field Service Asset Health Score
Salesforce’s Office of Ethical and Humane Use ensures that our technology is used to help, not harm, The Field Service
society and uphold the basic human rights of every human being. Its advisory council, composed Appointment Assistant
of executive employees, academics, ethicists, industry experts, and society leaders, created a managed package and
framework of Guiding Principles to guide processes for the ethical and humane use of Salesforce permission set license are
technology. required.
745
Salesforce Field Service Set Up Field Service Appointment Assistant
SEE ALSO:
Custom Labels
746
Salesforce Field Service Before You Begin with Field Service Appointment Assistant
747
Salesforce Field Service Before You Begin with Field Service Appointment Assistant
USER PERMISSIONS
To create, customize, or
publish a site:
• Create and Set Up
Experience Sites AND
View Setup and
Configuration
748
Salesforce Field Service Set Up Field Service Appointment Assistant Real-Time Location
749
Salesforce Field Service Set Up Field Service Appointment Assistant Real-Time Location
Add Real-Time Location to the Service Appointment Layout for Back-Office Users
Display the Appointment Assistant Real-Time Location component in the service appointment layout. This view lets your admins,
dispatchers, and agents see the same ETA, map view, and mobile worker’s details that your customers can see. The component is
displayed as the team member travels to the customer, until arrival.
SEE ALSO:
Trailhead: Real-Time Location in Appointment Assistant
USER PERMISSIONS
The Field Service Appointment Assistant license is an add-on license. If the license isn’t available for selection, ask your account
executive for help.
750
Salesforce Field Service Set Up Field Service Appointment Assistant Real-Time Location
USER PERMISSIONS
To configure resource
tracking:
• Customize Application
751
Salesforce Field Service Set Up Field Service Appointment Assistant Real-Time Location
Note: Mobile worker locations are shared during travel to the customer until arrival. While the location is shared, geolocation
settings are overridden and get updated every 60 seconds.
SEE ALSO:
Track Service Resource Geolocation with the Field Service Mobile App
If you can’t see the map in the Appointment Assistant component, add the
https://maps.a.forceusercontent.com URL to your trusted URLs with a CSP context of All. Select USER PERMISSIONS
the connect-src (scripts), frame-src (iframe content), and img-src (images) CSP directives. See
To add components to sites:
Manage Trusted URLs.
• Create and Set Up
Note: For the LWR Experience Cloud Site template, the map isn’t fully supported. Experience Sites AND
View Setup and
Configuration
Manage What Customers See About Field Service Mobile Workers
You can control how much information is shared about your mobile workers and their location.
Add Custom Icons to the Real-Time Location Component
Add your own icons to mark the team member’s and the customer’s locations on the map.
Set Up Masked Phone Calls for Real-Time Location
Using masked phone calls requires setting up Service Cloud Voice with Amazon Connect.
Let Customers Reschedule and Cancel Appointments in the Real-Time Location Component
Let your customers reschedule and cancel appointments even if the mobile worker is on the way to the appointment.
752
Salesforce Field Service Set Up Field Service Appointment Assistant Real-Time Location
USER PERMISSIONS
To customize component
settings:
2. Select what information to show the customers. • Create and Set Up
Experience Sites AND
• Show time estimate—Information related to the appointment’s address, the appointment’s View Setup and
start and end times, and the estimated arrival time. Configuration
The appointment’s start and end times are taken from the ArrivalWindowStartTime and
ArrivalWindowEndTime fields.
The Estimated arrival time is calculated based on the mobile worker’s current location relative to the service appointment's
location. The estimated arrival time is available from 12 hours before the appointment and is refreshed every 5 minutes.
• Show map—A map with the mobile worker’s location and the service appointment location. The map is refreshed every 60
seconds.
• Show team member’s exact location—When selected, the team member’s exact location is shown. Otherwise, the worker’s
location is shown within a 500-meter radius.
• Show team member’s info—The mobile worker’s first name, the first initial of their last name, and their title.
• Show team member’s image—The mobile worker’s Chatter picture that’s saved in Salesforce.
• Show Call button—Give your customers a button for calling the team member directly. The phone number is from the Phone
field of the user that’s connected to the service resource. If the phone number isn’t populated, the Call button doesn’t appear.
• Let customers reschedule appointments and Let customers cancel appointments—Customers can reschedule and cancel
appointments even if the mobile worker is on the way to the appointment. See Let Customers Reschedule and Cancel
Appointments in the Real-Time Location Component.
If you use all the options, your customer sees something like this.
753
Salesforce Field Service Set Up Field Service Appointment Assistant Real-Time Location
USER PERMISSIONS
To customize component
settings:
• Create and Set Up
Experience Sites AND
7. Copy the URL from the browser’s address bar. View Setup and
Configuration
754
Salesforce Field Service Set Up Field Service Appointment Assistant Real-Time Location
8. In the Real-Time Location’s component settings, paste the URL into the URL for the Team Member’s Marker field.
9. Repeat this procedure for the customer’s location marker.
755
Salesforce Field Service Set Up Field Service Appointment Assistant Real-Time Location
d. Create a Service Cloud Voice contact center. The Field Service core
features, managed
2. Set up the contact flow and the lambda function. package, and mobile app
a. From Setup, in the Quick Find box, enter Voice, and then select Amazon Contact Centers. are available in Enterprise,
Unlimited, and Developer
b. Open your contact center. Editions.
c. Make sure that your contact center is on version 9.0 or above. See Service Cloud Voice
The Appointment Assistant
Contact Center Updates.
managed package and
3. Create a phone number. permission set license are
required. You also need
a. Set up your contact center phone number in Amazon Connect. See Manage Your Contact Service Cloud Voice with the
Center in Amazon Connect. Amazon Connect license.
b. Connect the phone number to the flow: Sample SVC Field Service Phone Call Subflow.
c. Copy the Amazon Connect phone number, and paste it in the Amazon Connect Phone USER PERMISSIONS
Number field of the Real-Time Location component settings. Make sure the Show Call
button is also selected. To view the Amazon Setup
page:
• Customize Application
To turn on Service Cloud
Voice:
• Customize Application
756
Salesforce Field Service Set Up Field Service Appointment Assistant Real-Time Location
Let Customers Reschedule and Cancel Appointments in the Real-Time Location Component
Let your customers reschedule and cancel appointments even if the mobile worker is on the way
EDITIONS
to the appointment.
1. To open the settings panel, click anywhere in the Real-Time Location component. Available in: both Salesforce
Classic (not available in all
2. Select Let customers reschedule appointments and Let customers cancel appointments.
orgs) and Lightning
3. In URL for Self-Service Scheduling, enter the URL of the page where your self-service scheduling Experience
component is located.
The Field Service core
features, managed
package, and mobile app
are available in Enterprise,
Unlimited, and Developer
Editions.
USER PERMISSIONS
To customize component
settings:
• Create and Set Up
Experience Sites AND
View Setup and
Configuration
5. Mobile workers are notified when appointments are rescheduled or canceled. If you want to disable the notifications, follow these
steps.
a. From Setup, in the Quick Find box, enter Process Automation, and then select Flows.
b. Open the Self-Service Scheduling Notifications flow.
757
Salesforce Field Service Set Up Field Service Appointment Assistant Real-Time Location
c. Click Deactivate.
SEE ALSO:
Downloading the Field Service Connected App
USER PERMISSIONS
3. From Profiles, click View Users and click the user’s name. To create, customize, or
publish a site:
4. From Permission Set Assignments, click Edit Assignments.
• Create and Set Up
5. Add Appointment Assistant Guest Permissions. Experience Sites AND
View Setup and
Note: For guest users, be sure to enable public access. Configuration
758
Salesforce Field Service Set Up Field Service Appointment Assistant Real-Time Location
USER PERMISSIONS
To configure Appointment
Assistant settings:
• Field Service
Appointment Assistant
4. In the Site URL field, paste the URL of the Experience Builder site that contains the Appointment Assistant Real-Time Location
Lightning Web Component.
5. Enter a value for the Appointment Assistant Radius. This value generates the second platform event. For example, let’s say that the
radius is set to 2 miles. When the mobile worker is within 2 miles of the service appointment, Appointment Assistant Real-Time
Location sends a notification to the customer that the mobile worker is nearing the appointment location.
Note: You can use an online conversion tool to calculate your Radius Field value. For example, you could use the conversion
2,640 feet = 0.5 miles.
6. Enter a value for the Appointment Assistant Expiration. For example, if the expiration is set to 1 hour, the customer stops seeing the
mobile worker’s location and information 1 hour after the link was generated.
759
Salesforce Field Service Set Up Field Service Appointment Assistant Real-Time Location
Note: Create a quick action on the Service Appointment object so that a mobile worker can easily mark En Route in the Field
Service mobile app. For Appointment Assistant Real-Time Location to work, the change of status must occur on the mobile app
and not on the server side. For example, flows and Lightning web components aren’t supported for this purpose. When the service
appointment status changes to En Route on the mobile app, the location status of the assigned service resource changes to
EnRoute.
Note: If you’re using Appointment Assistant Real-Time Location and Automatic Status Change, it’s recommended to enter a small
radius in the Automatic Status Change settings. A small radius ensures that Appointment Assistant’s Real-Time Location customers
can see the mobile worker’s location up until the worker’s close to the appointment. See Set Up Automatic Status Change.
SEE ALSO:
Create the Salesforce Action and Add It to an Object
Apply the Action to the Object’s Page Layout
760
Salesforce Field Service Set Up Field Service Appointment Assistant Real-Time Location
761
Salesforce Field Service Set Up Field Service Appointment Assistant Real-Time Location
762
Salesforce Field Service Set Up Field Service Appointment Assistant Real-Time Location
b. In step 7:
• In Messaging Template Unique Name, enter the developer name of the Messaging template that you created for Approaching
messages.
• In Messaging Channel Unique Name, enter the developer name of your Approaching Messaging channel.
Note: For an optimal customer experience, ensure that you use complete addresses.
Note: The limit for active flows per flow type is 2,000.
Add Real-Time Location to the Service Appointment Layout for Back-Office Users
Display the Appointment Assistant Real-Time Location component in the service appointment
EDITIONS
layout. This view lets your admins, dispatchers, and agents see the same ETA, map view, and mobile
worker’s details that your customers can see. The component is displayed as the team member Available in: both Salesforce
travels to the customer, until arrival. Classic (not available in all
1. Add the component to the service appointment layout. orgs) and Lightning
Experience
a. In Service Appointments, open one of the appointments.
b. Click the settings icon and select Edit Page. The Field Service core
features, managed
package, and mobile app
are available in Enterprise,
Unlimited, and Developer
Editions.
763
Salesforce Field Service Set Up Field Service Appointment Assistant Self-Service
Scheduling
3. If the component appears as a gray screen, modify the Clickjack protection level.
a. In Experience Builder, click and select Administration.
b. Click Pages.
c. Under Advanced Customization, click Go to Force.com.
Set Up Appointment Assistant Self-Service Scheduling for New Appointments The Field Service core
Let your customers book their own appointments. features, managed
package, and mobile app
Set Up Appointment Assistant Self-Service Scheduling For Existing Appointments are available in Enterprise,
Let your customers confirm, reschedule, or cancel their upcoming appointments. Unlimited, and Developer
Editions.
764
Salesforce Field Service Set Up Field Service Appointment Assistant Self-Service
Scheduling
Assign a Permission Set for Appointment Assistant Self-Service Scheduling Available in: both Salesforce
You can use this permission set for Field Service mobile workers and Field Service admins. For Classic (not available in all
Appointment Assistant Self-Service Scheduling, you need only one Appointment Assistant orgs) and Lightning
license per Salesforce org to book or reschedule appointments. Experience
Set Up the Experience Site for Self-Service Scheduling Authenticated Users The Field Service core
Contacts can view your Experience Site to book, reschedule, cancel, and confirm their features, managed
appointments after logging in. package, and mobile app
are available in Enterprise,
Set Up the Experience Site for Self-Service Scheduling Guest Users Unlimited, and Developer
Guest users can view your Experience Builder site without logging in. All guest visitors to a Editions.
public site share a guest user record, one per site, and have the same access level.
The Field Service
Appointment Assistant
managed package and
permission set license are
required.
USER PERMISSIONS
765
Salesforce Field Service Set Up Field Service Appointment Assistant Self-Service
Scheduling
The Field Service Appointment Assistant license is an add-on license. If the license isn’t available for selection, ask your account
executive for help.
766
Salesforce Field Service Set Up Field Service Appointment Assistant Self-Service
Scheduling
USER PERMISSIONS
To create, customize, or
publish a site:
• Create and Set Up
Experience Sites AND
View Setup and
4. From the user profile, enable access to the flows. Configuration
a. Go to Enabled Flow Access, and click Edit.
b. Add your Self-Service Scheduling flows to the enabled flows.
767
Salesforce Field Service Set Up Field Service Appointment Assistant Self-Service
Scheduling
USER PERMISSIONS
To create, customize, or
publish a site:
• Create and Set Up
Experience Sites AND
View Setup and
Configuration
768
Salesforce Field Service Set Up Field Service Appointment Assistant Self-Service
Scheduling
If Field Service Guest User Permissions doesn’t appear in the list, create a Field Service permission set for guest users.
Note: Make sure that the guest user has access to these objects.
• Assets: Read
• Contacts: Read
• Locations: Read
• Operating Hours: Read
• Recordset Filter Criteria: Read
• Service Appointments: Read, Create
• Service Crews: Read
• Service Resource Preferences: Read
• Service Resources: Read
• Service Territories: Read
• Service Territory Member: Read
• Shifts: Read
• Work Orders: Read, Create
• Work Type Groups: Read
• Work Types: Read
769
Salesforce Field Service Set Up Field Service Appointment Assistant Self-Service
Scheduling
Create a Message Template for the Self-Service Scheduling Flow for New Appointments Available in: both Salesforce
Create a template for the message sent to customers with the verification code. Classic (not available in all
orgs) and Lightning
Set Up the Self-Service Scheduling Authentication Flow Experience
Determine the details of the authentication flow that is connected to the main flow that lets
your customers book new appointments. The Field Service core
features, managed
Set Up the Self-Service Scheduling Flow package, and mobile app
Configure the details of the main flow that lets your customers book new appointments. are available in Enterprise,
Enable Complex Work for New Appointments with Self-Service Scheduling Unlimited, and Developer
Editions.
If you’re using Enhanced Scheduling and Optimization, you can let users create appointments
with scheduling dependencies with Appointment Assistant Self-Service Scheduling. The Field Service
Appointment Assistant
managed package and
permission set license are
required.
Create a Message Template for the Self-Service Scheduling Flow for New Appointments
Create a template for the message sent to customers with the verification code.
EDITIONS
1. From Setup, in the Quick Find box, enter Messaging, and then select Messaging Templates.
Available in: both Salesforce
2. Click New.
Classic (not available in all
3. In the Information area, enter the template name, developer name, and an optional description. orgs) and Lightning
4. In Insert Merge Field, create a custom field on the contact object or use an existing field. Experience
770
Salesforce Field Service Set Up Field Service Appointment Assistant Self-Service
Scheduling
1. From Setup, in the Quick Find box, enter Process Automation, and then select Flows. The Field Service core
features, managed
2. Open the Self-Service Scheduling Authentication template.
package, and mobile app
3. Click Save As and create your own version of the flow based on the template. are available in Enterprise,
4. To use the email channel for authentication: Unlimited, and Developer
Editions.
a. To modify the default text of the email, open the EmailSubject and EmailBody variables
and modify the text as needed. Available only if Digital
Engagement is enabled.
b. In the Get Records element, enter your organization-wide email address as the value of the
DisplayName field.
USER PERMISSIONS
Note: To find the required email address, from Setup, in the Quick Find box, enter Email, and then select
Organization-Wide Addresses. If the address isn’t set up, see Organization-Wide Email Addresses.
5. To use the SMS channel for authentication, add the Update Records component.
a. To add an element to the flow, click .
b. Under Data, select Update Records.
c. Enter a name for the label. API Name is populated based on the label name.
d. Under How to Find Records to Update and Set Their Values, select Specify conditions to identify records, and set fields
individually.
e. Under Update Records of This Object Type, for Object, select Contact.
f. To check if the user is new or an existing contact based on the mobile phone number that they entered, under Filter Contact
Records, enter the match criteria.
• For Condition Requirements, select All Conditions Are Met (AND).
• For Field, enter MobilePhone.
• For Operator, select Equals.
771
Salesforce Field Service Set Up Field Service Appointment Assistant Self-Service
Scheduling
h. Click Done.
Note: To control user permissions to run flows, see How Does Flow Security Work?
772
Salesforce Field Service Set Up Field Service Appointment Assistant Self-Service
Scheduling
• Get Work Types component: Filter the work types presented to your customers.
• Get Operating Hours component: Enter the name of the required Operating Hours record.
• Get Scheduling Policy component: Enter the name of the Scheduling Policy record that defines the length of the appointment
slots.
• Work Types component
– Work Type Details: Enter the API name of the field that stores the work type details. The default is Description.
– Work Type Title: Enter the API name of the field that stores the work type title. The default is Name.
• Location component
Note: You can manage service appointment assignments to territories with polygons or by adding another screen to the
flow that includes the territory record.
– Show Current Location Button: Let customers set their geolocation when they tap Use My Current Location.
773
Salesforce Field Service Set Up Field Service Appointment Assistant Self-Service
Scheduling
– Service Territory ID: Leave blank if you use polygons or other automatic flows to assign service territories. If your Self-Service
Scheduling flow includes service territory selection, enter a service territory ID.
• Summary component
– Show Exact Appointment Times: To show exact appointment times, enter true. To show arrival windows, enter false.
Make sure to enter the same value in the Appointment Selection component.
– Work Order ID: The record ID that’s updated and scheduled. If the Auto-Create Service Appointment setting is selected, a
service appointment is created. If the setting is deselected, to create a service appointment for the work order, add a Create
Record action to the flow.
Note: A default page title is provided with the package for each Lightning web component. If you want to replace the default
with your own text, enter it in the Page Title field in each component.
Note: To eliminate the border that appears around the flow, in Theme, click the arrow in the top right and select Edit
CSS. In the Override CSS window, click Use Overrides. Then, in the Edit CSS window, enter this code:
.slds-p-horizontal—medium{
margin: 0;
padding: 0;
}
.comm-layout-column{
margin: 0 !important;
padding: 4px !important;
}
.forceCommunityFlowCommunity{
border: none !important;
}
774
Salesforce Field Service Set Up Field Service Appointment Assistant Self-Service
Scheduling
Note: To control user permissions to run flows, see How Does Flow Security Work?
SEE ALSO:
Customize Appointment Booking Settings
Note: Appointment Assistant Self-Service Scheduling supports complex work only if you’re Available in: both Salesforce
using Enhanced Scheduling and Optimization. Classic (not available in all
orgs) and Lightning
Note: When using complex work, it’s possible that the Maximum days to get candidates Experience
or to book an appointment option in Field Service Settings can minimize the number of
The Field Service core
days that the user gets slots for. See Known Issue.
features, managed
1. Create a sharing rule to give guest users access to the required service appointments. package, and mobile app
To minimize what guest users can access, only share service appointments used for Appointment are available in Enterprise,
Assistant. Unlimited, and Developer
Editions.
a. From Setup, in the Quick Find box, enter Security, and then select Sharing Settings.
The Field Service
b. For manage sharing settings, select Service Appointments.
Appointment Assistant
c. Under Sharing Rules, click New. managed package and
d. For Rule Type, select Guest user access, based on criteria. permission set license are
required.
e. Enter the sharing criteria. For example, enter this criteria.
Field: Status
USER PERMISSIONS
Operator: not equal to
Value: Completed To create sharing rules:
• Customize Application
f. Select to include records owned by high-volume users.
g. Share the rule with <Your Site Name> Site Guest User.
h. Save the rule.
2. Create two Apex or flow triggers, one to create the dependent service appointment and the other to create the dependency junction
object.
775
Salesforce Field Service Set Up Field Service Appointment Assistant Self-Service
Scheduling
if (newServiceAppointments.size() > 0) {
// Insert cloned ServiceAppointments
insert newServiceAppointments;
}
}
FSL__Service_Appointment_1__c = sa.Id,
FSL__Service_Appointment_2__c = sa.FSL__GanttIcon__c,
FSL__Dependency__c = 'Start After Finish'
);
newTimeDependencies.add(timeDependency);
}
}
}
if (newTimeDependencies.size() > 0) {
// Insert FSL__Time_Dependency__c
insert newTimeDependencies;
}
776
Salesforce Field Service Set Up Field Service Appointment Assistant Self-Service
Scheduling
• The second trigger must be triggered after the first one using a separate trigger. That can be done, for example, by triggering after
the service appointment is updated. When retrieving slots from the Appointment Selection LWC, the preexisting update event
triggers the Apex trigger. However, to trigger the Apex trigger before scheduling with the Summery LWC, an Update Record must
be added after the work order is created. You must also add a screen between the service appointment creation and the update.
This breaks up the transactions and enables implementing the sharing rule.
• To verify that the trigger creates only the dependent service appointment and the dependency when a user initiates the process in
Appointment Assistant, point the trigger at a specific value. For example, point the trigger at a specific work type or a value in a
dedicated field on the service appointment.
(Optional) Add Notes to the Service Appointment Layout Available in: both Salesforce
To let your mobile workers see notes from customers, add the Service Notes field to the layout Classic (not available in all
for mobile workers. orgs) and Lightning
Experience
(Optional) Add a Service Appointment Status for Confirmed Appointments
Add a Confirmed status to the Service Appointment Status options. If you enter this status in The Field Service core
the Appointment Assistant Self-Service Scheduling settings, when the customers confirm their features, managed
appointments, the service appointment’s status changes accordingly. package, and mobile app
are available in Enterprise,
Configure Appointment Assistant Settings for Self-Service Scheduling Unlimited, and Developer
Make sure that the Appointment Assistant settings are configured. Editions.
Add Self-Service Scheduling to Your Experience Builder Site The Field Service
To enable Appointment Assistant Self-Service Scheduling, add it to your Experience Builder Appointment Assistant
site. managed package and
permission set license are
Enable Customers to Cancel Appointments with Self-Service Scheduling
required.
To enable customers to cancel their appointments in the Appointment Assistant Self-Service
Scheduling screen, you must disable the option for mentioning an assigned user when the
service appointment is dispatched.
Create a Message Template for the Self-Service Scheduling Authentication Flow for Existing Appointments
Create templates for messages that let customers open the Appointment Assistant Self-Service Scheduling page.
777
Salesforce Field Service Set Up Field Service Appointment Assistant Self-Service
Scheduling
USER PERMISSIONS
To configure layouts:
• Customize Application
778
Salesforce Field Service Set Up Field Service Appointment Assistant Self-Service
Scheduling
To configure statuses:
• Customize Application
779
Salesforce Field Service Set Up Field Service Appointment Assistant Self-Service
Scheduling
2. If it isn’t configured, see Configure Field Service Settings for Real-Time Location. The Field Service core
features, managed
package, and mobile app
are available in Enterprise,
Unlimited, and Developer
Editions.
USER PERMISSIONS
To configure the
Appointment Assistant
settings:
• Field Service
Appointment Assistant
780
Salesforce Field Service Set Up Field Service Appointment Assistant Self-Service
Scheduling
Note: The service appointment’s territory time determines the time zone. If the service appointment’s territory time is empty,
the end user’s time zone is used.
SEE ALSO:
Customize Appointment Booking Settings
781
Salesforce Field Service Set Up Field Service Appointment Assistant Self-Service
Scheduling
USER PERMISSIONS
To configure the
Appointment Assistant
settings:
• Field Service Admin
782
Salesforce Field Service Set Up Field Service Appointment Assistant Self-Service
Scheduling
Create a Message Template for the Self-Service Scheduling Authentication Flow for Existing
Appointments
Create templates for messages that let customers open the Appointment Assistant Self-Service
EDITIONS
Scheduling page.
1. From Setup, in the Quick Find box, enter Messaging, and then select Messaging Templates. Available in: both Salesforce
Classic (not available in all
2. To create the confirmation template, click New.
orgs) and Lightning
3. In the Information area, enter the template name, developer name, and the message that the Experience
customer receives.
The Field Service core
4. Add the URL placeholder to your message. The URL enables customers to navigate to the features, managed
Experience Builder site you configured. package, and mobile app
a. For Related To, select Service Appointment. are available in Enterprise,
Unlimited, and Developer
b. For Field, select Appointment Booking URL. Editions.
c. Click Insert. The URL placeholder is added to the message. For example, if you selected
Available only if Digital
Service Appointment in the Related To list, the URL placeholder looks like this:
Engagement is enabled.
{!ServiceAppointment.ApptBookingInfoUrl}
e. In When to Run the Flow for Updated Records, select Only when a record is updated to To open, edit, or create a
meet the condition requirements. flow in Flow Builder:
• Manage Flow
f. To run the flow after the record is saved, select to optimize the flow for Actions and Related
Records.
783
Salesforce Field Service Set Up Field Service Appointment Assistant Self-Service
Scheduling
g. Click Done.
5. Add new resources that connect between the community URL, Service Appointment ID, and URL expiration time.
a. From the Toolbox, click New Resource, and then create a variable for the URL input.
• In Resource Type, select Variable.
• Enter an API name.
• In Data Type, select Text.
• In Default Value, enter the link to the Experience Builder site, followed by these characters: /?guestToken=#{!$Record.Id}#[Time
in Hours]
Note: The [Time in Hours] indicates how long the URL is valid for from the time it’s generated.
Note: To make sure that the link to the Experience Builder site is accurate, copy it from the Experience Builder settings.
• Click Done.
b. Click New Resource again, and then create a variable for the URL output.
• In Resource Type, select Variable.
• Enter an API name.
• In Data Type, select Text.
• In Availability Outside the Flow, select Available for input and Available for output.
784
Salesforce Field Service Set Up Field Service Appointment Assistant Self-Service
Scheduling
• Click Done.
f. Under Advanced:
• Select Manually assign variables.
• In the output field, select the URL output variable that you created in step 5.
g. Click Done.
785
Salesforce Field Service Set Up Field Service Appointment Assistant Self-Service
Scheduling
e. Click Done.
j. Click Done.
786
Salesforce Field Service Set Up Field Service Appointment Assistant Self-Service
Scheduling
Note: Appointment Assistant Self-Service Scheduling supports complex work only if you’re Available in: both Salesforce
using Enhanced Scheduling and Optimization. Classic (not available in all
orgs) and Lightning
Note: When using complex work, it’s possible that the Maximum days to get candidates Experience
or to book an appointment option in Field Service Settings can minimize the number of
The Field Service core
days that the user gets slots for. See Known Issue.
features, managed
Give guest users access to the required service appointments. To minimize what guest users can package, and mobile app
access, only share service appointments used for Appointment Assistant. are available in Enterprise,
Unlimited, and Developer
1. From Setup, in the Quick Find box, enter Security, and then select Sharing Settings.
Editions.
2. For manage sharing settings, select Service Appointments.
The Field Service
3. Under Sharing Rules, click New. Appointment Assistant
4. For Rule Type, select Guest user access, based on criteria. managed package and
permission set license are
5. Enter the sharing criteria. For example, enter this criteria.
required.
a. For Field, select Status.
b. For Operator, select not equal to. USER PERMISSIONS
c. For Value, enter Completed.
To create a sharing rule:
6. Select to include records owned by high-volume users. • Customize Application
7. Share the rule with <Your Site Name> Site Guest User.
8. Save the rule.
787
Salesforce Field Service Set Up Field Service Appointment Assistant Contactless
Signature
Make sure that the Appointment Assistant settings are configured. The Field Service
Add Contactless Signature to Your Experience Builder Site Appointment Assistant
managed package and
To enable Appointment Assistant Contactless Signature, add it to your Experience Builder site.
permission set license are
Create a Sharing Rule for Contactless Signature required.
Add a sharing rule to share service report records with the guest users.
Create a Message Template for Contactless Signature
Create a template for the message sent to customers for signing the service report.
Set Up Contactless Signature Flows
Create your own version of the flows based on the templates in the Appointment Assistant package.
Add a Quick Action for Contactless Signature
Create an action to send customers a link to the Contactless Signature page.
Expose the Document Recipient Object’s Status Field
The Document Recipient object’s Status field must be visible for the Contactless Signature flow.
SEE ALSO:
Create Service Report Templates
788
Salesforce Field Service Set Up Field Service Appointment Assistant Contactless
Signature
USER PERMISSIONS
The Field Service Appointment Assistant license is an add-on license. If the license isn’t available for selection, ask your account
executive for help.
789
Salesforce Field Service Set Up Field Service Appointment Assistant Contactless
Signature
2. If it isn’t configured, see Configure Field Service Settings for Real-Time Location. The Field Service core
features, managed
package, and mobile app
are available in Enterprise,
Unlimited, and Developer
Editions.
USER PERMISSIONS
To configure the
Appointment Assistant
settings:
• Field Service
Appointment Assistant
790
Salesforce Field Service Set Up Field Service Appointment Assistant Contactless
Signature
USER PERMISSIONS
d. To open the settings panel, click anywhere in the Contactless Signature component.
e. A default page title is provided. To use your own text, enter it in the Page Title field.
f. For Customer Confirmation Text, review the suggested text, and replace it as needed.
791
Salesforce Field Service Set Up Field Service Appointment Assistant Contactless
Signature
792
Salesforce Field Service Set Up Field Service Appointment Assistant Contactless
Signature
793
Salesforce Field Service Set Up Field Service Appointment Assistant Contactless
Signature
USER PERMISSIONS
794
Salesforce Field Service Set Up Field Service Appointment Assistant Contactless
Signature
4. To use email, click Save As, and activate the Generate and send URL to Contact flow.
5. To use SMS, delete the Send URL action, and create a new action.
a. To add an element to the flow, click .
b. Under Interaction, select Action.
c. In the Action field, enter Messaging Notification.
d. Turn on these options to include them.
• Context Record ID
• Recipient Phone Number
• Recipient Record ID
795
Salesforce Field Service Set Up Field Service Appointment Assistant Contactless
Signature
f. Click Done.
g. Click Save As, and activate the Generate and send URL to Contact flow.
USER PERMISSIONS
SEE ALSO:
To create quick actions and
Connect a Flow to the Field Service Mobile App add them to page layouts:
• Customize Application
796
Salesforce Field Service Set Up Surveys for Field Service Appointment Assistant
USER PERMISSIONS
797
Salesforce Field Service Set Up Surveys for Field Service Appointment Assistant
Note: To find your survey record ID, from the App Launcher, find and select Surveys, and click the name of your survey.
Then, copy the ID from the URL.
f. Click Done.
798
Salesforce Field Service Set Up Surveys for Field Service Appointment Assistant
m. Click Done.
i. Click Done.
9. Create and save the Survey Subject to link the survey to the service appointment record.
a. To add an element to the flow, click .
b. Under Data, select Create Records.
c. Enter a name for the label. API Name is populated based on the label name.
d. For How to Set the Record Fields, select Use separate resources, and literal values.
e. For Object, select Survey Object.
f. Set the field values.
799
Salesforce Field Service Set Up Surveys for Field Service Appointment Assistant
g. Click Done.
10. Get the Survey Invitation, and save the survey link.
a. To add an element to the flow, click .
b. Under Data, select Get Records.
c. Enter a name for the label. API Name is populated based on the label name.
d. For Object, select Survey Invitation.
e. In Condition Requirements, select All Conditions Are Met (AND).
f. For Field, enter Id.
g. For Operator, select Equals.
h. For Value, enter SurveyInvitationId.
i. For How to Store Record Data, select Choose fields and assign variables (advanced).
j. For Where to Store Values, select In separate variables.
k. For Field, select InvitationLink.
l. For Variable, select SurveyInvitationLink.
m. Click Done.
11. Update the Service Appointment custom field that you created to hold the survey invitation link.
a. To add an element to the flow, click .
b. Under Data, select Update Records.
c. Enter a name for the label. API Name is populated based on the label name.
d. For Field, select the custom field that you created on the Service Appointment object.
e. For Value, select SurveyInvitationLink.
f. Click Done.
800
Salesforce Field Service Set Up Surveys for Field Service Appointment Assistant
d. Add the URL placeholder to your message. The URL enables customers to navigate to the Experience Site that you configured.
a. For Related To, select Service Appointment.
b. For Field, select a placeholder for the survey link.
c. Click Insert. The URL placeholder is added to the message.
801
Salesforce Field Service Integrate Pay Now with Field Service Appointment Assistant
6. Add an element that sends the customer an email or an SMS that includes the Payment URL field from the Payment Link object.
Here’s an example of what the flow looks like.
802
Salesforce Field Service Field Service Mobile App
803
Salesforce Field Service Field Service Mobile App
Feature Description
Custom branding Brand the app to give it your company’s look and feel.
Einstein: Copilot Ask Einstein to find records, summarize records, and gather
information in a conversational and intuitive experience on the
Field Service mobile app. Use Einstein on the Field Service mobile
app as soon as it’s enabled for your Salesforce org.
Einstein: Pre-Work Brief Show mobile workers an AI-generated brief that tells them
everything they need to know about their upcoming work order.
Geolocation tracking Keep tabs on service resources and enable smarter scheduling with
resource geolocation tracking.
Inventory tab Let your team manage track consumption, request products, and
view their inventory from the app.
Measure lengths Use augmented reality to measure between two or more points
directly from the Field Service mobile app.
Offline capability The app works offline, so mobile workers can complete their work
even with limited or no network connectivity.
Push notifications Push notifications help your mobile workforce stay up to date,
making sure they never miss an important event.
Quoting With the Field Service Plus license, you can access the Quote object,
which lets you upsell your business. For access to CPQ, an additional
license is required.
Salesforce Knowledge integration Attach specs, instructions, and best practices to work orders and
work order line items to keep relevant information at your team’s
fingertips.
Service reports Create previewable service reports summarizing field service visits.
Seal the deal by capturing customers’ signatures on the reports.
Work order overview screen Help your team quickly find the information they need to complete
assignments. The work order overview screen displays information
about a work order’s service appointments, line items, asset history,
and more.
804
Salesforce Field Service Field Service Mobile App
805
Salesforce Field Service Move to Lightning Data Service for Field Service Mobile
SEE ALSO:
Field Service Mobile App Considerations
Field Service Mobile App Requirements
Using the Field Service Mobile App
Trailhead: Boost Field Service with Mobile
Note: All orgs will be auto-migrated to Lightning Data Service by Spring ‘26. We recommend customers begin preparations and
testing as soon as feasible. Lightning Data Service is enabled by default for new orgs sometime after Winter ‘25 is released, but
before Spring ‘25 is released.
Get Started
To take advantage of all Lightning Data Service and LWCs have to offer, complete the steps in either of these options.
Option 1: LWC User Level Permissions
Define a Permission Set for Your Org
Assign the Permission Set to a Mobile User
Option 2: LWC Org-Wide Enablement
Use the Enable Lightning Mode setting.
806
Salesforce Field Service Move to Lightning Data Service for Field Service Mobile
Learn About the Benefits, Preparations, and Changes with Lightning Data Service
Lightning Data Service has many benefits, but you can expect some changes to the app after you enable the LWC permission set. These
changes can affect your preexisting Flow customizations. Be prepared to do additional testing and tweaking to some parts of the app
that use Flows and data priming for offline use.
Key Benefits
These Field Service features are available only with Lightning Data Service.
• LWC extensibility: Customize actions and create custom LWC tabs.
• Tab navigation customization: Add new list views and tailor tab navigation.
• Global search: Configure a new LWC tab in custom navigation to search against any object in the local cache, making it easy to find
items in one place.
• High Volume Briefcase (pilot Summer '24): Prime up to 400,000 records, significantly more than the 50,000 record limit with standard
briefcases.
• Data Capture (beta Winter '25): Use dynamic forms with field-level rules, branching logic, and custom UI support to streamline data
collection in the field. Develop these forms quickly and easily in Flow Builder.
• AI features:
– Pre-Work Brief: Get a concise overview of the tasks at hand, with customizable prompts to fit your work processes.
– Einstein Copilot: Add a conversational AI assistant to the Field Service app to boost productivity, reduce service times, and
improve first-time fix rates.
• Document Builder: Create richly formatted and branded PDF service documents, translate them, collect signatures, embed images,
and generate previews on the desktop site and the mobile app.
• Revenue generation: Use a flow template that guides mobile workers through creating leads and opportunities from the app, without
contacting customer services.
• Performance and experience improvements: See Lightning Data Service.
Recommended Preparation
Make sure you’re ready for Lightning Data Service to achieve optimal performance.
• Check device requirements: As we add more advanced features and scale the app for offline use, we recommend using the devices
listed in Field Service Mobile App Requirements on page 808. Ensuring sufficient CPU and memory capacity is important for a good
user experience. Assess your devices for RAM and CPU requirements to meet the minimum standards, and review the battery
limitations of mobile devices.
• Review flow and priming changes: In some cases, small adjustments to your flows and priming strategy are necessary.
– We recommend that you avoid flows that rely on Apex or record triggers. Record operations are routed through the LDS draft
queue, which is frequently processed in the background. How often it runs depends on a variety of factors, including available
system resources. We cannot guarantee that the draft queue is processed instantly.
– Avoid depending on fields during flow execution that are updated by non-mobile sources.
– Avoid deep linking out of the app in the middle of a flow.
– We recommend that you retest all of your flows. By doing this work in a sandbox environment, you can prepare your Field Service
configuration for the latest app features. Also, review the flows section in Field Service Mobile App Considerations on page 810
and Offline Considerations on page 819 to ensure your flows and priming strategies follow the recommendations and limitations.
If your LWC data queries are set up correctly, data requested by global LWCs and LWCs on work order and service appointment
records are automatically primed. See Use the Wire Service to Get Data.
807
Salesforce Field Service Field Service Mobile App Requirements
Developer Considerations
• Avoid using Apex: Instead, use GraphQL (GQL) or the Lightning Data Service wire adapter. See Use the Wire Service to Get Data. GQL
updates data in the local cache, allowing LWCs to function offline. Remember, mobile connectivity isn’t always reliable, so GQL offers
better performance in low-connectivity situations.
• Feature requests: If you find that Apex supports certain features or processes that GQL doesn’t, submit a feature request through
Salesforce Idea Exchange.
• Code optimization: Optimize your code to work with Lightning Data Service, ensuring a smooth user experience. See Understand
the Wire Service and Graph QL Wire Adapter Best Practices.
Limitations
Note these limitations when enabling Lightning Data Service.
• The Field Service mobile app can experience delays in areas with low connectivity. When a connection is available, the app tries to
fetch the latest data, which can result in longer loading times as it waits for data fetches to finish before letting the user proceed.
• Manage memory usage proactively by priming only the data you need. Avoid using a large number of related lists on service
appointment and work order records, and limit attaching numerous or large files to primed objects.
• LWC modules can take a while to load during priming, and work order loading times can be lengthy if priming is still in progress.
Optimize performance for your users by considering these factors.
• Mobile Extension Toolkit (MET) isn’t supported.
808
Salesforce Field Service Field Service Mobile App Requirements
Because we enhance functionality with every release, we support the latest version of the Field Service app available in Google Play or
the App Store only.
Note: To protect your company data, we only support OS versions that get security updates from the device manufacturer.
For optimal performance, keep your mobile devices’ operating systems updated and upgrade to the latest model of devices as allowed
by your mobile plan. When you update the Field Service mobile app, sometimes you must remove support for older operating systems,
and newer operating systems don’t always perform well on older devices.
Salesforce Customer Support uses commercially reasonable efforts to troubleshoot issues with the Field Service app, provided:
• A user’s device meets current minimum platform requirements
• Field Service app users have the most recent version installed
809
Salesforce Field Service Field Service Mobile App Considerations
Wireless Connection
The Field Service 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.
SEE ALSO:
Give Users Access to the Field Service Mobile App
Field Service Mobile App Considerations
Field Service Mobile App Updates
Field Service Mobile Beta and Early Adopters Program
Document Builder
• For a Work Order template to work on the Field Service mobile app, you must also create a Service Appointment template.
• For a parent work order with a child service appointment, mobile users can’t access the Work Order template from the template
selector. You must create a Service Appointment template even if you don’t want to use it. We suggest creating a Service Appointment
template that’s identical to your Work Order template to minimize confusion.
• You can’t select different templates for drafts saved with Work Order or Work Order Line Item templates. You can select different
templates only for drafts saved with Service Appointment templates.
• Only the language defined in the service report language field is available to the user at the time of priming.
810
Salesforce Field Service Field Service Mobile App Considerations
Service Reports
• Users can’t select a template when creating a service report in the mobile app. Instead, a template is selected based on this order:
1. The work order template
2. The work type template
3. The standard template
Inventory Management
• If you use the setting Enable Multiple Locations, the Add and Add All buttons are removed from the Product Required screen.
Instead, manually add the required products for multiple inventory locations.
811
Salesforce Field Service Field Service Mobile App Considerations
• When using multiple inventory locations, a maximum of 10 locations per location type are shown and primed.
• A maximum of 1,000 products are shown in inventory lists and is the maximum number of products that can be primed.
• When consuming a serialized product in the Field Service mobile app, a products consumed record without serial numbers is created.
Mobile users can remove those records only if they’ve deleted permissions for products consumed.
• If a work order includes serialized products as required items, you can view the required products, but the Add All Products Required
button is disabled.
• Only admin profiles and users can delete product consumed records for serialized products.
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) If images in knowledge articles are hosted outside of Salesforce, they display normally. 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.
• (iOS only) Some knowledge articles of supported UI languages, such as Japanese, don't show in the Field Service mobile app.
• (Android only) The Knowledge Article action isn’t visible on the Work Order Overview screen. View knowledge articles using the
related list.
• (Android only) In Knowledge Article details, field names such as Title don’t display on Android devices.
• If a device is running in any of Salesforce’s 26 supported languages, the app automatically translates knowledge articles to that
language. If the device isn’t running in a supported language, no knowledge articles are shown.
• Settings for optimized images are supported in files uploaded in mobile flows, but aren’t applied to images uploaded in the Chatter
Feed.
Barcode Scanner
• For a list of supported barcodes, see Supported Barcodes.
• (iPad) Barcode scanning isn’t supported in Split View.
Briefcase Builder
• Related lists don't work offline when the records are primed with Briefcase Builder.
• The Product object in the Inventory tab isn’t supported.
• Time sheets aren't supported for offline use via briefcase.
• The Inventory tab isn’t available offline.
Flows
• Automatic Screen Fields with fieldType = ObjectProvided isn’t supported on mobile flows.
• Compound fields, for example street addresses, can’t be used directly in mobile flows. To access this data, fields such as city and
country that comprise the compound field must be used instead.
812
Salesforce Field Service Field Service Mobile App Considerations
Note: Some flows that have actions with output parameters don’t cause an error immediately, but they’re still not
supported.
813
Salesforce Field Service Field Service Mobile App Considerations
• Recently added records from the Field Service org don’t show in mobile flows when using Flow Record Choice Set or the Get element
to query from these records. To resolve this issue, log out and then back into the mobile app.
• Flows installed on the Field Service mobile app using a managed package result in an error. We recommend using an unmanaged
package instead. This error only occurs on the mobile app.
• HTML text isn’t supported in Flow builder.
• Mobile flows support only these global values:
– $Flow.CurrentDateTime
– $Flow.CurrentDate
– $GlobalConstant.EmptyString
• Flows on desktop and mobile don’t support picklist default values that are derived from an object’s picklist values.
• If a default value is assigned in the picklist component of the flow, then the values are populated from the default picklist field value
and not the picklist choice set assigned to it.
• Running a flow as another user isn’t supported.
• Only the following assignment operations for collections are supported:
– Add
– Equal
– Equals Count
• Picklist values are expanded if there are five or fewer values or if the picklist is the only component on that particular flow screen.
Otherwise, values are displayed as a dropdown list.
• When a Record Choice Set is used as a data list for a single item picklist in a flow, the screen doesn’t display correctly. To work around
this behavior, add additional items to the picklist.
• In mobile flow filtering, the user sees a related list instead of a picklist if these conditions are met:
– The flow value store always has a specified parent ID (the parameter with ID passed in), unless the parent ID from the value store
is nulled.
– The user creates a screen step in the flow builder with a single field, and that field uses a single dynamic choice as choice reference.
Additionally, the dynamic choice isn’t a picklist and contains the parent record ID as a filter.
– The parent record identified by the parent ID has a dynamic choice type configured as a related list.
814
Salesforce Field Service Field Service Mobile App Considerations
• Conditional visibility isn’t supported, with the exception of Data Capture (Beta).
• The In and Not In operators in flows aren’t supported in the Field Service mobile app.
• Dependent picklists are supported in mobile flows but aren’t supported on the desktop site.
• Results for Get Record in a flow are cached locally. To access newly available records in the flow, log out and back in to the mobile
app.
• Rich text in flows doesn’t show color in the Field Service mobile app.
• A custom flow for login must be set up when the Session Activation Required permission is enabled for Field Service mobile users.
Without a custom flow for login, mobile users lose access to the Service Resource object and can’t log in to the mobile app.
• Flows that modify the Service Report Language field on the Work Order object don’t work offline.
• New records created using a flow in the Field Service mobile app don’t have the auto-number field data type’s value populated. The
field isn’t populated, because the number is generated by the server during record creation and isn’t available locally on the app.
• Flow Builder on web allows users to assign empty values for record fields and are treated as null. However, on mobile, any fields in
the assignment block with empty values are ignored, and no empty values are specified.
• You can’t update the chatter feed on a new record from a flow when LDS is enabled.
• For the Create Records flow element, you can only create records manually, not from a record variable.
• For the Update Records flow element, you can only select Use the IDs and all field values from a record or record collection.
• For the Assignment flow element, collection related operators aren't supported.
• Only admin profiles and users with Manage Flow permissions can associate a Data Capture flow to the junction object.
• DateTime is converted based on the user's local timezone. The official engine changes the value for a DateTime field according to
the user's local timezone. The online engine doesn't support the user's time zone. Instead, it converts the DateTime that the user
inputs.
• Global variables aren’t supported for Data Capture flow. See Flow Resources: Global Variables.
815
Salesforce Field Service Field Service Mobile App Considerations
Quick Actions
• In environments enabled with Salesforce Lightning Data Service, a quick action that relies on default values to modify or create a
record honors only the default value if the field is added to the quick action layout. Additionally, the user must have edit permission
for that field.
• For Salesforce Lightning Data Service-enabled environments, global quick actions don’t refer to the record type fields.
• Lightning Component and custom override quick actions aren’t supported.
• Quick action values aren’t updated when working offline.
• Quick actions can override the permission "accurate record dates for offline", causing inaccurate logging after the app comes back
online.
• Custom icons in quick actions aren’t supported.
• Quick actions with default values can take up to a minute to render during poor or unstable network connectivity.
• Service Appointments and Work Orders aren’t supported for LWC Quick Actions.
Resource Absences
• If you haven’t primed or viewed any resource absences, you receive a network error when you try to create and view resource
absences offline.
Work Orders
• To numerically sort work order line item records, use this 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, create a text field and add numeric values prepended by zeros to create a three-digit number.
Then, sort on that field. For example, 002 and 012 correctly sorts before 100. However, Field Service on desktop doesn’t support
preceding zeros. To sort correctly on the desktop, define the sort order by 10 on a number field of a custom object, for example,
10, 20, 30.
• For the Overview tab to be visible, work order line item page layouts must include the Asset field and the Service Report related list.
• Searching the price book fails if you assign rich text area fields to the Product object’s search layout.
• Work orders allow a maximum of 1,000 work steps per work order. However, the total length of all fields in the Work Order object
must not exceed 20,000 characters. If you exceed this limit, some work steps don’t appear in the mobile app.
• If sharing isn't enabled for the Work Order object, work orders disappear from the search list view in the Work Order lookup after the
user logs out of the Field Service mobile app.
816
Salesforce Field Service Field Service Mobile App Considerations
General Limitations
• When displaying related lists in the mobile app, such as the work order line items for a work order, users see an accurate record
count of up to 2,000 records. More than 2,000 records are indicated as 2,000+, but no more than 2,000 records are retrievable.
• Plain text fields no longer support rich text or HTML content.
• Time fields without a date aren’t supported in the Field Service mobile app.
• Under the profile tab, only 10 resource absence records are displayed.
• The Notes related list isn’t 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.
• Lookup filters aren’t supported.
• Enhanced notes aren’t supported.
• Users aren’t 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, aren’t supported for Apple or Google maps.
• Google Maps is the only supported mapping application for features in the Field Service 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.
• The Contact Card section on the Work Order Overview screen displays the contact associated with the Service Appointment, rather
than the Work Order. To view the Contact Card, make sure to populate the Contact field of the Service Appointment.
• Paging isn’t supported for SOQL queries. The maximum number of records a query can return is 2,000.
• Formulas aren’t supported on the Details tab.
• If a default list view is selected, all list views that a user has access to are shown in the app. There’s no way to hide or suppress specific
list views in the Field Service app.
• If a selected picklist value is inactive, it isn’t shown in the Field Service app, but it’s shown on the Field Service desktop application.
• If the launch field value passes a URL from a formula field value, App Extensions throw an error that a required app isn’t installed.
• Default values in Time Sheet Entry fields don’t populate on the Field Service mobile app.
• If the currency field is updatable, it’s displayed as a number without a currency symbol and obeys the field decimal places setting.
However, if the currency field isn’t updatable, it’s displayed as a number with a currency symbol and two decimal places only.
• When a currency field supports multiple currencies, only the set amount shows in the mobile app. Currency conversions aren’t
displayed.
• If the record type field isn’t on the page layout when a resource absence is created, the default record type is automatically set. To
work around this issue, add the Record Type field to the resource absence page layout.
• User Profile on the User page and RecordType on the Work Order Details page aren’t supported as layout objects, but they can
appear as links in the Field Service mobile app. Clicking these objects shows an error message and a blank screen.
• Record pagination isn’t supported in the Field Service mobile app.
• Notification settings use the mobile settings assigned to the user initiating the request, not the user receiving the request.
• If an object hasn't been primed or previously accessed, including new records, it isn't visible from another object’s UI.
• When launching the mobile app, the lock screen keeps the same screen orientation, which can’t be changed by rotating the device.
To change the lock screen orientation, close the mobile app, change to the desired orientation, then relaunch the mobile app.
• Mobile Extension Toolkit (MET) isn’t supported in SLDS. Customers must migrate their MET to a Lightning web component (LWC)
for use with SLDS.
• During OAuth 2.0 authentication, Salesforce creates a temporary short-term session to bridge the gap between login and the
Salesforce authorization (Allow Access) screen. This temporary session, which uses a cookie, isn’t tied to the OAuth refresh or access
817
Salesforce Field Service Field Service Mobile App Considerations
token and therefore isn’t invalidated at logout. Instead, the session remains valid until it expires. The most recently authenticated
customer remains logged in until the temporary session expires and they’re temporarily unable to log out. These sessions have an
intentionally short lifetime, after which the user can log in normally.
• In environments enabled with SLDS, the field values OldValue and NewValue can’t be loaded in Histories related records.
• Related lists don’t show details of Salesforce objects that you can’t include in a page layout, such as Work Order History.
• The Field Service mobile app doesn't support free-form text entries in picklists.
• If a network error occurs, the Field Service mobile app can attempt to recreate a link from a record to a content document resulting
in the error message, “Document with ID XXXX is already linked with the entity with ID YYYY". This issue can also occur when
uploading images in flows. To prevent these false error messages from showing, set the custom attribute DUPLICATE_AVOIDANCE
toTrue. This issue occurs only when Lightning web components aren’t enabled.
• Apps that use Experience container aren't fully duplicated in Partial Copy, Developer Copy, or Developer Pro Copy sandboxes. Data
is copied only in Full Copy sandboxes, which carries over to Experience container as well.
• When an image is stored in an embedded binary store from the feed tab, it isn't available in the Files related list.
• Biometrics aren’t supported for the Field Service mobile app. Don’t add the Biometric custom attribute to the connected app.
• Icons in the Field Service mobile app are not customizable.
• When you create Partial, Developer, or Developer Pro sandbox copies, only the metadata from the production org is copied, not the
data. To ensure both metadata and data are copied, use a Full Copy sandbox.
• Backdating is availble via record creation, not record updates. Use the permissions mentioned in this Knowledge Article.
Android Only
• The Event Insights card is available only on Android devices.
• Some device makers prohibit using commas as a decimal separator in their standard app keyboards. To work around this issue,
download a new keyboard app, or copy and paste the comma from another input in the application.
• By default, you must use a Lightning app extension to automatically open records in the Salesforce app.
• Features that use Google services like push notifications and Google maps aren’t supported in China.
• 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 must download an application like Google Sheets.
• Dark mode isn’t supported.
• Some Android devices running Android 11 reset flow states when the device screen is rotated. To avoid this issue, lock the device's
screen rotation.
• Hex values defined in mobile settings must be six digits.
• Tabs that are customized using the Field Service Mobile App Builder don’t maintain their current state when switching between
tabs and when rotating the device. To avoid this issue, lock the device's screen rotation.
iOS Only
• iOS devices automatically stay awake during priming without the user tapping the screen. If low power mode is on, the device
doesn’t stay awake during priming.
• Custom list views can take a minute or more to sync.
• Only plain text is supported for rich text fields.
• Default values aren’t available in offline mode.
• Lookup fields like Account aren’t supported on the Schedule, Work Order, and Work Order Line Item tabs.
• Custom override on actions isn’t supported, including custom override on lookup logic.
• Apple limits what apps can do while in the background or when the device is locked, which is important when priming. Always
prime to completion before going offline.
818
Salesforce Field Service Offline Considerations in the Field Service Mobile App
• In iOS14 and later, the Field Service mobile app doesn’t comply with the default app settings you set. For example, if you choose
Outlook or Gmail for email, Field Service ignores the setting and instead uses the iOS Mail app, which is the Field Service default.
• Actions in landscape orientation aren’t supported. Actions are only shown in portrait mode.
• iOS has a 24-hour format setting that overrides other time settings regardless of the device's region or locale. This format override
impacts some components, such as the date and time picker and flow fields.
• You can’t copy and paste data from apps that aren’t Salesforce, such as Safari, when DISABLE_EXTERNAL_PASTE is set to TRUE in
the connected app settings.
• In iOS 15, the iPad calendar view doesn’t show dots to indicate that a service appointment exists.
• In iOS, an ETA and driving directions are provided only if the user is within 1000KMs of the destination.
SEE ALSO:
Field Service Limits and Limitations
Field Service Mobile App Requirements
View Knowledge Articles in the Field Service Mobile App
819
Salesforce Field Service Field Service Mobile Security
Topic Description
Search Results To access search results offline with Briefcase, first search when
online to cache records.
SEE ALSO:
Work with Offline Priming in the Field Service Mobile App
Initial Field Values in the Field Service Mobile App
820
Salesforce Field Service Field Service Mobile Security
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.
Note:
• 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
encrypts using an AES algorithm (128-bit block size and 256-bit erased when the app is in the background or when the viewer is
key size). When the file is viewed, there's a temporary unencrypted dismissed. Also, the temp directory is cleaned when the application
copy kept on the file system (removed when the 'viewing' is launched.
operation is complete).
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.
821
Salesforce Field Service Field Service Mobile Security
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.
Alternatively, Salesforce’s Lightning Login feature has multifactor The directory is cleared when the user logs out.
authentication from the Salesforce Authenticator app. The factors
are:
• What you have: The mobile device
• What you are: If fingerprint biometrics is enabled on the device
• What you know: if the device is enabled for PIN-based login.
Lightning Login is only enabled on devices that have either PIN or
fingerprint enabled.
Trusted IP Ranges
Logins to the Field Service 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.
822
Salesforce Field Service Field Service Mobile Security
• DISABLE_EXTERNAL_PASTE : Allows users to copy-and-paste data within the app, but prevents users from pasting data copied
from the app to other apps or OS features.
Note: This feature does not work on Samsung phones (and other manufacturers of Android phones) where a custom clipboard
implementation is used or on any screens that show Lightning web components.
• 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 mobile app as well as the Salesforce mobile app.
FORCE_EMAIL_CLIENT_TO
SHOW_PRINT
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
SEE ALSO:
Encrypt New Data in Fields
Which Standard Fields and Data Elements Can I Encrypt?
Field Audit Trail Implementation Guide
Salesforce Mobile App Security Guide
823
Salesforce Field Service Field Service Mobile App Updates
Note: We deploy major and patch releases over several days to ensure stability. The updates aren’t necessarily available for all
users until 7 days after the app becomes generally available.
824
Salesforce Field Service Field Service Mobile App Updates
Note: Use the current APK file for emergency installation during beta testing periods, and use the APK file from the previous
release for emergency installation during major releases.
And here’s where and when you can find communication about each release.
Patch release Find information about patch releases When we identify a need, we inform you.
through the Field Service Mobile Trailblazer You receive a second announcement when
group. the release goes live, approximately 7 days
later.
The first announcement includes a brief
description of each issue resolved to help
you focus your testing.
Daily release (emergency) Find information about daily releases When we identify a need, we inform you at
through the Field Service Mobile Trailblazer least a day before a daily release. You receive
group. a second announcement when the release
goes live.
825
Salesforce Field Service Field Service Mobile Beta and Early Adopters Program
You can test the Field Service mobile app releases ahead of time using the iOS and Android Beta The Field Service core
Early Access programs. The mobile beta versions are available the Monday after sandboxes are features, managed
updated with the upcoming major release, which takes place approximately one month before the package, and mobile app
major release. are available in Enterprise,
Unlimited, and Developer
Editions.
Benefits of Participating
To access the Field Service
By using the iOS and Android Beta Early Access programs, you can test upcoming mobile releases mobile app, users need the
before they become available on the App Store or Google Play Store. Field Service Mobile user
license.
• Preview changes so you can plan and communicate to your workers.
• Test what’s coming and determine whether any issues affect your implementation
• Build and integrate the latest features so you’re ready to use them in production.
• Report problems so that we can correct them before the app becomes generally available.
Eligibility
You can use the beta release to test the latest Salesforce Field Service features as soon as they’re available. The beta app can be used
only after your org has been updated to the newest version. As a result, there’s approximately a month when the beta version can be
used only with sandbox orgs. Any attempt to log into production results in an error.
Use of the beta feature is subject to the Beta Services Terms.
Availability
Salesforce Field Service mobile application beta releases are published as major and patch releases. See the full schedule and information
about different types of releases at Field Service Mobile App Updates.
Resources for Testing Beta Versions of the Field Service Mobile App
Salesforce provides resources to help you use the beta program to test the latest Field Service mobile app major releases and patch
releases.
826
Salesforce Field Service Field Service Mobile Beta and Early Adopters Program
Sign Up for the Field Service Mobile App Beta Program for Android
All users of Salesforce Field Service software packages can access our beta builds. You can access beta versions of our Field Service
mobile application for Android in the Google Play store.
Sign Up for the Field Service Mobile App Beta Program for iOS
All users of Salesforce Field Service software packages can access our beta builds. You can access beta versions of our Field Service
mobile application for iOS via TestFlight. TestFlight is an app that Salesforce uses to share beta versions of the Salesforce Field Service
mobile app.
Channels for Providing Feedback on Beta Releases
You can provide feedback on beta releases at any time. Feedback helps our customer support and engineering teams improve your
experience with Salesforce Field Service by better understanding your experiences with the app. You can provide feedback through
a number of channels.
Resources for Testing Beta Versions of the Field Service Mobile App
Salesforce provides resources to help you use the beta program to test the latest Field Service
EDITIONS
mobile app major releases and patch releases.
Available in: both Salesforce
Sandboxes Classic (not available in all
orgs) and Lightning
When you have the mobile application beta version installed, you’re ready to start testing. The most Experience
effective way to test beta versions of the mobile app is via the latest Salesforce sandbox test
environment. We suggest that you keep an existing sandbox instance up to date, so that you can The Field Service core
perform testing using data specific to your unique configurations and needs. Sandbox test features, managed
environments are also an excellent resource when interacting with our support teams for any issues package, and mobile app
are available in Enterprise,
you encounter while consuming our beta versions.
Unlimited, and Developer
For instructions on how to obtain and use sandboxes for testing, see Sandboxes: Staging Editions.
Environments for Customizing and Testing.
To access the Field Service
If you’re a first-time user or have to start a Sandbox from scratch, check out Where Do I Start with mobile app, users need the
Field Service to set up for testing. Field Service Mobile user
license.
Testing Major Releases
Major releases introduce new features, performance improvements, UI or UX updates, and API changes. We hope these features improve
your work and business, but the changes can sometimes also create configuration conflicts. Although we strive to maintain backward
compatibility, new releases can unexpectedly affect customizations that are specific to your implementation. The best way to protect
your implementation is through beta testing.
To benefit most from the beta, create a test plan based on the most recent changes to the Field Service mobile app. Consider which
features or Salesforce Field Service products you use most or that are most important to your business. To identify changes that impact
your most crucial processes, focus your testing by reviewing Salesforce release notes each release.
Here’s where you can find release notes pertaining to Field Service:
• Salesforce Release Notes alert you to the features being released for all Salesforce products.
• Within the Salesforce Release Notes, the Salesforce Field Service Release Notes cover the Field Service features specifically, and includes
a special section for the latest features released for the Salesforce Field Service Mobile Release Notes. These notes alert you to what’s
changed in the mobile application.
827
Salesforce Field Service Field Service Mobile Beta and Early Adopters Program
828
Salesforce Field Service Field Service Mobile Beta and Early Adopters Program
Sign Up for the Field Service Mobile App Beta Program for Android
All users of Salesforce Field Service software packages can access our beta builds. You can access
EDITIONS
beta versions of our Field Service mobile application for Android in the Google Play store.
Note: You can have only one version of the Field Service mobile app installed on your device Available in: both Salesforce
at any given time. To switch back to the public version of the app after installing the beta Classic (not available in all
orgs) and Lightning
version, uninstall the beta version and then install the public version of the app from Google
Experience
Play. Although you have to leave the beta program to install the public version, you can always
join the beta program again in the future, as needed. The Field Service core
1. Find and select the Field Service mobile application in the Google Play store. features, managed
package, and mobile app
2. Locate the option to become a beta tester, and then click Join. are available in Enterprise,
Google Play appends (Beta) to the application name and serves the latest beta version Unlimited, and Developer
when the application loads. Editions.
Sign Up for the Field Service Mobile App Beta Program for iOS
All users of Salesforce Field Service software packages can access our beta builds. You can access
EDITIONS
beta versions of our Field Service mobile application for iOS via TestFlight. TestFlight is an app that
Salesforce uses to share beta versions of the Salesforce Field Service mobile app. Available in: both Salesforce
Note: You can have only one version of the Field Service mobile app installed on your device Classic (not available in all
orgs) and Lightning
at any given time. The beta version of the app replaces the App Store version on your device.
Experience
To receive notifications when the latest beta versions become available, be sure that you enable
push and email notifications for the TestFlight application. The Field Service core
features, managed
1. Download the TestFlight app on your iOS device. package, and mobile app
2. On your device, open this signup link. are available in Enterprise,
Unlimited, and Developer
3. Click Accept, and then click Install.
Editions.
After the beta version of the app is installed, TestFlight notifies you when a new build is available.
TestFlight also provides instructions on how to install the new beta version and offers easy ways To access the Field Service
to provide feedback. mobile app, users need the
Field Service Mobile user
license.
829
Salesforce Field Service Supported Data Types in the Field Service Mobile App
Support
Contact Salesforce Customer Support if you have issues with beta testing.
Trailblazer Community
Post feedback, questions, and comments to the Field Service Mobile Application Trailblazer Community. We pay close attention to
Trailblazer discussions to catch recurring issues and discover areas where we can improve the app.
830
Salesforce Field Service Supported Data Types in the Field Service Mobile App
Geolocation
Number
Percent
Phone
Picklist (Picklists with fewer than six options are shown in an expanded
view.)
Picklist (Multiple Select) (Picklists with fewer than six options are shown in an expanded
view.)
Text
Text Area
URL
SEE ALSO:
Field Service Mobile App Considerations
Customize the Field Service Mobile App
831
Salesforce Field Service Supported Barcodes
Supported Barcodes
Learn about the barcodes that are compatible with the Salesforce Field Service mobile app.
EDITIONS
To allow for innovation and to keep Salesforce current in the rapidly evolving mobile market,
minimum platform requirements are subject to change at the sole discretion of Salesforce, with or Available in: both Salesforce
without advance notice. Classic (not available in all
orgs) and Lightning
To build your own barcode scanning experience using Lightning web components, use the Barcode
Experience
Scanner plug-in. See Scan Barcodes on a Mobile Device.
The Field Service core
Device Barcodes features, managed
package, and mobile app
Android • Aztec are available in Enterprise,
Unlimited, and Developer
• Codabar
Editions.
• Code-39
To access the Field Service
• Code-93
mobile app, users need the
• Code-128 Field Service Mobile user
• Data Matrix license.
• EAN-8, EAN-13
• ITF
• PDF417
• QR Code
• UPC-A, UPC-E
iOS • Aztec
• Codabar
• Code-2 of 5 Interleaved, Code-2 of 5 Interleaved
Checksum
• Code-39, Code-39 Checksum, Code-39 Full ASCII,
Code-39 Full ASCII Checksum
• Code-93, Code-93i
• Code-128
• Data Matrix
• EAN-8, EAN-13
• GS1 Data Bar, GS1 Data Bar Expanded, GS1 Data Bar
Limited
• ITF-14
• Micro PDF417
• Micro QR
• PDF417
• QR Code
• UPC-E
832
Salesforce Field Service Measure Lengths with Augmented Reality on the Field Service
Mobile App
Measure Lengths with Augmented Reality on the Field Service Mobile App
Mobile workers can use augmented reality to measure between two or more points directly from
EDITIONS
the Field Service mobile app.
Instruct your mobile workers to tap the Measure global action and point their camera at the required Available in: both Salesforce
object. They can then copy the measurement to their clipboard and paste it into the required field. Classic (not available in all
orgs) and Lightning
Note: If you don’t want your mobile workers to use the Measure action, contact Salesforce Experience
Customer Support to disable the feature.
The Field Service core
features, managed
Considerations for Using the Measure Action package, and mobile app
are available in Enterprise,
• The action is supported on iPhone 11 and later with LiDAR support.
Unlimited, and Developer
• Measurement accuracy can vary depending on lighting, contrast, and other environmental Editions.
conditions.
To access the Field Service
• The action measures only straight lines and rectangular shapes. mobile app, users need the
• The measurement is a total of all the captured lines and doesn’t show the length of each line Field Service Mobile user
individually. license.
• The unit of measurement is taken from the device’s locale.
• For security purposes, after copying the measurement to the clipboard, you can paste the
measurement only into a field in the Field Service mobile app.
• Mobile workers must grant the app permission to access the device’s camera.
The following table lists the initial field values given different criteria. The Field Service core
features, managed
Action Does a Predefined Initial Online Value Initial Offline Value package, and mobile app
Value Exist? are available in Enterprise,
Unlimited, and Developer
Create a new record Yes Predefined Value* None Editions.
No Default Value None To access the Field Service
mobile app, users need the
Update an existing Yes Predefined Value* Existing Value
Field Service Mobile user
record
No Existing Value Existing Value license.
833
Salesforce Field Service Data Capture (Beta)
* Predefined values can contain formulas. A blank value appears if the server can’t resolve the formula.
SEE ALSO:
Set Predefined Field Values for Quick Action Fields
834
Salesforce Field Service Data Capture (Beta)
Note: Data Capture relies on Briefcase Builder to prime records for offline use. See Briefcase Builder.
.w
o. lF
4. Save and activate the flow.
Make sure that only Data Capture flow types are linked with the junction object to properly initialize all Data Capture flows as Lightning
Web components (LWCs).
5. Test the form by navigating to a work order on the mobile app and launching the form.
835
Salesforce Field Service Data Capture (Beta)
Admin profiles and users with the Manage Flow permission can assign the form using the related list on work order, work order line
item, or service appointment. You can also access the form from the related list on service appointment or work order line item.
Component Description
Address Enter an address or latitude and longitude of a location.
Discovery Framework Based Data Capture with Field Service Mobile App (Beta)
With Assessment Questions and the Discovery Framework Data Capture Flow process type in Flow
EDITIONS
Builder, build dynamic and responsive forms. Your mobile workers can use these forms on the Field
Service Mobile app to efficiently collect data from customers, even in areas with poor or no internet Available in: Lightning
connectivity. Experience
Note: Discovery Framework Based Data Capture is a pilot or beta service that’s subject to Available in: Enterprise and
the Beta Services Terms at Agreements - Salesforce.com or a written Unified Pilot Agreement Unlimited Editions where
if executed by Customer, and applicable terms in the Product Terms Directory. Use of this Field Service, Discovery
pilot or beta service is at the Customer's sole discretion. Framework, Discovery
Discovery Framework Data Capture flows set up the Form tab, which the mobile workers can access Framework Import or Export,
and Discovery Framework
through the related list on a service appointment record. Create forms with conditional logic that
Data Capture Flow (Beta) are
adapt by presenting additional questions based on the user’s earlier answers. With Discovery
enabled.
Framework, you can track, store, and manage both questions and their answers, along with their
versions, for better auditability. Your Salesforce org doesn't require Omnistudio to be installed for
data capture with Discovery Framework.
Complete the Prerequisites for Discovery Framework Based Data Capture (Beta)
Give your mobile workers access to the Field Service Mobile app by assigning the right user license and permissions.
836
Salesforce Field Service Data Capture (Beta)
837
Salesforce Field Service Data Capture (Beta)
Complete the Prerequisites for Discovery Framework Based Data Capture (Beta)
Give your mobile workers access to the Field Service Mobile app by assigning the right user license
EDITIONS
and permissions.
1. Enable Field Service to start using Field Service features. See Enable Field Service. Available in: Lightning
Experience
2. Give your mobile workers access to the Field Service Mobile app by assigning the right user
license and permissions. See Give Users Access to the Field Service Mobile App. Available in: Enterprise and
3. Enable Discovery Framework. Unlimited Editions where
Field Service, Discovery
4. Enable Discovery Framework Import or Export settings. Framework, Discovery
5. Authorize your users to create screen flows with Discovery Framework Data Capture Flow Framework Import or Export,
process type that presents assessment questions from Discovery Framework. and Discovery Framework
Data Capture Flow (Beta) are
a. From Setup, in the Quick Find box, enter Discovery Framework, and then select enabled.
General Settings.
b. Turn on Discovery Framework Data Capture Flow (Beta).
USER PERMISSIONS
838
Salesforce Field Service Data Capture (Beta)
USER PERMISSIONS
To create questions
• Financial Services Cloud
Extension OR FSC Sales
OR
Health Cloud Foundation
OR
Industries Assessment
OR
Product Catalog
Management Designer
839
Salesforce Field Service Data Capture (Beta)
840
Salesforce Field Service Data Capture (Beta)
USER PERMISSIONS
841
Salesforce Field Service Data Capture (Beta)
842
Salesforce Field Service Download the Field Service Connected App
Your mobile workers are ready to launch the Discovery Framework Data Capture form on the Field Service Mobile app. They can launch
it from the Related tab on a service appointment record.
SEE ALSO:
Create Service Appointmentsfor Field Service
Using the Field Service Mobile App
Note: Biometrics aren’t supported for the Field Service mobile app. Don’t add the Biometric The Field Service core
custom attribute to the connected app. features, managed
package, and mobile app
Apple and Google Maps provide high-level routes and ETAs in the Field Service mobile app. Android are available in Enterprise,
users require additional setup to get this functionality. Unlimited, and Developer
• Apex Rest Services permission enabled for their profile with access to these classes: Editions.
843
Salesforce Field Service Give Users Access to the Field Service Mobile App
844
Salesforce Field Service Give Users Access to the Field Service Mobile App
Note: To use the Field Service mobile app, each user needs Read access to their service resource record. If you have Service
Resources set to Private in Sharing Settings, see Manual Sharing for how to give your users Read access, or consider implementing
sharing rules.
6. (Android only) Add Apex class access for users that need the Google Maps functionality.
a. Create a permission set.
b. In the permission set, click Apex Class Access.
c. Click Edit.
d. Add these Apex classes to the list of Enabled Apex Classes. These classes enable the Android Salesforce Field Service mobile app
to securely access directions and geo-coding information through Google Maps APIs:
FSL_RESTController_GoogleApis_Directions, FSL_RESTController_GoogleApis_Geo, and
FSL_RESTController_GoogleApis_Requestor.
e. Assign the permission set to Android users.
f. Save your changes.
Give Contractor Service Resources Access to the Field Service Mobile App
The way you track contract work in Salesforce depends on how you want to track capacity, assign appointments, exchange data
with contractors, and give them access to the Field Service mobile app. Follow these simple steps to add contractors to your database
and give them the access they need.
SEE ALSO:
Set Up Inventory Access for Mobile Workers
Field Service Permission Set Licenses
Granting Access to Records with Manual Sharing
Create Sharing Rules
Give Contractor Service Resources Access to the Field Service Mobile App
The way you track contract work in Salesforce depends on how you want to track capacity, assign appointments, exchange data with
contractors, and give them access to the Field Service mobile app. Follow these simple steps to add contractors to your database and
give them the access they need.
845
Salesforce Field Service Give Users Access to the Field Service Mobile App
3. Customize the permission set’s object permissions by clicking Object Settings, then click an To grant access to
object’s name to modify its permissions. contractors
• Customize Application
4. Assign the permission set to your mobile app users:
a. Click Manage Assignments, and then click Add Assignments.
b. Select all users who need the app permission set.
c. Click Assign.
5. Make sure the user has the API Enabled system permission set enabled. This permission set is assigned from either the user profile
or other permission set which includes the API Enabled system permission.
a. Click System Permissions.
b. Click Edit.
c. Select API Enabled.
d. Click Save.
846
Salesforce Field Service Generating Revenue from the Field Service Mobile App
Set Up Mobile Quoting for Field Service Mobile Workers (Beta) Available in: both Salesforce
Let your mobile workers create quotes for customers directly from the Field Service mobile app Classic (not available in all
without contacting customer services. orgs) and Lightning
Experience
Set Up Lead and Opportunity Creation for Field Service Mobile Workers
Use a flow template that guides your mobile workers through creating leads and opportunities The Field Service core
for potential customers directly from the app, without contacting customer services. features, managed
package, and mobile app
are available in Enterprise,
Unlimited, and Developer
Editions.
Note: This feature is a Beta Service. Customer may opt to try such Beta Service in its sole Available in: both Salesforce
discretion. Any use of the Beta Service is subject to the applicable Beta Services Terms provided Classic (not available in all
orgs) and Lightning
at Agreements and Terms.
Experience
1. Enable the Lightning web component permission set and assign it to mobile workers.
The Field Service core
a. From Setup, in the Quick Find box, enter Users, and then select Permission Sets. features, managed
b. Select the permission set assigned to mobile workers. See Give Users Access to the Field package, and mobile app
Service Mobile App. are available in Enterprise,
Unlimited, and Developer
c. Click System Permissions, and then click Edit.
Editions.
d. Select Lightning SDK for Field Service Mobile.
To access the Field Service
e. Save your changes. mobile app, users need the
f. Make sure that this permission set is assigned to all mobile workers who use Lightning web Field Service Mobile user
components. license.
2. Make sure that the look and feel is consistent with your Field Service app.
a. From Setup, in the Quick Find box, enter Field Service, and then select Field Service USER PERMISSIONS
Setting. To set up mobile quoting:
b. Under Lightning Web Components, select Override default styling. • Customize Application
847
Salesforce Field Service Generating Revenue from the Field Service Mobile App
Make sure that all mobile workers who are creating quotes have the Salesforce user license.
If you don’t select Create Quotes Without a Related Opportunity, instruct your mobile workers to fill in the Opportunity ID
field when creating a quote.
4. Let mobile workers create and access quotes from a work order.
a. From Setup, go to the Object Manager tab.
b. Select the Work Order object, and then go to Page Layouts.
c. Open the mobile worker layout.
d. From Salesforce Mobile and Lightning Experience Actions, drag New Quote (Beta) into the Quick Actions section.
e. Add Quotes to the Related Lists section.
5. Make sure that the mobile workers can access the required objects and fields.
a. From Setup, in the Quick Find box, enter Users, and then select Permission Sets.
b. Create a permission set.
c. In the new permission set, under Apps, click Object Settings.
d. In the Price Book object, under Object Permissions, select Read.
e. In the Price Book Entry object, under Field Permissions, select Read Access for these fields: Price Book, Product, and Product
Code.
f. In the Product object, under Object Permissions, select Read.
Under Field Permissions, select Read Access for these fields: Product Description, Product Family, Product Name, and Quantity
Unit Of Measure.
g. In the Quote object, under Object Permissions, select Read, Create, and Edit.
Under Field Permissions, select Read Access and Edit Access for the fields that are included in the Quotes object page layout
that’s assigned to the mobile workers. Make sure you give permissions to the Related Work field even if it’s not on the layout.
h. In the Quote Line Item object, under Field Permissions, select Read Access and Edit Access for these fields: Product, Quantity,
Quote Name, and Sales Price.
i. In the Work Order object, under Object Permissions, select Read.
Under Field Permissions, select Read Access for these fields: Price Book and Contact.
6. Share the relevant price book with the mobile workers. See Guidelines for Sharing Price Books.
7. In the Price Book field of each work order, find and select the relevant price book.
8. Set up the mobile worker page layout for quotes.
a. From Setup, go to the Object Manager tab.
b. Select the Quote object, and then go to Page Layouts.
c. Open the layout that’s assigned to mobile workers.
d. Add the fields that you want the mobile worker to fill in when they’re creating the quote. Make sure you add the Name field.
848
Salesforce Field Service Generating Revenue from the Field Service Mobile App
• To let mobile workers create a quote when they’re offline, you must prime the Pricebook2, Pricebook Entry, and Product2 data. To
let mobile workers select the data when they’re offline, you must prime the lookup fields that are included in the Quote object’s
page layout. See Work with Offline Priming in the Field Service Mobile App.
• Mobile workers must be online the first time that they click the New Quote quick action. After that, they can be offline when creating
quotes.
• Mobile workers must be online when opening the preview of the quote.
• We strongly recommend not making changes to the price book throughout the workday. When the mobile worker is offline, changes
aren’t reflected in the app. The final prices in the quote are determined according to the saved price book.
Set Up Lead and Opportunity Creation for Field Service Mobile Workers
Use a flow template that guides your mobile workers through creating leads and opportunities for
EDITIONS
potential customers directly from the app, without contacting customer services.
1. Copy the flow. Available in: both Salesforce
Classic (not available in all
a. From Setup, in the Quick Find box, enter Process Automation, and then select
orgs) and Lightning
Flows.
Experience
b. Open the Field Service Mobile: Create Leads and Opportunities flow template.
The Field Service core
c. Click Save As and create your own version of the flow based on the template. features, managed
package, and mobile app
2. Create a quick action and add it to the mobile worker’s layout.
are available in Enterprise,
a. From the object management settings for service appointments, go to Buttons, Links, and Unlimited, and Developer
Actions. Editions.
b. Click New Action. To access the Field Service
c. For Action Type, select Flow. mobile app, users need the
Field Service Mobile user
d. For Flow, select the copy of the flow that you created. license.
e. Enter a label.
The name is populated based on the label.
USER PERMISSIONS
f. Save the action.
To set up lead and
g. From Page Layouts, open the mobile workers’ layout. opportunity creation:
h. From Salesforce Mobile and Lightning Experience Actions, drag the action that you created • Customize Application
onto the layout.
849
Salesforce Field Service Customize the Field Service Mobile App
850
Salesforce Field Service Customize the Field Service Mobile App
Track Service Resource Geolocation with the Field Service Mobile App
Use geolocation to manage your mobile workforce. You can exclude certain users from geolocation tracking.
Set Up Custom Actions in the Field Service Mobile App
Configure quick actions, global actions, flows, and app extensions to help your team work more efficiently from the field. Actions
are displayed in a predefined order in the action launcher on record pages in the app.
Set Up Automatic Status Change
Accurate and on-time status changes are a key part of field operations workflow. With Automatic Status Change, mobile workers
can focus on their jobs and work more efficiently while the Field Service mobile app tracks status changes for them. For the back
office, accurate status changes give better insight into the activity in the field without creating more work for mobile workers.
Set Up Service Appointment Bundling for Mobile Workers
To give mobile workers access to the bundled service appointments in the Field Service mobile app, you update the service
appointment layout and add field permissions for mobile users.
Set Up Geolocation-Based Actions for Field Service Mobile Workers
Automate actions based on the location of your mobile workers. Prompt your mobile workers to complete the actions before or
after their service appointments.
SEE ALSO:
Using the Field Service Mobile App
Customize and Extend the Field Service Mobile App with Lightning Web Components
Lightning web components (LWCs) let you create your own experiences using Quick Actions to
EDITIONS
customize the app to meet your business needs. LWCs represent the best of the Salesforce platform,
bringing modern web standards in performant, modular components that are easy to build. Available in: both Salesforce
Watch the video to see how LWCs can let your mobile workers find nearby records, add images to Classic (not available in all
a record, and reschedule an appointment directly from the Field Service mobile app. orgs) and Lightning
Experience
Watch a video
The Field Service core
features, managed
What Can I Do with LWCs in the Field Service Mobile App? package, and mobile app
are available in Enterprise,
You can create custom components that are accessed from the Actions menu. The Actions menu Unlimited, and Developer
is available globally and on record detail pages. Editions.
Lightning Web Components in Salesforce allow you to create a wide range of actions tailored to To access the Field Service
your specific needs. They are versatile and can function seamlessly even when mobile devices are mobile app, users need the
offline. With LWCs, you can perform tasks such as adding annotations to images for service reports, Field Service Mobile user
ordering parts, contacting subject matter experts (SMEs), and creating custom dashboards for your license.
mobile workers, as shown in the example image.
851
Salesforce Field Service Customize the Field Service Mobile App
Get started with LWCs for mobile apps Salesforce Developers: Mobile and Offline Developer Guide
Get Started with LWCs for Field Service Field Service Developer Guide: Get Started with Lightning Web
Components in the Field Service Mobile App
Find a Partner to help you develop with LWCs. Find the right Salesforce expertise: Salesforce Partners
852
Salesforce Field Service Customize the Field Service Mobile App
• Custom lists sorted by Last Modified Date are always ordered newest to oldest, which is standard for all related lists.
• The Recently Viewed list view isn’t supported. When accessed, it doesn’t return records, and an error is returned.
• Limitations apply to what filter configurations are supported. When encountered, no records are returned and an error is shown.
Here’s a list of known filters that aren’t supported in mobile list views. Other filters not in this list can apply.
– A filter that uses a multiple currency field
– A filter that uses a locale and org-based date literal, such as
• THIS_WEEK
• THIS_FISCAL QUARTER
• LAST_WEEK
• THIS_WEEK
• NEXT_WEEK
853
Salesforce Field Service Customize the Field Service Mobile App
Performance Considerations
• The number of objects in your database can impact the performance of custom list views.
• The number of fields entered when you’re performing a search can also affect performance.
• Your current network speed can affect the performance of network requests.
USER PERMISSIONS
854
Salesforce Field Service Customize the Field Service Mobile App
1. Locate a list view that has the fields sorted according to the order that you want to show in the widget, or create one for this purpose.
a. From Field Service, open the Service Appointments tab.
b. From List View Controls, click New.
c. Enter the details.
855
Salesforce Field Service Customize the Field Service Mobile App
SEE ALSO:
Apple Developer Guide: Keeping a widget up to date
Add the Field Service Mobile Widget (Beta)
Show the Inventory Tab (Android and iOS) The Field Service core
features, managed
Let users view and update their inventory, log inventory consumption, and request parts from the package, and mobile app
Inventory tab. To see the Inventory tab, app users must be active service resources who are associated are available in Enterprise,
with a mobile inventory location. They must have at least Read access to product items or product Unlimited, and Developer
requests. The Inventory tab isn’t available offline. Editions.
A location represents a physical area where products are stored. Because field service workers To access the Field Service
typically bring products with them in their vehicle, you can create a field location type to represent mobile app, users need the
their inventory, such as a vehicle or toolbox. Field Service Mobile user
1. From the full Salesforce site, click the Service Resources tab. license.
856
Salesforce Field Service Customize the Field Service Mobile App
Because this service resource is associated with the location, the user sees the Inventory tab in the app.
Note: To search by a product code, it must be added to the Product Search Layout. Inventory lists in the Field Service mobile app
shows up to 1,000 products. To see inventory for locations added during an active mobile session, log out and then log back in.
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.
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.
857
Salesforce Field Service Customize the Field Service Mobile App
SEE ALSO:
Set Up Your Field Service Inventory
Set Up Product Requests in the Field Service Mobile App
Set Up Multiple Inventory Locations
858
Salesforce Field Service Customize the Field Service Mobile App
d. Click Save.
859
Salesforce Field Service Customize the Field Service Mobile App
4. Create consignment locations. A consignment location represents an inventory location at the site of a work order or work order
line item. For example, you can use a consignment location for parts shipped directly to a work site.
a. From the App Launcher, find and open Locations.
b. Click New.
c. Enter the details for your new location. Select Inventory Location so that parts can be stored there.
d. Click Save.
860
Salesforce Field Service Customize the Field Service Mobile App
d. Click Save.
6. Create cross-border locations. A cross-border location represents an inventory location that belongs to a specific service territory.
a. Add the Service Territory Locations related list to the Service Territory layout.
• From the Object Manager, enter Service Territory in the Quick Find box, and select Service Territory.
• Select Page Layouts.
• Select Service Territory Layout.
• Drag Service Territory Locations under Related Lists.
• Click Save.
861
Salesforce Field Service Customize the Field Service Mobile App
• For the setup to take effect, have each user log out and log back.
• Consuming product items from multiple locations is a beta feature. Up to 10 hierarchical locations or cross-border locations are
supported, with a maximum of 1,000 product items for each location.
• When a location is associated with a service resource, only direct parent-child locations are supported. Grandchild locations are not
supported.
• When a location is associated with a work order or a service territory location, parent-child relationships aren't used.
• Child locations of consignment locations and cross-border locations aren’t available in the app.
• To make a location available in the inventory tab in the app, select Mobile Location.
• For cross-border locations, don't select the Mobile Location field. When the Mobile Location field is selected, the location isn’t
available in the app.
862
Salesforce Field Service Customize the Field Service Mobile App
SEE ALSO:
Brand the Field Service Mobile App
Track Service Resource Geolocation with the Field Service Mobile App
Set Up Custom Actions in the Field Service Mobile App
Branding Colors See Brand the Field Service Mobile App on page 866.
Additional Settings
Collect time zones for time sheet entries Controls whether time zones of work locations are
captured on time sheets.
Display resource absences in Schedule Sets whether resource absences are combined with
view other work in the Schedule page of the app.
Enable full edit on records Controls whether users can edit records using the Field
Service mobile app.
Enable mobile time sheets Controls whether users can access time sheets on their
mobile devices.
863
Salesforce Field Service Customize the Field Service Mobile App
Setting Description
Geolocation Accuracy Controls the accuracy of service resource geolocation tracking. Lowering
accuracy reduces battery consumption for mobile devices. The options are:
• Fine: Accurate to within 10 meters
• Medium: Accurate to within 100 meters
• Coarse: Accurate to within 1 kilometer
Geolocation Accuracy (Background Mode) Controls the accuracy of service resource geolocation tracking while the app
is running in the background. Lowering accuracy reduces battery consumption
for mobile devices. The options are:
• Medium: Accurate to within 100 meters
• Coarse: Accurate to within 1 kilometer
• Very Coarse: Accurate to within 3 kilometers
Geolocation Update Frequency in Minutes Controls the frequency between attempts to retrieve service resource
geolocation updates.
Geolocation Update Frequency in Minutes (Background Controls the frequency of attempts to retrieve service resource geolocation
Mode) updates while the app is running in the background. Lowering frequency
reduces battery consumption for mobile devices.
Metadata Cache Time in Days Controls the number of days that org metadata, such as layouts, is kept in
the app’s local cache.
Picklist Time Interval in Minutes Controls the spacing of picklist options for time values, such as when creating
resource absences.
Record Data Cache Time in Minutes Controls the number of minutes that record data is kept in the app’s local
cache.
Schedule Update Frequency Time in Minutes Controls the number of minutes between attempts to update a user’s
schedule.
Default List View Developer Name The API name of the default service appointment list view on the schedule
screen (optional).
Future Days in the Date Picker Controls the number of days into the future that a user can select from the
date picker on the schedule screen.
Past Days in the Date Picker Controls the number of days into the past that a user can select from the date
picker on the schedule screen.
Send appointment notifications on assignment If selected, workers are notified when they’re assigned to a service
appointment and when their assignment is changed or removed. They’re
not notified when they’re dispatched for the appointment. Followers of a
service appointment receive a separate notification regarding a service
appointment assignment to another worker.
Send appointment notifications on dispatch If selected, workers are notified when they’re dispatched for a service
appointment and when their assignment is changed or removed.
864
Salesforce Field Service Customize the Field Service Mobile App
Setting Description
Service Appointment Priming
Default List View Developer Name The API name of the default service appointment list view on the schedule
screen (optional).
Future Days in the Date Picker Controls the number of days into the future that a user can select from the
date picker on the schedule screen.
Past Days in the Date Picker Controls the number of days into the past that a user can select from the date
picker on the schedule screen.
Days Before Current Service Date Controls the number of days prior to the current service date that service
document templates related to the service appointment, work order, or work
order line item are primed for offline use.
Days After Current Service Date Controls the number of days after the current service date that service
document templates related to the service appointment, work order, or work
order line item are primed for offline use.
Maximum Number of Service Appointments Defines the maximum number of service appointments to prime service
document templates for.
Flow Name The name of an existing flow that the Quick Status Change action is applied
to.
App Extensions See Create App Extensions for the Field Service Mobile App on page 902.
865
Salesforce Field Service Customize the Field Service Mobile App
4. When you have entered values for every token you wish to modify, click Save. To access the Field Service
mobile app, users need the
Users must log out and log in to the app to see changes to branding.
Field Service Mobile user
license.
Note: iOS 13 and later app users can enable Dark Mode from their OS settings. However,
this overrides the custom branding colors for some UI elements.
USER PERMISSIONS
To customize branding
colors:
• Customize Application
866
Salesforce Field Service Customize the Field Service 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.
867
Salesforce Field Service Customize the Field Service 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
SEE ALSO:
Add a Profile Tab Background Image in the Field Service Mobile App
Customize the Field Service Mobile App by User Profile
Track Service Resource Geolocation with the Field Service Mobile App
Field Service Mobile App Builder Considerations and Limitations To access the Field Service
mobile app, users need the
Before you start working with the Field Service Mobile App Builder, here are some things to
Field Service Mobile user
know.
license.
Set Up User Permissions for Field Service Mobile Builder
Let mobile users see the configuration.
Create a Configuration
Use the Field Service Mobile App Builder to configure what tabs are available within the Field Service mobile app and assign those
configurations to profiles.
Explore the User Interface
The Field Service Mobile App Builder user interface makes configuring navigation tabs easy.
Set Up the Search Tab
Let mobile workers search for records in the Field Service mobile app.
868
Salesforce Field Service Customize the Field Service Mobile App
• Field Service Mobile Builder configurations aren't fully duplicated in Partial Copy, Developer Copy, or Developer Pro Copy sandboxes.
To use Mobile Builder configurations in sandboxes, use Full Copy.
• On Android, tabs that are customized using the Field Service Mobile App Builder don’t maintain their current state when switching
between tabs and when rotating the mobile device. To avoid this issue, lock the device's screen rotation.
• The maximum number of tabs allowed is 15.
• The Profile tab in the Field Service mobile app is fixed on the right side of the tab bar. Because you can’t modify its location and
function, it isn’t shown in the mobile app builder.
• The number of tabs shown in the mobile app builder canvas doesn’t match what the user sees on the actual mobile device. There’s
always one additional tab on the device. The Profile tab in the Field Service mobile app is fixed on the tab bar and can’t be modified,
so it isn’t shown in the mobile app builder.
Create a Configuration
Use the Field Service Mobile App Builder to configure what tabs are available within the Field Service
USER PERMISSIONS
mobile app and assign those configurations to profiles.
1. From Setup, in the Quick Find box, enter Field Service Mobile App Builder, For admins to create and
manage email templates
and then select Field Service Mobile App Builder.
and content in a builder:
• Customize application
For mobile app users to
customize using App Setup
menu options:
• Custom applications for
Field Service mobile
869
Salesforce Field Service Customize the Field Service Mobile App
870
Salesforce Field Service Customize the Field Service Mobile App
Edit tab details in the Properties pane. Click a tab in the canvas to see that component’s options in the Properties pane. (5)
Clicking the component tree toggle lets you see your selected components. From here, you can interact with a component and delete
it. You can also easily see if you have components in the tab overflow area, which are available when a user taps More in the app. The
overflow area activates when you have more than 4 tabs in the app.
871
Salesforce Field Service Customize the Field Service Mobile App
872
Salesforce Field Service Customize the Field Service Mobile App
For mobile app users to customize using App Setup menu options: Custom applications for Field Service mobile
1. To change the icon, in the canvas, click the tab whose icon you want to change.
2. Click the X next to the current icon, and then click Select Icon.
3. Choose an icon and click Select.
4. Click Save.
5. In the status bar, click Save.
873
Salesforce Field Service Customize the Field Service Mobile App
SEE ALSO:
Lightning Web Components Developer Guide: XML Configuration File Elements
Reorder Tabs
Change tab order to work efficiently for your users.
USER PERMISSIONS
1. In the canvas, hover over the tab you want to move.
A menu appears. For admins to create and
manage email templates
2. Drag the move icon ( ) in the menu to the new location in the preview. Changing the order and content in a builder:
of the tabs can change which tabs are moved onto the More page. • Customize application
For mobile app users to
customize using App Setup
menu options:
• Custom applications for
Field Service mobile
Delete a Tab
Change tab order to work efficiently for your users.
USER PERMISSIONS
1. In the canvas, hover over the tab you want to delete.
A menu appears. For admins to create and
manage email templates
2. Click the delete icon ( ) in the menu. and content in a builder:
3. Click Delete to confirm. • Customize application
For mobile app users to
customize using App Setup
menu options:
• Custom applications for
Field Service mobile
874
Salesforce Field Service Customize the Field Service Mobile App
875
Salesforce Field Service Customize the Field Service Mobile App
For mobile app users to customize using App Setup menu options: Custom applications for Field Service mobile
1. From Setup, in the Quick Find box, enter Field Service Mobile App Builder, and then select Field Service Mobile
App Builder.
2. In the App Configurations pane, click the dropdown next to the selected configuration, and then select Edit App Configuration.
This action opens the mobile app builder user interface where you can rename, reorder, delete, and add tabs.
876
Salesforce Field Service Customize the Field Service Mobile App
For mobile app users to customize using App Setup menu options: Custom applications for Field Service mobile
1. From Setup, click the dropdown next to the selected configuration and select Edit Basic Information.
2. Edit the App Name field, and then click Save.
• Confirm that you want to override the current assignments and click Override & Publish.
• To change the selected assignments, click Cancel & Back.
• Assign profiles from the mobile app builder user interface.
2. In the App Configurations pane, click the app you want to open.
a. Click Publish.
The Publish button is available when the configuration is in a draft state (if it has never been published or when changes occurred
since the last publish date).
b. Select the profiles that can view your custom app configuration.
c. If no conflicts exist, click Assign.
d. If conflicts exist, click Next.
e. Review the assignment changes you’re about to make. Take one of these actions.
• Confirm that you want to override the current assignments and click Override & Publish.
• To change the selected assignments, click Cancel & Back.
Clone a Configuration
Make your work customizing configurations for multiple users go more quickly.
877
Salesforce Field Service Customize the Field Service Mobile App
For mobile app users to customize using App Setup menu options: Custom applications for Field Service mobile
1. From Setup, click the dropdown next to the selected configuration, and then select Clone.
2. Edit the App Name field.
3. Edit the API Name field.
4. Click Save.
Delete a Configuration
Remove unneeded custom configurations.
USER PERMISSIONS
Note: A configuration can’t be reinstated and after it’s deleted assigned profiles can no
For admins to create and
longer view the configuration.
manage email templates
1. From Setup, click the dropdown next to the selected configuration, and then select Delete. and content in a builder:
• Customize application
2. Confirm and then click Delete.
For mobile app users to
customize using App Setup
menu options:
• Custom applications for
Field Service mobile
878
Salesforce Field Service Customize the Field Service Mobile App
USER PERMISSIONS
To customize tabs:
• Customize Application
879
Salesforce Field Service Customize the Field Service Mobile App
3. The component searches in these objects, listed in the order they appear: Service Appointment, Work Order, Work Order Line Item,
Asset, Contact, Account, Product Item, and Resource Absence.
Determine which fields are searched and shown in the search results.
a. The search bar at the top of the component lets users enter free text. The component then searches in all the fields that are in
the object’s search layout. To determine which fields are searched, from Object Manager, select the Service Appointment
object, and then click Search Layouts.
b. In the row of the required profile, click the arrow and select Edit.
c. The component searches in all of the fields in the Selected Fields list. Review the fields in the list and add or remove fields
accordingly.
d. The first five fields are shown in the search results. Determine which fields are shown by reordering the fields.
The top two fields are shown in the collapsed mode. The first field is the title of the search result, and the second field appears
below it. The next three fields are seen only in the expanded mode. For example, if the fields are sorted in the order shown in
this example, these fields are shown in the collapsed mode and the expanded mode.
e. The component’s Filter By option lets you select any of the object’s fields that are in the page layout. Review the fields in the
object’s page layout and add or remove fields accordingly.
f. Repeat steps a. to e. for the remaining objects that the component searches in.
SEE ALSO:
Customize Tabs with the Field Service Mobile App Builder
Search for Records
880
Salesforce Field Service Customize the Field Service Mobile App
Note: To search
Products, a pricebook
881
Salesforce Field Service Customize the Field Service 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 Note: The Default List
Appointment search layout 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.
Service Appointment List view layout. The service appointment screen includes
the following fields in the following order:
• First field in the service appointment list
view (displayed as a title)
882
Salesforce Field Service Customize the Field Service 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.
SEE ALSO:
Customize the Schedule Tab
Customize the Layout of the Work Order Overview Screen
883
Salesforce Field Service Customize the Field Service Mobile App
USER PERMISSIONS
884
Salesforce Field Service Customize the Field Service 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, in the Quick Find box, enter Field Service Mobile, and then select Field Service Mobile Settings.
3. Click the arrow next to the mobile settings you want to define the list view for and select Show Details.
4. Under Customization, edit the Default List View Developer Name and enter the API name of the list view you want to use.
Note: 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.
885
Salesforce Field Service Customize the Field Service Mobile App
• Service appointments in the schedule list are shown in chronological order. This order can’t be changed.
• Custom lookup fields aren’t supported and don’t appear on the Schedule tab.
• Formulas aren't supported on the Schedule tab.
• 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 Start but not a Scheduled End, the appointment appears on the schedule every
day after the Scheduled Start date until the appointment is complete.
– If a multi-day appointment doesn’t include a Scheduled Start, the appointment doesn’t appear in the Field Service mobile app.
• To add resource absences to the list of Schedule tab items, turn on Display resource absences in the Schedule page on any Field
Service mobile settings configuration. Mobile workers get an integrated view of their schedule on calendar-based list views.
• The Recently Viewed list view isn’t supported. When accessed, it doesn’t return records, and an error is returned.
SEE ALSO:
Customize the Layout of the Work Order Overview Screen
Field Service Mobile App Considerations
886
Salesforce Field Service Customize the Field Service Mobile App
Note:
• When you modify a page layout, users must log out and log in to the Field Service mobile app to see the changes.
• Not all field types are supported in the Field Service app. Before you configure your layouts, review Supported Data Types in
the Field Service Mobile App.
• Formula URL fields aren’t supported in compact layouts.
887
Salesforce Field Service Customize the Field Service Mobile App
Add Cards
The Overview tab in the work order carousel displays information about the work order and its child records. The information appears
in cards, which represent the related lists on the work order. Manage which cards are displayed by adding or removing related lists on
the Work Order page layout in Setup. You can add the following cards to the work order overview.
Contact Shows the contact’s name and The Contact card can't be Android and iOS
gives the option to call, customized. It shows the
message, and email the contact. following fields and options:
Customer Name, Phone,
Message, Email. The Customer
Name field always shows on the
Contact card, even if the field is
empty. If Phone, Message or
Email fields are empty, they
don’t show on the card.
In Android, you must specify a
contact. In iOS, if no contact is
specified, this card is empty, but
you can assign a contact to the
card.
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.
888
Salesforce Field Service Customize the Field Service Mobile App
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’s 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 the layout.
889
Salesforce Field Service Customize the Field Service Mobile App
SEE ALSO:
Customize the Schedule Tab
Set Up Custom Actions in the Field Service Mobile App
890
Salesforce Field Service Customize the Field Service Mobile App
Add a Profile Tab Background Image in the Field Service Mobile App
Add a background image to customize the Profile Tab in the Field Service Mobile App.
EDITIONS
1. Upload your image as a static resource.
Available in: both Salesforce
a. From Setup, enter Static Resources into the Quick Find box and click Static
Classic (not available in all
Resources.
orgs) and Lightning
b. Click New. Experience
c. Give the static resource a name, like background_banner. Remember the name, since The Field Service core
you need to use it in a later step. features, managed
d. Select an image file for upload. An image sized at 3072 x 819 pixels leads to the best results package, and mobile app
on large displays such as iPads in landscape mode. However, if your users often encounter are available in Enterprise,
slow mobile networks, consider using a smaller image. Unlimited, and Developer
Editions.
e. Click Save.
To access the Field Service
2. Create a custom attribute to use the static resource on every user’s Profile tab. mobile app, users need the
a. From Setup, enter Connected Apps into the Quick Find box, then select Field Service Mobile user
Connected Apps. license.
b. b. Select Salesforce Field Service for iOS or Salesforce Field Service for Android.
USER PERMISSIONS
c. Scroll down to the list Custom Attributes and click New.
d. For the attribute key, enter COMPANY_PROFILE_IMAGE_RESOURCE_NAME. To set the company profile
image:
e. For the attribute value, enter the name of the static resource you created surrounded by • Customize Application
quotation marks.
Note: If you named your static resource background_banner, your attribute value
is“background_banner”.
f. Click Save.
891
Salesforce Field Service Customize the Field Service Mobile App
SEE ALSO:
Brand the Field Service Mobile App
In-App Profile Settings in the Field Service Mobile App
892
Salesforce Field Service Customize the Field Service Mobile App
• When you select both options, workers receive assignment and dispatch notifications.
• If you select neither option, no service appointment notifications are sent.
Note: The notification received on the Field Service mobile app shows this message: [User] assigned resource [Service
Resource] on Service Appointment [Appointment]. This signals to the technician that the appointment is ready to be
picked up. This happens at assignment time (when an Assigned Resource is created) or dispatch time (when an
assigned Service Appointment is dispatched) based on the settings selected.
Note: Mobile workers aren't automatically added as followers to work orders and service appointment records that they're
assigned to. Consider creating an Apex trigger on the service resource object to add or remove users as followers when assignments
change.
Track Service Resource Geolocation with the Field Service Mobile App
Use geolocation to manage your mobile workforce. You can exclude certain users from geolocation
EDITIONS
tracking.
When service resource tracking is enabled, the Field Service mobile app uploads the geolocation Available in: both Salesforce
of app users to Salesforce at regular intervals. Enable service resource tracking in Setup. Classic (not available in all
orgs) and Lightning
1. From Setup, in the Quick Find box, enter Field Service Settings, and then select
Experience
Field Service Mobile Settings.
2. Click Edit next to the settings configuration that you want to update. The Field Service core
features, managed
3. Under Additional Settings, select Collect Service Resource Geolocation History. This option package, and mobile app
is mandatory for data collection. are available in Enterprise,
4. Enter values for the following geolocation-related fields. Unlimited, and Developer
Editions.
Note: Higher-precision or higher-frequency settings increase battery consumption on
To access the Field Service
mobile devices. To conserve battery power with Android O and later, your position is
mobile app, users need the
updated less frequently when the app is in the background. To get an accurate position
Field Service Mobile user
update, open the Field Service mobile app on your phone.
license.
Note: Because of an iOS device limitation in background mode, the location updates
only about every five minutes when the device moves 500 meters or more from its previous USER PERMISSIONS
location. When the app is in the foreground, it updates as specified in the Geolocation
Update Frequency in Minutes and Geolocation Accuracy fields. To configure resource
tracking:
• Geolocation Update Frequency in Minutes: Controls how often geolocation is polled when
• Customize Application
the app is running in the foreground. For iOS devices, this value also controls update
frequency when the app is in the background. To assign permission sets:
• Assign Permission Sets
893
Salesforce Field Service Customize the Field Service Mobile App
• Geolocation Update Frequency in Minutes (Background Mode): For Android devices, this value controls how often geolocation
is polled when the app is running in the background. See the important note 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 important note 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.
SEE ALSO:
Manage Data Integration Rules for Field Service
894
Salesforce Field Service Customize the Field Service Mobile App
2. Create a permission set for users that you want to exclude from geolocation tracking. The Field Service core
features, managed
3. Give the permission set a label and under License, select Field Service Mobile.
package, and mobile app
4. Save the permission set. are available in Enterprise,
5. From the settings of your new permission set, click System Permissions. Unlimited, and Developer
Editions.
6. Click Edit and select Exclude Technician from Geolocation Tracking.
To access the Field Service
7. Save your changes.
mobile app, users need the
8. Click Manage Assignments, and then click Add Assignment. Field Service Mobile user
9. Select the users that you want to exclude from geolocation tracking, and then click Assign. license.
USER PERMISSIONS
To configure resource
tracking:
• Customize Application
To assign permission sets:
• Assign Permission Sets
895
Salesforce Field Service Customize the Field Service Mobile App
USER PERMISSIONS
To configure resource
tracking:
• Customize Application
To assign permission sets:
• Assign Permission Sets
896
Salesforce Field Service Customize the Field Service Mobile App
Add Global Actions to the Field Service Mobile App The Field Service core
Add global actions to the Field Service mobile app to give your agents easy access to common features, managed
tasks. package, and mobile app
are available in Enterprise,
Create Quick Actions for the Field Service Mobile App Unlimited, and Developer
Add quick actions to object page layouts so your mobile workforce can quickly create and edit Editions.
records, send messages to contacts, and more.
To access the Field Service
Let Users Create Work Order Line Items from the Field Service Mobile App mobile app, users need the
Help your team stay organized in the field by letting them create work order line items to split Field Service Mobile user
work orders or work order line items into sub-tasks. This feature is available in the Field Service license.
mobile app for iOS, but not for Android.
Create App Extensions for the Field Service Mobile App USER PERMISSIONS
Create app extensions to let users pass data from the Field Service app to another app.
To create quick actions and
Add Flows to the Field Service Mobile App add them to page layouts:
Guide your team through mobile flows in which they can view information, create and update • Customize Application
records, and trigger input-based actions.
Note: To see Actions order changes in the mobile app that were made on the desktop, log out and back in to the mobile app.
897
Salesforce Field Service Customize the Field Service Mobile App
USER PERMISSIONS
898
Salesforce Field Service Customize the Field Service Mobile App
4. From the Object Manager, click Page Layouts under Work Orders. To access the Field Service
mobile app, users need the
5. Click the work order page layout.
Field Service Mobile user
6. From the layout editor, select Quick Actions. license.
7. Drag your newly created action into the Quick Actions in the Salesforce Lightning Publisher
section. USER PERMISSIONS
8. Save your changes.
To create quick actions and
The action will be visible in the app and on the full Salesforce site. add them to page layouts:
• Customize Application
Note:
• The app supports quick actions of the types Create a Record, Update a Record, and
Lightning Web Components. Other action types aren’t supported.
• When you modify a page layout, users must log out and log in to the Field Service mobile
app to see the changes.
SEE ALSO:
Quick Actions
899
Salesforce Field Service Customize the Field Service Mobile App
3. Add the Product Request quick action to the Publisher Layout that's assigned to your mobile USER PERMISSIONS
workers. To create quick actions and
a. From Setup, enter Publisher Layouts in the Quick Find box, and select Publisher add them to page layouts:
Layouts. • Customize Application
b. Click Edit next to the publisher layout you want to add the action to. To view product request line
items:
c. Drag the Product Request quick action to the Quick Actions in the Salesforce Classic • Read on product
Publisher list. requests
d. Click Save. To create product requests:
• Create on product
4. Create a global quick action for the Product Request Line Item. requests
a. From the Object Manager, select Product Request. To create, update, or delete
b. In the sidebar, select Buttons, Links, and Actions. product request line items:
• Edit on product requests
c. Click New Action.
d. Enter the details for your new action.
• For Action Type, select Create a Record.
• For Target Object, select Product Request Line Item.
• For Standard Label Type, select Create New [Record Type].
• For Name, enter an API name for your action.
900
Salesforce Field Service Customize the Field Service Mobile App
SEE ALSO:
Request Inventory in Field Service
Product Request and Transfer Fields
Set Up Inventory Access for Mobile Workers
Set Up Multiple Inventory Locations
Let Users Create Work Order Line Items from the Field Service 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 mobile
app for iOS, but not for Android. Available in: both Salesforce
1. Create a quick action to create a work order line item. Classic (not available in all
orgs) and Lightning
a. From the Object Manager in Setup, select Work Order, and then click Buttons, Links, and
Experience
Actions.
b. Click New Action. The Field Service core
features, managed
c. Select the action type Create a Record. package, and mobile app
d. Select the target object Work Order Line Item. are available in Enterprise,
Unlimited, and Developer
e. Select the standard label type New Child [Record]. Editions.
f. Enter a label, such as New Line Item.
To access the Field Service
This automatically generates the API name. mobile app, users need the
Field Service Mobile user
g. Add a description, such as Create a work order line item.
license.
h. Select whether or not to create a Chatter feed post when the action is used.
i. Optionally, enter a success message that will show when the user creates a line item. USER PERMISSIONS
j. Save your changes.
To create quick actions and
2. Add your quick action to the work order page layout. add them to work order line
item page layouts:
a. From the Object Manager in Setup, select Work Order, then click Page Layouts.
• Customize Application
b. Click Work Order Page Layout.
c. In the layout editor, select Quick Actions.
d. Drag your newly created action into Quick Actions in the Salesforce Classic Publisher.
e. Save your changes.
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.
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.
901
Salesforce Field Service Customize the Field Service Mobile App
Note: When a record type other than Master is set to the default, you must use that same record type when creating a quick
action for the page layout.
902
Salesforce Field Service Customize the Field Service Mobile App
Note: 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.
Note: 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.
Note: The Salesforce app must be installed on iOS to display Lightning app extensions in the Actions launcher.
Note: Open in Salesforce is available in iOS, but in Android, you need to create an Android app extension with the launch
value of salesforce1://sObject/{!Id}/view
Note: Flow app extensions do not accept tokens. They receive the Flow input parameters described in Considerations for Using
Flows in the Field Service Mobile App on page 904.
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 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}.
Note: Any content in the query parameters for the launch value should be url-encoded, not including the parameters that are
substituted by Salesforce Field Service.
Note: 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
903
Salesforce Field Service Customize the Field Service Mobile App
904
Salesforce Field Service Customize the Field Service Mobile App
Note: Some flows that have actions with output parameters don’t cause an error immediately, but they’re still not
supported.
905
Salesforce Field Service Customize the Field Service Mobile App
• In flows, radio button fields that aren’t required allow the user to select from a list of values, including a --None-- option. --None--
is a null value that allows the field to be optional.
• Flow picklists use the values of the choice set from which the default value is assigned.
• Flow record variables require record fields to be accessed through their field API names. Use of field relationship names isn’t supported.
• Record field lookups are limited to one level of indentation. If more levels are required, use assignment elements.
• Flow text areas have a 2,000-character limit.
• Using semicolons when defining user choices in flow checkbox groups and multi-select picklists isn’t supported. If you use semicolons
for user choices, the data doesn’t render accurately.
• Record choice sets don’t retain the value that is selected. A record choice set variable can’t 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.
• Custom Logic and the or operator within Get elements and the record choice set variable aren’t supported in the Field Service
mobile app.
• When using a flow that has a subflow, returning to the main flow from the subflow using the Previous button discards entered data.
• Recently added records from the Field Service org don’t show in mobile flows when using Flow Record Choice Set or the Get element
to query from these records. To resolve this issue, log out and then back into the mobile app.
• Flows installed on the Field Service mobile app using a managed package result in an error. We recommend using an unmanaged
package instead. This error only occurs on the mobile app.
• HTML text isn’t supported in Flow builder.
• Mobile flows support only these global values:
– $Flow.CurrentDateTime
– $Flow.CurrentDate
– $GlobalConstant.EmptyString
• Flows on desktop and mobile don’t support picklist default values that are derived from an object’s picklist values.
• If a default value is assigned in the picklist component of the flow, then the values are populated from the default picklist field value
and not the picklist choice set assigned to it.
• Running a flow as another user isn’t supported.
• Only the following assignment operations for collections are supported:
– Add
– Equal
– Equals Count
• Picklist values are expanded if there are five or fewer values or if the picklist is the only component on that particular flow screen.
Otherwise, values are displayed as a dropdown list.
• When a Record Choice Set is used as a data list for a single item picklist in a flow, the screen doesn’t display correctly. To work around
this behavior, add additional items to the picklist.
• In mobile flow filtering, the user sees a related list instead of a picklist if these conditions are met:
– The flow value store always has a specified parent ID (the parameter with ID passed in), unless the parent ID from the value store
is nulled.
– The user creates a screen step in the flow builder with a single field, and that field uses a single dynamic choice as choice reference.
Additionally, the dynamic choice isn’t a picklist and contains the parent record ID as a filter.
– The parent record identified by the parent ID has a dynamic choice type configured as a related list.
906
Salesforce Field Service Customize the Field Service Mobile App
• Record Choice Sets created using the AttachedContentDocument objects on a Work Order or other supported object don't
work in the mobile app. The mobile app doesn't support showing a related list for files within a flow.
• When using the NOW() formula in fields, create a separate formula resource that resolves to NOW(), and use that resource in the
validation field. Doing so ensures the latest timestamp is used on the flow launch.
• Flows retain variable values after they’re entered. Clicking the Back button in a flow doesn’t clear the value.
• In Field Service mobile app flows that use the Create Record element, the ID populates with the app’s cache ID. This cache ID isn’t
the newly created record’s ID. To access the cache ID in a flow on the app, you must turn on the option "Use separate resources, and
literal values" in the Create Record element.
• Chaining of formulas in the same flow step isn’t supported.
• Collection Choice Sets aren’t supported in flows.
• Changing the name of or hiding navigation buttons in flows isn’t supported in the Field Service mobile app.
• When a mobile flow contains an image, the BeforeInsert trigger in Apex can cause an error.
• To remove access to custom objects, log out and then back into the mobile app.
• Conditional visibility isn’t supported, with the exception of Data Capture (Beta).
• The In and Not In operators in flows aren’t supported in the Field Service mobile app.
• Dependent picklists are supported in mobile flows but aren’t supported on the desktop site.
• Results for Get Record in a flow are cached locally. To access newly available records in the flow, log out and back in to the mobile
app.
• Rich text in flows doesn’t show color in the Field Service mobile app.
• A custom flow for login must be set up when the Session Activation Required permission is enabled for Field Service mobile users.
Without a custom flow for login, mobile users lose access to the Service Resource object and can’t log in to the mobile app.
• Flows that modify the Service Report Language field on the Work Order object don’t work offline.
• New records created using a flow in the Field Service mobile app don’t have the auto-number field data type’s value populated. The
field isn’t populated, because the number is generated by the server during record creation and isn’t available locally on the app.
• Flow Builder on web allows users to assign empty values for record fields and are treated as null. However, on mobile, any fields in
the assignment block with empty values are ignored, and no empty values are specified.
• You can’t update the chatter feed on a new record from a flow when LDS is enabled.
907
Salesforce Field Service Customize the Field Service Mobile App
908
Salesforce Field Service Customize the Field Service Mobile App
Create a Flow to Capture Images in the Field Service Mobile App To open, edit, or create a
flow in Flow Builder:
Create a flow that lets your team capture images from the Field Service mobile app. For example,
• Manage Flow
make it easy for mobile workers to save photos of a customer’s asset before and after service.
To run flows from the app:
1. Build a flow with a Screen element that contains a File Upload component. • Run Flows
An API name is generated when you label your flow. You need the API name to connect the
flow to the Field Service mobile app.
909
Salesforce Field Service Customize the Field Service Mobile App
Because the API name of the service report flow is unique, you can have only one Service_Report_Flow at a time.
SEE ALSO:
Flow Builder Tour
Flow Screen: File Upload
Trailhead: Customize User Settings
Guidelines for Capturing Signatures
910
Salesforce Field Service Customize the Field Service Mobile App
3. In Object Manager select Work Order or Work Order Line Item, depending on which layout you want to use.
4. Click Buttons, Links, and Actions.
5. Click New Action and set the Action Type to Flow.
6. Set the Flow dropdown to the Flow Label name.
7. Enter the text you want to appear in the app for the name field. Remember this name for future steps.
8. Save your work.
9. In Object Manager, search for Work Order and select Page Layouts.
10. Click the page layout you want to modify, then select Mobile and Lightning Actions.
11. Find the action you created by searching for the name you entered in the name field.
12. Drag your action to the Salesforce Mobile and Lightning Experience section of your layout.
13. Save your layout.
• When the mobile worker is traveling toward the first appointment of the day or traveling to The Field Service core
their next appointment. features, managed
package, and mobile app
The traveling status change for the first appointment is triggered only if the mobile worker:
are available in Enterprise,
– Has traveled 80% of the distance to the service appointment. Unlimited, and Developer
– Is traveling within 1 hour before the appointment is scheduled to start. Editions.
• When the mobile worker arrives at the location of the appointment. To access the Field Service
mobile app, users need the
• When the mobile worker has finished an appointment. If another appointment is on the schedule,
Field Service Mobile user
the next appointment’s status changes to En Route, regardless of the mobile worker’s distance license.
from the appointment or the time remaining before the appointment starts.
Before you begin:
USER PERMISSIONS
• Make sure that your mobile workers set the location permission on their device to Always.
To customize Automatic
• Automatic Status Change only supports the default list view. To show service appointments
Status Change settings:
for one mobile worker in the default list view, in the Owner filter, select My Service
• Customize Application
Appointments.
1. From Setup, in the Quick Find box, enter Field Service Mobile, and then select Field
Service Mobile Settings.
2. Edit the required settings.
3. Scroll down to the Automatic Status Change settings.
911
Salesforce Field Service Customize the Field Service Mobile App
4. Select a mode.
Timed The mobile worker can cancel or confirm the change. If no action is taken, the status
changes when the timer ends.
Automatic The mobile worker is informed about the change after it happens.
5. For Radius in Meters, enter the service appointment radius (100–5,000 meters) that can trigger status changes.
6. For Time Limit in Minutes, enter the amount of time (1–60 minutes) before an appointment’s scheduled start time or actual end
time that can trigger a status change.
7. For Cancellation or Dismissal Timer in Seconds, enter the duration (10–600 seconds) that the timer is visible. After this time, the
status changes automatically and can’t be canceled. This setting is only for Timed mode.
8. For Traveling Status, enter the status that indicates that a mobile worker is traveling to a service appointment.
9. For On-Site Status, enter the status that indicates that a mobile worker is at a service appointment.
10. For Completed Status, enter the status that indicates that a mobile worker completed a service appointment.
11. Save your changes.
Consider these points when you’re setting up Automatic Status Change.
• If you’re using Automatic Status Change and Appointment Assistant Real-Time Location, it’s recommended to enter a small radius
in Radius in Meters. A small radius ensures that Appointment Assistant customers can see the mobile worker’s location up until the
worker’s close to the appointment.
• If you’re using mobile flows, Automatic Status Change can cause a conflict with these flows. It’s recommended to run status-related
flows on the server.
SEE ALSO:
Automatic Status Change
Configure Field Service Settings
Add Flows to the Field Service Mobile App
912
Salesforce Field Service Customize the Field Service Mobile App
To customize layouts:
• Customize Application
913
Salesforce Field Service Customize the Field Service Mobile App
Note: The expanded view of the related list indicates that the appointments are sorted by due date, even if the order is
determined by the Appointment Bundle Sort Policy.
914
Salesforce Field Service Customize the Field Service Mobile App
Note: Don’t use the arrow that changes the order of the appointments according to a specific column. The arrow overrides the
order determined in the Appointment Bundle Sort Policy.
SEE ALSO:
Create an Appointment Bundle Sort Policy
USER PERMISSIONS
915
Salesforce Field Service Customize the Field Service Mobile App
6. Click Save.
7. Enter a label.
API Name is populated based on the label you entered.
8. Save the flow.
916
Salesforce Field Service Customize the Field Service Mobile App
3. Create a resource for the geolocation-based action that’s triggered when the mobile worker enters the geofence.
a. For Resource Type, select Variable.
b. Enter an API name, for example, EnterGeolocationAction.
c. For Data Type, select Record.
d. For Object, find and select Geolocation Based Action.
e. Select Available for Input and Available for Output.
4. Create a resource for the geolocation-based action that’s triggered when the mobile worker exits the geofence.
a. For Resource Type, select Variable.
b. Enter an API name, for example, ExitGeolocationAction.
c. For Data Type, select Record.
d. For Object, find and select Geolocation Based Action.
e. Select Available for Input and Available for Output.
917
Salesforce Field Service Customize the Field Service Mobile App
2. Add a Decision element that checks whether an assigned service resource exists.
a. Enter a label, for example, Is Service Resource Assigned?.
b. Enter an API Name, for example, IsServiceResourceAssigned.
c. Set up the decision so that the flow ends if there’s no assigned resource and continues if there’s an assigned resource. To
determine whether an assigned resource exists, for Resource, find and select the variable that you created for the assigned
resource record. In our example, that’s the AssignedResourceRecord variable. For Operator, select Is Null, and for Value, find and
select False.
4. Add a Decision element that checks whether there are any geolocation-based actions that are associated with this service resource.
a. Enter a label, for example, Has Geolocation-Based Actions?.
b. Enter an API Name, for example, HasGeolocationBasedActions.
c. Set up the decision so that the flow ends if actions exist and continues if none exist. To determine whether an action exists, for
Resource, find and select the variable that you created for the collection of geolocation-based actions. In our example, that’s the
GeolocationActions variable. For Operator, select Is Null, and for Value, find and select True.
5. Add a Create Records element for the actions that are triggered when the mobile worker enters a geofence.
918
Salesforce Field Service Customize the Field Service Mobile App
Note: To find the API name of a quick action, in Object Manager, open the Service Appointment object and click Page
Layouts. Open the mobile worker’s page layout and hover over the required quick action. The API name is shown as the
name of the action in the tooltip. In this example, the API name is ServiceAppointment.SendEmail.
f. For the value of ActionType, find and select Platform Alert, Quick Action or View Record.
g. Enter a name.
h. For the value of Radius, enter the number of meters from a service appointment that triggers the action.
i. For the value of TriggerType, find and select Enter.
j. Add the ReferenceRecordId field. For Value, find and select the service appointment record, and then find and select Service
Appointment Id. The value looks like this when you click on it: {!$Record.Id}.
k. Select Manually assign variables.
l. For Variable, find and select the variable that you created for the geolocation-based action that’s triggered when the mobile
worker enters the geofence. In our example, that’s the EnterGeolocationAction variable. Then, find and select the ID of the
geolocation-based action. The value looks like this example when you click on it: {!EnterGeolocationAction.Id}.
6. Add a Create Records element for sharing the actions that are triggered when the mobile worker enters a geofence.
a. Enter a label, for example, Create Enter Action Share.
b. Enter an API Name, for example, CreateEnterActionShare.
c. For How to set record field values, select Manually.
d. For Object, find and select Geolocation Based Action Share.
e. For AccessLevel, find and select Read/Write.
f. Add the ParentId field. For Value, find and select the variable that you created for the geolocation-based action that’s triggered
when the mobile worker enters the geofence. In our example, that’s the EnterGeolocationAction variable. Then, find and select
the ID of the geolocation-based action. The value looks like this example when you click on it:
{!EnterGeolocationAction.Id}.
919
Salesforce Field Service Customize the Field Service Mobile App
g. Add the RowCause field. For Value, find and select Manual Sharing.
h. Add the UserOrGroupId field. For Value, find and select the variable that you created for the assigned resource record. In our
example, that’s the AssignedResourceRecord variable. Then, add ServiceResource, RelatedRecord, and User Id. The value looks
like this example when you click on it: {!AssignedResourceRecord.ServiceResource.RelatedRecord.Id}.
7. Add a Create Records element for the actions that are triggered when the mobile worker exits a geofence.
a. Enter a label, for example, Create Exit Action.
b. Enter an API Name, for example, CreateExitAction.
c. For How to set record field values, select Manually.
d. For Object, find and select Geolocation Based Action.
e. For ActionData, enter the JSON format of the action.
If this flow opens a record, enter the ID of the record, for example, {"viewRecord": "1WLxx000000003FGAQ"}.
If this flow launches a quick action, enter the API name of the quick action as it’s shown in the page layout, for example,
{"quickAction": "Global.LogACall"}. Quick actions must be of type Flow, Lightning Web Component, or Create
and Update Record.
Note: To find the API name of a quick action, in Object Manager, open the Service Appointment object and click Page
Layouts. Open the mobile worker’s page layout and hover over the required quick action. The API name is shown as the
name of the action in the tooltip. In this example, the API name is ServiceAppointment.SendEmail.
f. Enter a name.
g. For the value of Radius, enter the number of meters from a service appointment that triggers the action.
h. For the value of TriggerType, select Exit.
i. Select Manually assign variables.
j. For Variable, find and select the variable that you created for the geolocation-based action that’s triggered when the mobile
worker exits the geofence. In our example, that’s the ExitGeolocationAction variable. Then, add the Geolocation Based Action
ID. The value looks like this example when you click on it: {!ExitGeolocationAction.Id}.
8. Add a Create Records element for sharing the actions that are triggered when the mobile worker exits a geofence.
a. Enter a label, for example, Create Exit Action Share.
b. Enter an API Name, for example, CreateExitActionShare.
c. For How to set record field values, select Manually.
d. For Object, find and select Geolocation Based Action Share.
e. Add the RowCause and UserOrGroupId fields. For the values of AccessLevel, RowCause, and UserOrGroupId, enter the same
values that you entered in the Create Exit Action element.
920
Salesforce Field Service Using the Field Service Mobile App
f. Add the ParentId field. For Value, find and select the variable that you created for the geolocation-based action that’s triggered
when the mobile worker enters the geofence. In our example, that’s the EnterGeolocationAction variable. Then, find and select
the ID of the geolocation-based action. The value looks like this example when you click on it:
{!ExitGeolocationAction.Id}.
SEE ALSO:
Geolocation-Based Actions
Add the Field Service Mobile Widget The Field Service core
You can add the Field Service mobile widget along with the Field Service mobile app on iOS features, managed
devices. package, and mobile app
are available in Enterprise,
Search for Records Unlimited, and Developer
Use the Search tab to search for records. Editions.
Work with Offline Priming in the Field Service Mobile App To access the Field Service
Equip your workforce with the Field Service mobile app’s offline capability so that they can mobile app, users need the
complete tasks regardless of network availability. Field Service Mobile user
license.
In-App Profile Settings in the Field Service Mobile App
Click the gear icon in the top right-hand corner of the Profile tab to view pending uploads,
manage linked accounts, and provide feedback to Salesforce about the app.
Use Time Sheets in the Field Service Mobile App
View time sheets, log working hours, and submit time sheets for approval on the go.
Chatter in the Field Service Mobile App
Collaborate on field service jobs using Chatter. Feed tracking must be enabled to display the Feed tab.
Create Service Reports in the Field Service Mobile App
Service reports summarize the work that was performed by a customer, and can be signed by the mobile worker, customer, and
others involved in the work. Learn how to configure the Field Service mobile app to support service report generation and review
important considerations about offline service reports and service report previews.
View Knowledge Articles in the Field Service Mobile App
Knowledge articles can be attached to work orders, work order line items, and work types to share product specs, instructions, and
guidelines with your team.
Create Resource Absences in the Field Service Mobile App
Resource absences indicate when a service resource is unavailable to work. During schedule optimization, service resources aren’t
assigned to appointments that conflict with their absences. View and manage absences from the Profile tab in the app. Or view
work and absences together in the Schedule tab.
921
Salesforce Field Service Using the Field Service Mobile App
View and Complete Work Plans on the Field Service Mobile App
Front-line workers can use the Field Service mobile app to view and complete work plans. Using the Work Plans tab, they can
complete assignments quickly and accurately.
Automatic Status Change
Receive in-app updates that notify you of automatic status changes.
Manage Bundled Service Appointments on the Field Service Mobile App
You can view and report your progress on one or more bundled service appointments.
Note: When using the iOS app with iOS 13 or later, the location permission request allows the app to track the location only while
the app is being used. To track the location while the app is in the background, set this value to Always from the device’s Settings
app (Settings > Field Service > Location).
SEE ALSO:
Field Service Mobile App Requirements
Give Users Access to the Field Service Mobile App
Customize the Apex Login Controller
922
Salesforce Field Service Using the Field Service Mobile App
SEE ALSO:
Apple Guide: How to add widgets on your iPhone
Set Up the Field Service Mobile Widget (Beta)
923
Salesforce Field Service Using the Field Service Mobile App
USER PERMISSIONS
924
Salesforce Field Service Using the Field Service Mobile App
Note: When you sort by distance, the 50 last modified records are loaded and only then sorted according to distance, and
it’s possible that you can’t see the most accurate results. For example, if you sort service appointments according to Closest
Location and the service appointment with the shortest distance hasn’t been modified recently, it’s possible that it doesn’t
appear in the results.
SEE ALSO:
Set Up the Search Tab
SEE ALSO:
Field Service Mobile App Considerations
Briefcase Builder
Download the Field Service Connected App
925
Salesforce Field Service Using the Field Service Mobile App
926
Salesforce Field Service Using the Field Service Mobile App
usage and decreased performance. To ensure that your data cache remains up to date, sync data frequently, especially if you
work offline often.
– Schedule update frequency time: This setting controls how frequently the user’s schedule is checked for updates. Consider using
the highest value to reduce data usage. Additionally, schedule updates can be triggered from push notifications to further reduce
data usage. If a large volume of data exists, priming can take a while from the initial app launch or after a user logs on to the
app.
Offline Considerations
• The Field Service mobile app and LWCs don’t have a reliable way to detect online or offline status, as connectivity can change
frequently and mobile signals are often unreliable. Our goal is to make sure that LWCs function offline first, treating offline use as a
normal condition, not a failure. We recommend designing components with this consideration in mind.
• The Field Service mobile app automatically preloads (primes) data for offline use. You can customize your priming strategy with
Briefcase Builder by creating briefcase definitions tailored to your users’ needs.
• The app also primes essential metadata. For example, custom object and field definitions, page layouts, quick actions, flow metadata,
and other Salesforce metadata, including the necessary LWC code for offline apps. While the app doesn’t have specific knowledge
of your custom LWC features, it analyzes and loads relevant objects, layouts, and components. To improve this process and boost
performance, follow the Mobile and Offline Developer Guide.
• During priming, you can use your device for other tasks, but download start times vary: Android devices download records immediately,
while iOS devices sometimes download records with a delay.
927
Salesforce Field Service Using the Field Service Mobile App
Work
Order
Line
Item
(WOLI)
(parent
of SA on
schedule
list or
child of
WO
that’s a
parent of
SA on
schedule
list)
Asset
(child of
WO that
is parent
of SA on
schedule
list)
928
Salesforce Field Service Using the Field Service Mobile App
Object Record Object Page/Compact/Search Reference Related list Related list Actions Files
data spec layout data (list only) (details) (attached (content
LWCs) document
only)
Case,
Contact,
AssignedResource
(child of WO
that is parent
of SA on
schedule list)
Object X When
(child of referencing
WO/WOLI an object
that is parent with record
of SA on data object
schedule spec, and
list). (Any page layout
other object data that’s
not primed
mentioned
before.)
Object X When
(child of SA referencing
on schedule an object
list) with record
data, object
spec, and
page
Object Y
(child of
child [level 3]
of WO that is
parent of SA
on schedule
list). (Only if
referenced
by objects
not explicitly
mentioned
before.)
Object Z
(WO ->
object x ->
object y ->
object z)
929
Salesforce Field Service Using the Field Service Mobile App
Object Record Object Page/Compact/Search Reference Related list Related list Actions Files
data spec layout data (list only) (details) (attached (content
LWCs) document
only)
Service
Reports 1.0
Service
Documents/
Service
Reports 2.0
Feeds for
asset, case,
WO, product
request,
product
request line
item, SA
Knowledge
articles
Timesheets,
Timesheet
Entry
Flows
• All Field Service flows in Field Service mobile settings are primed.
• Subflows referenced explicitly by a Field Service flow are primed.
• Records referenced by flows aren’t primed.
930
Salesforce Field Service Using the Field Service Mobile App
Why did my draft fail to sync? A draft can fail to sync for several reasons.
• The draft failed to pass validation checks on
a custom object or field value. These checks,
which occur only on the server, can involve
one or multiple fields.
• There were conflicting changes to the
record since the draft was created. For
example, if a draft references or modifies a
record that was deleted, the sync fails.
• Drafts sync to the server in the order that
they were created. If one draft fails, the
931
Salesforce Field Service Using the Field Service Mobile App
How are sync conflicts handled? When a sync conflict occurs, the most recent change uploaded to
the Salesforce server takes precedence. If a conflict arises during
the upload, the Pending Uploads queue pauses. Because
subsequent changes in the queue can depend on the prior change,
you must resolve the conflict before the queue can process further.
To resolve a conflict, either delete the pending upload or, where
possible, tap items to edit the data.
How are appointment changes handled? Mobile workers can receive new or updated appointments. When
appointment schedules change, mobile workers receive a text
notification, If the app is in the foreground or background when
the mobile worker gets a notification, the service appointment is
automatically primed. If the app isn’t running, the service
appointment and any associated records aren’t updated and
primed until the mobile worker opens the app and taps the
notification.
How do I resolve priming errors? If a network error occurs during priming, an error message appears,
and priming stops. Use the offline priming UI to resync your data
after connectivity is restored. Priming can also stop if the server
receives too many requests. In this case, retry your request after a
short break to allow the server to catch up. If an ID error message
occurs in Briefcase Builder, it indicates that the ID isn’t set correctly.
Contact your Salesforce admin or Salesforce Customer Support for
assistance.
How do I get quick actions to show in the Actions launcher when To display quick actions in the Actions launcher, add the quick
I view a record? action to the object’s main layout. After the quick action is added,
it appears for any record in the object’s main layout. To
conditionally navigate users to specific screens, configure LWCs to
show links or buttons based on certain conditions. See Create Quick
Actions for the Field Service Mobile App on page 899.
932
Salesforce Field Service Using the Field Service Mobile App
933
Salesforce Field Service Using the Field Service Mobile App
SEE ALSO:
Add a Profile Tab Background Image in the Field Service Mobile App
Field Service Mobile App Considerations
934
Salesforce Field Service Using the Field Service Mobile App
• To give the best performance and offline experience, users can't update time sheets that are pending or approved. If your workflow
allows these changes, you can use a quick action or flow to update the status.
SEE ALSO:
Create Time Sheet Templates
Get Started with Field Service Time Sheets
Create Time Sheet Templates
Time Sheet Fields
935
Salesforce Field Service Using the Field Service Mobile App
5. (Recommended) Select a service report template in the Service Report Template field on each To access the Field Service
work type in your org. mobile app, users need the
Field Service Mobile user
Create a Service Report in the App license.
To create a service report in the app, navigate to a service appointment, work order, or work
order line item. Tap the action icon, then tap Create Service Report. If the service report
USER PERMISSIONS
template includes a signature section, you’re prompted to Sign & Confirm. If there isn’t a
signature section, only a Confirm option appears. To create or edit a Service
In Android, the Create Service Report action appears on the Service Reports card. If a work order Report Template:
already has a service report, users can edit the existing report, but can’t create additional reports. • Customize Application
A service report is translated in the language selected in the Service Report Language field on
the associated work order. If that field is blank, the report uses the default language of the person generating the report. To add
languages, from Setup, in the Quick Find box, enter Translation Language Settings, and select it. Click Edit next to
the desired language, then click Active. To add a user as a translator for the language, select them from the available list and click
Add, then save your changes.
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 can’t select a template when creating a service report in the mobile app. Instead, a template is selected based on this
order:
1. The work order template
2. The work type template
3. The standard template
936
Salesforce Field Service Using the Field Service Mobile App
– Although users can make an offline request to generate a service report, the final PDF is created only when the user’s device
is online.
– The app doesn’t automatically get the latest data before generating a service report preview, so data in service report previews
can be out of date. This limitation applies to online and offline service report previews.
– If a reference field exceeds the maximum priming depth of 2, it isn’t populated.
– Formula field values can 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 can differ between the preview and the printed report.
• If a service report template includes a related list, the list populates only if it's on the page layout of the record that the
service report is being generated for.
• 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.
SEE ALSO:
Create Field Service Report Templates
Customer Signatures on Service Reports with a Flow
937
Salesforce Field Service Using the Field Service Mobile App
• (iOS only) If images in knowledge articles are hosted outside of Salesforce, they display normally.
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.
• (iOS only) Some knowledge articles of supported UI languages, such as Japanese, don't show in the Field Service mobile app.
• (Android only) The Knowledge Article action isn’t visible on the Work Order Overview screen. View knowledge articles using the
related list.
• (Android only) In Knowledge Article details, field names such as Title don’t display on Android devices.
• If a device is running in any of Salesforce’s 26 supported languages, the app automatically translates knowledge articles to that
language. If the device isn’t running in a supported language, no knowledge articles are shown.
• Settings for optimized images are supported in files uploaded in mobile flows, but aren’t applied to images uploaded in the Chatter
Feed.
SEE ALSO:
Salesforce Knowledge
Customize Work Order Settings for Field Service
Set Up Knowledge for Work Orders
Attach Knowledge Articles to Work Orders or Work Types
938
Salesforce Field Service Using the Field Service Mobile App
1. Add the Absences related list to the service resource page layout, and customize its fields as The Field Service core
needed. features, managed
package, and mobile app
Note: The date picklist values on resource absences are based on the Picklist are available in Enterprise,
Time Interval in Minutes setting on the Field Service Mobile Settings page Unlimited, and Developer
in Setup. Editions.
2. Add the "Non Availability" record type to user profiles. To access the Field Service
mobile app, users need the
a. From Setup, in the Quick Find box, enter Users, and then select Profiles.
Field Service Mobile user
b. Select the user profile that you want to add the record type to. license.
c. Under Apps, select Object Settings.
d. Select Resource Absences and click Edit. USER PERMISSIONS
e. Next to Non Availability, select the circle for Default Record Type. The checkbox for Assigned To view, create, edit, or
Record Type is automatically filled in. delete resource absences:
• Read on service
Note: For resource absences created from the app to be considered for schedule
resources
optimization, Non Availability must be selected as the default record type.
To customize the page
f. Click Save. layout:
• Customize Application
3. Optionally, hide certain resource absence types in the app.
To customize Field Service
a. From Setup, in the Quick Find box, enter Connected Apps, and then select Manage mobile settings:
Connected Apps. • Customize Application
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, and then
click Save.
For example, if you want to hide meetings and trainings, you would enter "Meeting,Training".
4. To control how many resource absences are displayed in the app, set a date range in Field Service Mobile Settings.
a. From Setup, in the Quick Find box, enter Field Service Mobile Settings, then select Field Service Mobile
Settings.
b. Edit the mobile setting configuration, then choose values for the Future Days in the Date Picker and Past Days in the Date
Picker fields. For example, select 7 days in the past and 30 days in the future so workers can see absences in the prior week and
the month ahead.
939
Salesforce Field Service Using the Field Service Mobile App
5. Optionally, combine resource absences with the work items on the Schedule tab. Mobile workers get an integrated view of the
schedule. Desktop users don’t see absences added to Service Appointment list views.
a. From Setup, in the Quick Find box, enter Field Service Mobile Settings, then select Field Service Mobile
Settings.
b. Edit the configuration where you want to add absences to the schedule, and select Display resource absences in the Schedule
page.
c. Save your changes.
SEE ALSO:
Create Service Resource Absences for Field Service
Service Resource Fields for Field Service
940
Salesforce Field Service Using the Field Service Mobile App
View and Complete Work Plans on the Field Service Mobile App
Front-line workers can use the Field Service mobile app to view and complete work plans. Using
EDITIONS
the Work Plans tab, they can complete assignments quickly and accurately.
The Work Plans tab displays all the work plans associated with a work order and its related work Available in: Lightning
order line items. Experience
Note: If a work order doesn’t have related work plans, the Work Plans tab is hidden. The Field Service core
features, managed
1. On the home screen of the Field Service app, tap a service appointment. package, and mobile app
2. To view the work plans associated with your work order and all its related work order line items, are available in Enterprise,
Unlimited, and Developer
tap the Work Plans tab. If the tab doesn’t show right away, pull down to refresh the work order
Editions.
page.
Work plans associated with a work order are grouped and displayed first on the Work Plans tab. When the managed
Work plans associated with work order line items are grouped by their parent work order line package is installed,
item and displayed at the bottom of the Work Plans tab. The work order line item ID is displayed scheduling and optimization
in the work plan header. consider shift availability.
Confirmed shifts appear on
Note: You can view the work plans and work steps associated with a work order and its the Gantt.
work order line items using the work order’s Related tab. You can also view work plans
related to work order line items from the Work Plans tab on the work order line item’s
USER PERMISSIONS
page.
To view and update work
3. Expand a work plan to view its details and its associated work steps. plans:
4. On the work plan, view the progress of the work plan on the progress ring. The progress ring • Read and Update
is updated based on the real-time progress of the work plan. permissions on the work
plans object
5. To edit or view the details of a work plan, tap the overflow menu of the work plan.
To run flows associated with
6. On the work step, view the status of a step on the step’s status icon. You can also view different work steps:
fields associated with the step. • Run Flows permission or
the Flow User field
Note: If more than one field is displayed for a work step and the text in the first field is enabled on the user
long, the second field doesn’t display. detail page
7. To view the details page of a work step, tap the name of the step. Here, you can find the
description and other information related to the step.
8. To edit the information on the work step detail page, tap the overflow menu of a work step, and select Edit Work Step. From the
overflow menu, you can also mark a step Not Applicable or Complete.
Note: If you don’t have permission to edit a work plan, a lock icon is displayed for all its associated work steps. The lock
icon indicates that you can view these steps but you can’t update the status or other fields on the step.
9. To mark a work step’s status completed, tap the gray circle next to the work step name, or select Complete on the work step’s
overflow menu.
If the step is a simple instruction such as “Put on your safety gear”, we mark the step’s status as completed. If the step includes a
quick action or a field service mobile flow, selecting Complete starts it.
Note: If a step includes a quick action or flow, an action icon is displayed next to the status icon. The action icon indicates
that an action or flow starts after tapping Complete. If a step’s quick action or flow fails to load, an error icon is displayed
next to the status icon.
941
Salesforce Field Service Using the Field Service Mobile App
When a flow or quick action is completed, we change the status of the work step to Complete. Completed work steps remain on
the work plan record. To let mobile workers manually override work step autocompletion, from Setup, go to Work Plans. Select
Manually update a work steps status when flows are launched. Work steps default to autocomplete when this setting isn’t
selected.
Note: Tapping a completed work step relaunches the quick action or flow associated with that step. Tapping a completed
work step with no associated quick action or flow resets the status of that step to New.
10. You can set different statuses to a work step by tapping the overflow menu of the step and selecting Edit Work Step.
Note: To edit a work step, turn on Enable Full Edit on Records under Field Service Mobile Settings.
On the Status section of the details page, select the relevant status, and tap Save.
SEE ALSO:
Create Field Service Work Plans
View and Complete Work Plans
Quick Actions
Flows
USER PERMISSIONS
To change statuses:
• Field Service Mobile
License
• Timed—A prompt appears to suggest a status update, and the progress bar indicates the
time that remains before the status is updated. To accept the suggestion, click Update
Status. To update the status later, click Cancel.
942
Salesforce Field Service Using the Field Service Mobile App
• Automatic—A prompt appears to notify you that the status was updated.
2. When you leave the area of the service appointment, update the appointment’s status according to the mode your company uses
for status updates.
• Manual—A prompt appears to suggest status updates for your previous and next appointments. To accept the suggestions,
click Update Statuses. To update the statuses later, click Cancel.
943
Salesforce Field Service Using the Field Service Mobile App
• Timed—A prompt appears to suggest status updates for your previous and next appointments. The progress bar indicates the
time that remains before the statuses are updated. To accept the suggestions, click Update Statuses. To update the statuses
later, click Cancel.
• Automatic—A prompt appears to notify you that the statuses of your previous and next appointments were updated.
944
Salesforce Field Service Using the Field Service Mobile App
3. Your service appointment statuses are updated until you finish work for the day.
Consider these points when you’re using Automatic Status Change.
• If you’re on your way to your next service appointment outside of the time frame, you’re prompted to update your status manually.
• If you’re offline when you update a status, the change is synced when you’re back online.
• The prompts appear only if the app is open. When the app is closed, the updates appear as notifications.
SEE ALSO:
Set Up Automatic Status Change
945
Salesforce Field Service Using the Field Service Mobile App
USER PERMISSIONS
2. Tap a bundle.
946
Salesforce Field Service Using the Field Service Mobile App
Note: The fields shown for each bundled service appointment are based on the fields selected in the Bundle Member Service
Appointments related list search layout on the Service Appointment object.
4. Edit a single bundled service appointment to update the status, or update multiple appointments together.
a. Tap .
b. Select the bundled service appointments, and tap Update Status.
947
Salesforce Field Service Improve Operations with Field Service Intelligence
948
Salesforce Field Service Field Service Intelligence Considerations and Requirements
SEE ALSO:
Set Up and Maintain Data Cloud
Set Up Service Cloud Basics
949
Salesforce Field Service Field Service Intelligence Considerations and Requirements
You can change the schedule or refresh the data as needed on the app management tab. For more information, see Change Your
Intelligent App Settings.
SEE ALSO:
Batch Data Transforms
Resources
The app assets are listed under Resources on the Setup page for your app after successful installation. These include Data Cloud data
transforms and data model objects (DMO) and CRM Analytics dashboards and components. When you select an asset, it opens in its
respective tool for detailed inspection.
SEE ALSO:
Sales and Service Bundle Data Mappings
950
Salesforce Field Service Field Service Intelligence Setup
Note: Data Cloud must be enabled and setup in order to start these steps. For more information, see Set Up and Maintain Data
Cloud.
From Setup, in the Quick Find box, enter Field Service Intelligence, and then select Field Service Intelligence. This
setup page leads you through everything you need to do for the successful installation of Field Service Intelligence.
As you progress through the setup steps, refresh the page to update the steps that are complete.
951
Salesforce Field Service Field Service Intelligence Setup
Note: For Summer ‘24, Field Service Intelligence supports only an internal Salesforce connection.
1. On the Field Service Intelligence setup page, click Connect for the Create the Data Cloud Salesforce CRM Connection step.
2. Ensure you have an internal Salesforce connection.
a. If no connections are listed, click Connect. Then click Connect again for the Salesforce org.
b. If connections exist, make sure that you have a connection to the Salesforce org. If you don’t, click New and then click Connect
for the Salesforce org.
Your Salesforce org is now connected as a data source and data action target.
SEE ALSO:
Set Up the Salesforce CRM Connection
Note: The Service Cloud object settings and system permissions may already be enabled, making these steps a checklist to ensure
the Data Cloud Salesforce Connector is set up correctly.
1. From Setup, in the Quick Find box, enter users, and then select Permission Sets.
2. Click Data Cloud Salesforce Connector.
3. Select Object Settings.
4. Click Cases and then click Edit.
5. For Business Hours and Closed When Created, select Read Access and save.
6. Click Object Settings and select Survey Subjects
7. Click Edit.
8. Under Object Permissions, select View All, and save.
9. Click Permission Set Overview and select System Permissions.
952
Salesforce Field Service Field Service Intelligence Setup
10. Click Edit, select View Roles and Role Hierarchy, and save.
4. Select Data Bundles, then select the Service data bundle, and click Next.
5. Select the default data space and click Next.
The installed objects and fields are displayed. Don’t remove the data objects, fields, or mappings because Field Service Intelligence
relies on the standard installation to populate the dashboards correctly.
6. Click Deploy
The Service data bundle deploys over 20 data streams. The Data Streams tab displays the progress. When the data streams show an
Active status, you’re ready to continue.
From the Setup menu, installed versions of Field Service Intelligence display as separate tabs. To view details about the app installation,
select an app tab. The app details include the installation status, a list of installation events, and the tasks for each event. You can schedule
app refreshes or refresh manually and see details of all the installed app resources like dashboards and data transforms. For more
information about app management, see Manage Your Intelligent Apps.
953
Salesforce Field Service Field Service Intelligence Setup
SEE ALSO:
Install Standard Data Bundles Powered by Data Kits
Data Streams in Data Cloud
2. Go back to the Field Service Intelligence setup page and click Enable for the Enable CRM Analytics step.
This step takes you to the Getting Started page for CRM Analytics, where you click Enable CRM Analytics.
4. Click Next.
954
Salesforce Field Service Field Service Intelligence Dashboards
Installing Field Service Intelligence can take a few minutes. To check the status, go to the App Install History page in Setup.
After Field Service Intelligence is successfully installed, assign the Field Service Intelligence User Permission Set to any users who need
access to the dashboards. The dashboards are accessible in both the Service app and the Service Console.
To access Field Service Intelligence dashboards from the Service app, go to the App Launcher and search for Field Service
Intelligence. Click Field Service Intelligence to open it. The tab doesn’t persist, so you must open Field Service Intelligence
from the App Launcher the next time you open the Service app.
To access Field Service Intelligence dashboards from the Service Console app, go to the Console App Navigation and click Edit > Add
More Items. Search for Field Service Intelligence and click the + sign to select it. Click Add 1 Nav Item and Save. The
next time you open the Console App Navigation, Field Service Intelligence displays in the list.
955
Salesforce Field Service Field Service Intelligence Dashboards
Availability (%) Average availability of assets based on the Availability field on the
Asset object.
Average time between Failures Average time between failures based on the Average Time Between
Failures field on the Asset object.
Reliability (%) Average reliability of assets based on the Reliability field on the
Asset object.
956
Salesforce Field Service Field Service Intelligence Dashboards
Unscheduled Downtime by product type You can view the average availability, reliability and unscheduled
downtime for each product type.
Total assets by product type Total number of assets sorted by product type.
957
Salesforce Field Service Field Service Intelligence Dashboards
KPI CALCULATION
Total Appointments Total number of service appointments.
Average travel time The estimated travel time from the assigned Resource object for
the appointment.
Average appointment duration The average number of minutes it takes to complete a service
appointment.
First time fix rate* The percentage of service appointments marked as Complete
versus the total number of appointments marked as Completed
and Cannot Complete over the specified time period.
Due date Total number of service appointments that are the past due date
without any activity or set status.
Service appointment by work type Total number of service appointments by work type.
958
Salesforce Field Service Field Service Intelligence Dashboards
KPI CALCULATION
Service appointment by time Total number of service appointments by day, week, month or year
based on scheduled start date.
959
Salesforce Field Service Field Service Intelligence Dashboards
Average Response Time The amount of time between when the work order was created
and when the service appointment was created and scheduled.
Average Completion Time The amount of time between when the work order was created
and when it was closed.
Work order by time Total number of work orders by day, week, or month based on the
created date.
Total Products Consumed Total from the Quantity Consumed field. The
source is the Product Consumed object.
Total Product Requests Total from the Quantity Requested field. The
source is the Product Request–Product Request
Line Item child object.
960
Salesforce Field Service Field Service Intelligence Dashboards
KPI CALCULATION
Products Required by Work Type Top products required sorted by work type. The source is the
Product Required object and looks up to the Work Type object.
Products Consumed Total product consumed sorted by product name. The source is
the product lookup.
Product Requests Most requested products listed in descending order. The source is
the Product Request–Product Request Line Item child object.
Product Requests by Status Product requests sorted by status. The source is the Product
Request–Product Request Line Item child object.
Note: These metrics are derived from the Service Resource object. To purchase Field Service
Einstein 1 Edition or as an
add-on, contact your
KPI CALCULATION Salesforce account
Total Active Resources Total number of service resources with an Active executive.
status.
Average Technician Utilization (%) Percentage of hours that resources work out of
their total available hours.
Average Travel Time (Hours) Estimated travel time for all resources.
Average Travel Distance Estimate from the Travel Time field on the
Assigned Resource object, which links the
Service Resource and Service Appointment
objects.
961
Salesforce Field Service Field Service Intelligence Dashboards
KPI CALCULATION
Technician Utilization Hours that a resource works out of their total available hours by
day, week, month, or year based on Scheduled Start Date.
Average Travel Time by Resource The estimated travel time from the assigned Resource object for
the appointment.
Average Travel Distance Average based on the Distance field on the Assigned Resource
object, which links the Service Resource and Service Appointment
objects.
962