---
schema_version: "1"
id: ddec806041cfdc67a33b38c1df88f556411edd8638d9ff482abd4ed68b66467d
title: Set Up Sliding and Reshuffling for Scheduling and Appointment Booking
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/pfs_sliding_service_appointment.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.pfs_sliding_service_appointment.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 6fc0d4ef03e8f154342e416e216bdf5b2cc65b1a85090ec0a31ee12d40b8e8aa
description: Free up time for scheduling more appointments when using Field Service appointment booking and scheduling. With sliding, service appointments on the Gantt can move to an earlier or later time, within the resource’s availability for the same shift. By using reshuffling and sliding together, service appointments on the Gantt can also move to a different day or to a different resource. Reshuffling and sliding service appointments provide more time slot availability and faster SLA compliance and enable the scheduling of longer service appointments by reducing white spaces.
products:
  - Field Service
release: "264"
---
# Set Up Sliding and Reshuffling for Scheduling and Appointment Booking

Free up time for scheduling more appointments when using Field Service appointment booking and scheduling. With sliding, service appointments on the Gantt can move to an earlier or later time, within the resource’s availability for the same shift. By using reshuffling and sliding together, service appointments on the Gantt can also move to a different day or to a different resource. Reshuffling and sliding service appointments provide more time slot availability and faster SLA compliance and enable the scheduling of longer service appointments by reducing white spaces.

### 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: Available in Lightning Experience and Salesforce Classic in these editions where Field Service is enabled: <strong>Enterprise</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d168344e66">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d168344e66 ">To enable service appointment sliding:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d168344e66 ">Customize Application</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._

## Enable Service Appointments Sliding and Reshuffling When Using Enhanced Scheduling and Optimization

Watch the video to see how to free up time for a new service appointment when using appointment booking and scheduling operations by sliding service appointments on the Gantt to an earlier or later time, within the resource’s availability.

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 [Schedule Appointments by Using Priorities](https://help.salesforce.com/s/articleView?id=service.pfs_scheduling_priority.htm&release=264.0.0&type=5 "Prioritize appointments to schedule them even if your calendar is full. This way, you can schedule important appointments over less urgent ones. When you’re using Enhanced Scheduling and Optimization, and no time slot is available, appointments with lower or equal priorities can be unscheduled (dropped) and replaced by higher-priority appointments. When you’re not using Enhanced Scheduling and Optimization, and no time slot is available, lower-priority appointments can overlap with higher-priority appointments.").

Before you enable service appointment sliding and reshuffling, 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.

1. From the App Launcher, open the Field Service Admin app, and then click the **Field Service Settings** tab.
2. Select **Scheduling | General Logic**.
3. Under Sliding and Reshuffling select one of the options:
    1. Select **Sliding only** to enable service appointments to move between time slots for the same resource within the same shift. Sliding is the default value.
        
        Select **Enable complex work sliding by territory** for complex work chains scheduled to multiple resources (for example, same start appointments).
    2. 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.
    3. Select **None** prevents appointments on the Gantt from moving.
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.
- Users must have sharing access to all scheduled service appointments in the service territory where scheduling is requested to allow for sliding and reshuffling to occur.

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.
- If sliding and reshuffling is enabled, to increase the chances of finding availability, all resources in the service territory can be reshuffled.
    
    For example, there are three resources in the service territory with these skill sets:
    
    - John - Repair
    - Maria - Installation, Repair
    - Adam - Maintenance, InstallationA new repair appointment needs to be scheduled, but John and Maria are both fully booked. John is fully booked with repair work and Maria is fully booked with installation work. Adam is available to receive work but doesn’t have the Repair skill. By using the reshuffle action, installation appointments can be rescheduled from Maria to Adam, freeing up room in Maria’s schedule for the new repair appointment.
- 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.
- A service resource’s appointments are reshuffled to another day or to another resource only if there's no availability to schedule with sliding.
- When sliding and reshuffling is enabled and Get Candidates is used to find availability, if the selected available time is no longer available when the user clicks Schedule—due to changes made after the candidates were initially loaded—the system attempts to reshuffle appointments. If the new service appointment has a higher priority than existing appointments, the reshuffle process can drop another appointment to accommodate the new selection.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support_field_service-264-0-0-production-enus/3f7dceb9-dd70-454a-b49e-bbb4526a158d/images/icon_note.png)

Note Automatic rescheduling of dropped appointments only occurs when availability exists within the scheduling horizon of the appointment being scheduled. If available slots exist only outside the horizon, dropped lower-priority appointments return to unscheduled status and must be manually rescheduled. The scheduling horizon of the target appointment determines the rescheduling scope. For example, you're scheduling a high-priority appointment with a 7-day horizon and a lower-priority appointment is dropped to make room. If that dropped appointment has available slots on day 5 or 6, it’s automatically rescheduled. However, if available slots exist only on day 10 (outside the 7-day horizon), the appointment is dropped and returns to unscheduled status.

## 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](https://help.salesforce.com/s/articleView?id=service.pfs_booking.htm&release=264.0.0&type=5 "In Field Service, use the Book Appointment or Candidates Chatter actions to schedule and reschedule service appointments for work orders, work order line items, accounts, assets, leads, and opportunities, or from a service appointment itself. To reflect different visits, you can schedule one or more service appointments for a record.")
- [Schedule Appointments from the Classic Dispatch Console](https://help.salesforce.com/s/articleView?id=service.pfs_scheduling_manually.htm&release=264.0.0&type=5 "You can schedule service appointments from the Field Service Classic Dispatch Console by using the mass schedule action or by dragging them onto the Gantt.")
- [Schedule Appointments by Using Priorities](https://help.salesforce.com/s/articleView?id=service.pfs_scheduling_priority.htm&release=264.0.0&type=5 "Prioritize appointments to schedule them even if your calendar is full. This way, you can schedule important appointments over less urgent ones. When you’re using Enhanced Scheduling and Optimization, and no time slot is available, appointments with lower or equal priorities can be unscheduled (dropped) and replaced by higher-priority appointments. When you’re not using Enhanced Scheduling and Optimization, and no time slot is available, lower-priority appointments can overlap with higher-priority appointments.")
- [Get Ready for Field Service Scheduling and Optimization](https://help.salesforce.com/s/articleView?id=service.pfs_customization.htm&release=264.0.0&type=5 "Define your service appointment lifecycle, configure appointment booking settings, and get to know your Field Service scheduling policies, optimization settings, and sharing settings.")