---
schema_version: "1"
id: f5d014e270782da8a578b49245b8b10984e55433898f06f0aa4f3a8b20e0eabf
title: How the Workforce Scheduling Flow Grades Time Slots
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/wfs_schedule_field_flow_grading.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.wfs_schedule_field_flow_grading.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: bc7a9493beb14fd179b387f918f4cec79d0c740b3b9920eb1ae08b75cf952d02
description: When a user selects Schedule a New Appointment or Change Time Slot for a field appointment, the scheduling flow grades each available time slot against the active scheduling policy and tags the top options as Ideal or Recommended. This grading method applies to field appointments only.
products:
  - Public Sector
  - Service Cloud
release: "264"
---
# How the Workforce Scheduling Flow Grades Time Slots

When a user selects Schedule a New Appointment or Change Time Slot for a field appointment, the scheduling flow grades each available time slot against the active scheduling policy and tags the top options as Ideal or Recommended. This grading method applies to field appointments only.

### 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: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong> and <strong>Unlimited</strong> Editions</td></tr></tbody></table>

## How Grades Are Calculated

The grade reflects how closely the slot adheres to your organization’s business goals. Each candidate slot represents a service resource, a date, and an arrival window. The scheduling engine grades a slot in two stages.

First, the engine calculates the marginal cost of adding the appointment to that resource’s schedule—the difference between the resource’s schedule penalty with and without the new appointment. Only this delta drives the comparison, so pre-existing schedule load won’t affect the grade.

Next, the engine maps each slot’s penalty to a 1–100 grade. The slot with the lowest penalty anchors at 100. Other slots are graded relative to the top slot: (Best Penalty / Slot Penalty) × 100. Grades are set to a baseline minimum of 1, ensuring that even the worst slot isn’t scored 0.

Because grades are proportional to marginal cost, functionally similar slots receive similar grades. Two slots whose marginal costs differ by a small amount appear with grades that differ by a small amount, not by the full 100-point spread.

When the active scheduling policy has no objectives configured, grades aren’t meaningful. In that case, the engine suppresses grades and tags, and the slot list sorts by time.

## Search Range and Limits

The candidate search range is capped at 30 days from the appointment’s Earliest Start, regardless of the Due Date. The effective end date is whichever comes first: the appointment’s Due Date, or 30 days after its Earliest Start. Setting a Due Date further out than 30 days doesn’t return additional slots.

When the 30-day cap is in effect, the scheduling flow shows the effective end date so users can see the range that was actually searched.

## Reviewing Graded Time Slots

To simplify decision-making, the scheduling flow highlights the best available time slots with tags. The Ideal tag is applied to every slot that shares the highest grade in the candidate set—if multiple slots tie for the top grade, they all get the tag. The Recommended tag is applied to every slot that shares the second-highest distinct grade, giving users a reliable set of high-quality fallback options.

By default, graded slots are sorted from highest to lowest grade (**Sort by Score**). Users can switch to **Sort by Time** to order by start time, or narrow the list with **Filter by Date**. Tags stay attached to their assigned slots when the sort changes, so top options remain identifiable. Users can also switch the active scheduling policy inline. Selecting a different policy submits a new candidate search and returns a fresh set of graded slots.

When the search returns no available slots, users can adjust Earliest Start or Due Date and rerun the search, or switch to a different scheduling policy.

#### See Also

- [Create and Manage Scheduling Policies in Workforce Scheduling](https://help.salesforce.com/s/articleView?id=service.wfs_policies_manage.htm&release=264.0.0&type=5 "Scheduling policies combine work rules and service objectives to control which resources and time slots Workforce Scheduling assigns to each appointment. Work rules decide who’s eligible, and service objectives decide who’s the best fit. During scheduling and optimization, the engine applies these criteria against factors like resource skills, travel time, and urgency to make sure the right person is assigned to the right job efficiently.")
- [Guidelines for Creating a Workforce Scheduling Policy](https://help.salesforce.com/s/articleView?id=service.wfs_policies_guidelines.htm&release=264.0.0&type=5 "A well-designed scheduling policy delivers appointments to the right resources. Use these guidelines when you create a new field scheduling policy or before you copy a default policy for tuning.")
- [Fine-Tune a Workforce Scheduling Policy](https://help.salesforce.com/s/articleView?id=service.wfs_policies_tuning.htm&release=264.0.0&type=5 "In scheduling policies, you set weights to service objectives. These weights represent the importance of each objective when the engine generates an optimal schedule. You can fine-tune the weights through an iterative tuning process to set weight values in your scheduling policy that closely align with your business KPIs.")
- [Schedule, Reschedule and Unschedule Appointments](https://help.salesforce.com/s/articleView?id=service.wfs_schedule_reshedule_unschedule.htm&release=264.0.0&type=5 "Workforce Scheduling offers multiple ways to assign, adjust, and remove appointments from the Operations Console, record pages, and scheduling flows.")