---
schema_version: "1"
id: 0c3e44d6ea1e7a3c7affdbb07c1c8e38f5bfd4fbbfc6de55b4dfd87c0d083e3a
title: "Workforce Scheduling Rule Type: Match Time"
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/wfs_work_rules_match_time.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.wfs_work_rules_match_time.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 95c50020a3cf645e11b7677ff938562c24c16038b1a61ce66ac2ce1a8ae19f02
description: Match Time is a Workforce Scheduling work rule type that limits the scheduling time frame based on an appointment’s date and time properties. For example, the Due Date work rule ensures that the appointment’s scheduled end is before its due date. Match Time work rules are applicable to field scheduling.
products:
  - Public Sector
  - Service Cloud
release: "264"
---
# Workforce Scheduling Rule Type: Match Time

Match Time is a Workforce Scheduling work rule type that limits the scheduling time frame based on an appointment’s date and time properties. For example, the Due Date work rule ensures that the appointment’s scheduled end is before its due date. Match Time work rules are applicable to field scheduling.

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

Work rules of this type contain the following settings.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
      <colgroup>
        <col style="width:28.57142857142857%">
        <col style="width:71.42857142857143%">
      </colgroup>
      <thead class="slds-text-title_caps ">
        <tr class="">
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d6594e68">Field Name</th>
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d6594e71">Description</th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d6594e68 ">Service Schedule Time Property</td>

          <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d6594e71 ">Indicates whether the rule controls the service appointment’s scheduled start time
            or scheduled end time. Custom date/time fields aren’t supported.</td>

        </tr>
        <tr class="">
          <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d6594e68 ">Service Time Operator</td>

          <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d6594e71 ">The required relationship between the Service Schedule Time Property and the Service
            Time Property. For example, if you select Equal, a service appointment’s Service
            Schedule Time Property value must equal the appointment’s Service Time Property
            value.</td>

        </tr>
        <tr class="">
          <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d6594e68 ">Service Time Property</td>

          <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d6594e71 ">
            <p>The service appointment field that defines the work rule requirement. There are four
              options.</p>
            <ul>
              <li>EarliestStartTime and DueDate together represent the total time frame during
                which an appointment must start and complete.</li>

              <li>The ArrivalWindowStart and EndTime together represent the arrival window time
                frame promised to the customer.</li>

            </ul>
          </td>

        </tr>
        <tr class="">
          <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d6594e68 ">Pass Empty Values</td>

          <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d6594e71 ">If you select this option and any of the Service Time Property values are empty, the
            Match Time rule is ignored.</td>

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

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-workforce_scheduling-264-0-0-production-enus/1eb114f2-bdf8-40c9-98ed-accb880f7906/images/icon_note.png)

Note You can’t create a Match Time rule with the Service Schedule Time Property set to SchedStartTime, the Service Time Operator set to Before, or Equal to, and the Service Time Property set to ArrivalWindowStartTime, ArrivalWindowEndTime, or any custom time field.

Workforce scheduling 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.

![Diagram showing the relationships between the Earliest Start Permitted, Due Date, Arrival Window Start, Arrival Window End, Scheduled Start, and Scheduled End time windows for Match Time work rules.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-workforce_scheduling-264-0-0-production-enus/1eb114f2-bdf8-40c9-98ed-accb880f7906/workforce_scheduling/images/wfs_optimization_scheduling_times.png)

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.

Earliest Start Permitted and Due Date are required in every scheduling policy. Match Time supports custom date-time fields on the service appointment for both scheduling and optimization.

Create work rules from Setup. Find and go to **Workforce Scheduling**, and under **Appointment Scheduling Logic**, select **Work Rules**. To view or add work rule fields open the Object Manager in Setup and select the **Work Rule** custom object. To add work rules to a scheduling policy, see [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.").

#### See Also

- [Create and Manage Work Rules in Workforce Scheduling](https://help.salesforce.com/s/articleView?id=service.wfs_work_rules_manage.htm&release=264.0.0&type=5 "Work rules filter candidates for a service appointment by rejecting service resources that violate any rule. Every scheduling policy uses work rules to filter candidates before service objectives grade them.")