---
schema_version: "1"
id: fd94ea7712b32732589593d3cc00116ba50d21d7ef508c181e171777bd347ac9
title: What’s Schedule Optimization?
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/pfs_optimization_theory_definitions.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.pfs_optimization_theory_definitions.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 3d196cd4412472e7cd44e6bddc35ba8eba9883082a8343c5e9c3f4645091d751
description: Manually constructing an efficient field service schedule can drive even the most serene administrator to madness. Field Service optimization transforms traditional scheduling by automatically generating the ideal schedule based on your specific constraints and priorities. Field Service offers unparalleled flexibility and innovative, out-of-the-box solutions, enabling businesses of all types and sizes to tailor their organizational models for seamless schedule optimization.
products:
  - Field Service
release: "264"
---
# What’s Schedule Optimization?

Manually constructing an efficient field service schedule can drive even the most serene administrator to madness. Field Service optimization transforms traditional scheduling by automatically generating the ideal schedule based on your specific constraints and priorities. Field Service offers unparalleled flexibility and innovative, out-of-the-box solutions, enabling businesses of all types and sizes to tailor their organizational models for seamless schedule optimization.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: both Salesforce Classic (not available in all orgs) and Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">The Agentforce Field Service and Operations core features, managed package, and mobile app are available in <strong>Enterprise</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions.</td></tr></tbody></table>

![Package icon](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support_field_service-264-0-0-production-enus/3f7dceb9-dd70-454a-b49e-bbb4526a158d/support_field_service/images/fs_package.png) _This is a Field Service managed package feature._

## Optimization Options

Salesforce Field Service provides the tools to maintain schedule quality throughout the lifecycle of your service appointments. From initial creation through execution and closure, you have the flexibility to define the scope of optimization, whether it's for a single service resource’s schedule or for an entire service territory.

- **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 in the backgorund—for example, every night. 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 changes by rapidly optimizing your team’s schedule for one or more service territories on the day of service, and the days the follow.
- **Resource optimization**—Optimize an individual service resource’s schedule on the day of service.

## Terms to Know

Schedule optimization is based on several foundational building blocks that can be customized to your specific business needs.

 
| Component | Description |
| --- | --- |
| Scheduling policy | A fexible and code-free way to configure 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 filtering out 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 | Configurable directives that guide optimization to create an optimal schedule based on your scheduling priorities. You can weigh service objectives to prioritize one over another. Every schedule th eoptimizer creates is evaluated and scored. The score indicates how fully the objectives were met. The highest-scoring schedules are preferred. |

For a given time horizon, the optimizer evaluates and scores every schedule it creates. The optimizer compares overall scores for the different schedule iterations, chooses the schedule with the best score, and then assigns appointments accordingly.

Optimization can move appointments that were previously scheduled. For example, optimization can reassign an appointment when it finds a schedule with a better score or when it tries to [fix an overlap](https://help.salesforce.com/s/articleView?id=service.pfs_fix_overlaps_parent.htm&type=5&language=en_US). 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.

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.

#### See Also

- [Implement Field Service Enhanced Scheduling and Optimization](https://help.salesforce.com/s/articleView?id=service.fs_eso_overview.htm&release=264.0.0&type=5 "Field Service’s Enhanced Scheduling and Optimization replaces the optimization functionality and associated manual and semiautomatic scheduling services you’ve been using. The new architecture and services are more efficient and improve scalability, performance, and schedule quality. Built on the Hyperforce platform, Enhanced Scheduling and Optimization hosts innovative new functionality to take Salesforce Field Service to the next level. Learn more about setting up optimization and creating optimization jobs, explore optimization metrics, and get scheduling recommendations. Start your journey to Enhanced Scheduling and Optimization, with resources for every step of your way.")
- [Get Started with Schedule Automation and Optimization in Field Service](https://help.salesforce.com/s/articleView?id=service.pfs_get_started_sched_auto.htm&release=264.0.0&type=5 "Field Service provides several tools for automating and optimizing your workforce’s schedule. Learn about the benefits and differences of each method, when to use each tool, and how to set up schedule automation and optimization.")
- [How Does the Field Service Optimization Engine Work?](https://help.salesforce.com/s/articleView?id=service.fs_start_optimization.htm&release=264.0.0&type=5 "Need a few contractors onsite a week from now and need to know who’s available? Absolutely have to have a specialist arrive to a service location in an hour? What about a regularly scheduled appointment for both the contractors and the specialist to service the same location?")
- [Create and Manage Field Service Scheduling Policies](https://help.salesforce.com/s/articleView?id=service.pfs_scheduling.htm&release=264.0.0&type=5 "Scheduling policies in Salesforce Field Service define the rules and objectives (scheduling priorities) for assigning work to service resources. These policies optimize resource allocation by considering factors such as resource skills, job proximity, and urgency, to make sure the right person is assigned to the right job efficiently. By considering scheduling preferences such as minimizing travel time, scheduling as early as possible, and prioritizing preferred resources, scheduling policies improve operational efficiency and customer satisfaction.")