---
schema_version: "1"
id: 0a67246fe5d4364996dd4d0039cc6947e808219ef7c584287b06b2c1dd6b74f6
title: Work Rules in the Emergency Scheduling Policy
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/energy_work_rules_in_the_emergency_scheduling_policy.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.energy_work_rules_in_the_emergency_scheduling_policy.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: df18b100b8617ec01efdd617e34be4b3035c2f64c5c8d62595e317d7f213c5dd
description: Work rules are hard constraints. A resource must satisfy every rule to be considered available.
products:
  - Energy and Utilities
release: "264"
---
# Work Rules in the Emergency Scheduling Policy

Work rules are hard constraints. A resource must satisfy every rule to be considered available.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:25%">
          <col style="width:25%">
          <col style="width:25%">
          <col style="width:25%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d93715e42">
              <p style="margin-bottom:0;">Rule Name</p>
            </th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d93715e48">Rule Type</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d93715e51">
              <p style="margin-bottom:0;">What It Checks</p>
            </th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d93715e57">Pass Empty Values</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Rule Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d93715e42 ">
              <p style="margin-bottom:0;">Earliest Start Permitted</p>
            </td>

            <td data-label="Rule Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d93715e48 ">Match Time</td>

            <td data-label="What It Checks" class="slds-cell-wrap" style="vertical-align:top;" headers="d93715e51 ">The scheduled start time is later than or equal to the service appointment's earliest
              start time.</td>

            <td data-label="Pass Empty Values" class="slds-cell-wrap" style="vertical-align:top;" headers="d93715e57 ">Yes</td>

          </tr>
          <tr class="">
            <td data-label="Rule Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d93715e42 ">
              <p style="margin-bottom:0;">Due Date</p>
            </td>

            <td data-label="Rule Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d93715e48 ">Match Time</td>

            <td data-label="What It Checks" class="slds-cell-wrap" style="vertical-align:top;" headers="d93715e51 ">The scheduled end time is before or equal to the service appointment's due
              date.</td>

            <td data-label="Pass Empty Values" class="slds-cell-wrap" style="vertical-align:top;" headers="d93715e57 ">Yes</td>

          </tr>
          <tr class="">
            <td data-label="Rule Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d93715e42 ">
              <p style="margin-bottom:0;">Match Territory</p>
            </td>

            <td data-label="Rule Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d93715e48 ">Match Territory</td>

            <td data-label="What It Checks" class="slds-cell-wrap" style="vertical-align:top;" headers="d93715e51 ">The resource is a member of the same service territory as the service
              appointment.</td>

            <td data-label="Pass Empty Values" class="slds-cell-wrap" style="vertical-align:top;" headers="d93715e57 ">No</td>

          </tr>
          <tr class="">
            <td data-label="Rule Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d93715e42 ">
              <p style="margin-bottom:0;">Active Resources</p>
            </td>

            <td data-label="Rule Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d93715e48 ">Match Boolean</td>

            <td data-label="What It Checks" class="slds-cell-wrap" style="vertical-align:top;" headers="d93715e51 ">The resource's Active field is true.</td>

            <td data-label="Pass Empty Values" class="slds-cell-wrap" style="vertical-align:top;" headers="d93715e57 ">No</td>

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

Because the Earliest Start Permitted and Due Date rules pass empty values, a blank earliest start time or due date on the service appointment doesn't disqualify a resource. The Match Territory and Active Resources rules don't pass empty values, so territory membership and active status are always enforced.