---
schema_version: "1"
id: 27da079c573899dacffbc4db96ee0f26d971e975e4f506e6482775b20e51b6a7
title: Scheduling Policy Rules in Salesforce Scheduler
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/ls_scheduling_policies.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.ls_scheduling_policies.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: abb8ac6becb703bc993af197d31aca9504131fa6e0babbca681cccb1abfcddc9
description: Understand the scheduling policy rules that are available in Salesforce Scheduler.
products:
  - Scheduler
  - Salesforce Platform
release: "264"
---
# Scheduling Policy Rules in Salesforce Scheduler

Understand the scheduling policy rules that are available in Salesforce Scheduler.

### 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>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small " summary="Scheduling Policy Rules">
        <caption>Scheduling Policy Rules</caption>
        <colgroup>
          <col style="width:33.33333333333333%">
          <col style="width:33.33333333333333%">
          <col style="width:33.33333333333333%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d17189e71">Name</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d17189e74">Definition</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d17189e77">Usage</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d17189e71 ">Include Primary Service Territory Members</td>

            <td data-label="Definition" class="slds-cell-wrap" style="vertical-align:top;" headers="d17189e74 ">
              <p>Allow service resources who are primary or relocated members of a service territory to
                be assigned for appointments.</p>
              <p style="margin-bottom:0;">This option affects both primary and relocation types of
                service territory members. When you deselect this option, the primary and relocated members
                of the service territory are excluded from the list of service resources during appointment
                scheduling.</p>
            </td>

            <td data-label="Usage" class="slds-cell-wrap" style="vertical-align:top;" headers="d17189e77 ">At a minimum, ensure that you select these options for a scheduling policy: Include
              Primary Service Territory Members or Include Secondary Service Territory Members.</td>

          </tr>
          <tr class="">
            <td data-label="Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d17189e71 ">Include Secondary Service Territory Members</td>

            <td data-label="Definition" class="slds-cell-wrap" style="vertical-align:top;" headers="d17189e74 ">Allow service resources who are secondary members of a service territory to be
              assigned for appointments.</td>

            <td data-label="Usage" class="slds-cell-wrap" style="vertical-align:top;" headers="d17189e77 ">At a minimum, ensure that you select these options for a scheduling policy: Include
              Primary Service Territory Members or Include Secondary Service Territory Members.</td>

          </tr>
          <tr class="">
            <td data-label="Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d17189e71 ">Match Skills</td>

            <td data-label="Definition" class="slds-cell-wrap" style="vertical-align:top;" headers="d17189e74 ">Allow only required service resources who have certain skills to be assigned for
              appointments.</td>

            <td data-label="Usage" class="slds-cell-wrap" style="vertical-align:top;" headers="d17189e77 ">-</td>

          </tr>
          <tr class="">
            <td data-label="Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d17189e71 ">Match Skill Levels</td>

            <td data-label="Definition" class="slds-cell-wrap" style="vertical-align:top;" headers="d17189e74 ">Allow only required service resources who have certain skills and skill levels to be
              assigned for appointments.</td>

            <td data-label="Usage" class="slds-cell-wrap" style="vertical-align:top;" headers="d17189e77 ">
              <p>Always enter skill levels when you assign skills to service resources and work types.
                If you don’t enter skill levels when Match Skill Levels is enabled, then Salesforce
                Scheduler doesn’t consider the skills for skill matching and doesn’t show the service
                resources when scheduling appointments.</p>
              <p style="margin-bottom:0;">Select this rule and the Match Skills rule to
                enforce skill-level matching.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d17189e71 ">Include Only Required Service Resources</td>

            <td data-label="Definition" class="slds-cell-wrap" style="vertical-align:top;" headers="d17189e74 ">Allow only required service resources to be assigned for appointments.</td>

            <td data-label="Usage" class="slds-cell-wrap" style="vertical-align:top;" headers="d17189e77 ">Ensure that the account contains at least one resource preference (an account to
              service resource junction object) that’s set as <code>Required</code>. If no service resources have a resource preference set as <code>Required</code> for the account, then no service resources are
              shown.</td>

          </tr>
          <tr class="">
            <td data-label="Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d17189e71 ">Ignore Excluded Service Resources</td>

            <td data-label="Definition" class="slds-cell-wrap" style="vertical-align:top;" headers="d17189e74 ">Prevent excluded service resources from being assigned for appointments.</td>

            <td data-label="Usage" class="slds-cell-wrap" style="vertical-align:top;" headers="d17189e77 ">
              <p>Any service resources with a resource preference (an account to service resource
                junction object) that’s set as <code>Excluded</code> for the account
                aren’t shown. Service resources with <code>Preferred</code>, <code>Required</code>, or no account resource preference are
                shown.</p>
              <p style="margin-bottom:0;">Users can
                still schedule appointments with excluded resources by selecting either the <strong class="uicontrol">By
                  name</strong> or the <strong class="uicontrol">By previously scheduled service
                  appointments</strong> option on the Select Service Resources
                page.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d17189e71 ">Enforce Account’s Visiting Hours</td>

            <td data-label="Definition" class="slds-cell-wrap" style="vertical-align:top;" headers="d17189e74 ">Prevent users from scheduling appointments outside of an account’s visiting
              hours.</td>

            <td data-label="Usage" class="slds-cell-wrap" style="vertical-align:top;" headers="d17189e77 ">Only time slots that are within the account record’s operating hours are shown. The
              account must have operating hours defined for visiting hours to be enforced. If the account
              doesn’t have operating hours defined, all available time slots for a service resource are
              shown.</td>

          </tr>
          <tr class="">
            <td data-label="Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d17189e71 ">Appointment Start Time Interval</td>

            <td data-label="Definition" class="slds-cell-wrap" style="vertical-align:top;" headers="d17189e74 ">Required. The time interval in minutes between appointment start times. For example,
              if you set the interval as 15, appointments can then begin at the top of the hour and at
              15-minute intervals thereafter (10:00 AM, 10:15 AM, 10:30 AM). Valid values are 5, 10, 15,
              20, 30, 45, 60, 90, 120, 150, 180, 240, 300, 360, 420, and 480.</td>

            <td data-label="Usage" class="slds-cell-wrap" style="vertical-align:top;" headers="d17189e77 ">The default appointment start time interval is 30 minutes.</td>

          </tr>
          <tr class="">
            <td data-label="Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d17189e71 ">Check Salesforce Calendar for Resource Availability</td>

            <td data-label="Definition" class="slds-cell-wrap" style="vertical-align:top;" headers="d17189e74 ">Consider Salesforce calendar events when determining the availability of service
              resources for appointments.</td>

            <td data-label="Usage" class="slds-cell-wrap" style="vertical-align:top;" headers="d17189e77 ">For more information, see <a href="https://help.salesforce.com/s/articleView?id=platform.ls_read_salesforce_calendar.htm&amp;release=264.0.0&amp;type=5" title="Enable the Check Salesforce Calendar for Resource Availability scheduling policy rule if you want Salesforce Scheduler to avoid scheduling conflicts with manually created calendar events.">Check Salesforce Calendar to Determine Resource Availability</a>.</td>

          </tr>
          <tr class="">
            <td data-label="Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d17189e71 ">Check External Systems for Resource Availability</td>

            <td data-label="Definition" class="slds-cell-wrap" style="vertical-align:top;" headers="d17189e74 ">Consider external calendar events when determining the availability of service
              resources for appointments.</td>

            <td data-label="Usage" class="slds-cell-wrap" style="vertical-align:top;" headers="d17189e77 ">Select your custom Apex class that reads external calendar events and passes the
              details to the provided ServiceResourceScheduleHandler Apex interface. For more information,
              see <a href="https://help.salesforce.com/s/articleView?id=platform.ls_read_external_calendar.htm&amp;release=264.0.0&amp;type=5" title="When you run a Salesforce Scheduler flow or make an API call, the Apex interface makes a synchronous call to the Apex class. The Apex interface passes the details of the requested service resources and timelines for which Salesforce Scheduler wants to find the resources’ availability on the external calendar. The Apex class checks the external calendar events and returns the time slots where resources aren’t available. Salesforce Scheduler excludes the unavailable time slots during appointment scheduling.">Check External Calendars to Determine Resource Availability</a>.</td>

          </tr>
          <tr class="">
            <td data-label="Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d17189e71 ">Use service territory member’s shift</td>

            <td data-label="Definition" class="slds-cell-wrap" style="vertical-align:top;" headers="d17189e74 ">Consider shifts of service territory members when determining the availability of
              service resources for appointments.</td>

            <td data-label="Usage" class="slds-cell-wrap" style="vertical-align:top;" headers="d17189e77 ">Create regular or recurring shifts for each service resource. For more information,
              see <a href="https://help.salesforce.com/s/articleView?id=platform.ls_create_shifts.htm&amp;release=264.0.0&amp;type=5" title="Create shifts that vary daily or weekly. You can use shifts to assign service resources for periods that follow a flexible pattern. For example, different working hours at the same service territory or availability of the same service resource at different service territories.">Create Shifts in Salesforce Scheduler</a>.</td>

          </tr>
          <tr class="">
            <td data-label="Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d17189e71 ">Use service territory’s operating hours with shifts</td>

            <td data-label="Definition" class="slds-cell-wrap" style="vertical-align:top;" headers="d17189e74 ">Consider the intersection of shifts and service territory operating hours when
              determining the availability of service resources for appointments.</td>

            <td data-label="Usage" class="slds-cell-wrap" style="vertical-align:top;" headers="d17189e77 ">Only time slots that are within shifts and service territory operating hours are
              shown. To enforce operating hours for a service territory, ensure that you define them
              first.</td>

          </tr>
          <tr class="">
            <td data-label="Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d17189e71 ">External Calendar Integration Enabled</td>

            <td data-label="Definition" class="slds-cell-wrap" style="vertical-align:top;" headers="d17189e74 ">When calculating availability, use external calendars for partner users synced
              through Einstein Activity Capture. </td>

            <td data-label="Usage" class="slds-cell-wrap" style="vertical-align:top;" headers="d17189e77 ">Check the availability of partner users. For more information, see <a href="https://help.salesforce.com/s/articleView?id=platform.ls_external_calendar_integration_for_partner_users.htm&amp;release=264.0.0&amp;type=5" title="Show partner availability by integrating external calendars using Einstein Activity Capture and Partner Cloud.">Integrate External Calendars Using Einstein Activity Capture For Partner Users</a>.</td>

          </tr>
        </tbody>
      </table>