---
schema_version: "1"
id: 915edae388c0af1a40c48790d5f4db0915153a4ceaaaf44f65b6a724c289ee02
title: "Workforce Scheduling Rule Type: Match Boolean"
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_boolean.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.wfs_work_rules_match_boolean.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 1e609f7f12b54bc66ad190177e2fc4748a7749e600eb5402716a75c5d7052432
description: Match Boolean is a Workforce Scheduling work rule type that enforces scheduling preferences based on a checkbox (Boolean) field on service resources. Match Boolean work rules are applicable to field and on-site scheduling.
products:
  - Public Sector
  - Service Cloud
release: "264"
---
# Workforce Scheduling Rule Type: Match Boolean

Match Boolean is a Workforce Scheduling work rule type that enforces scheduling preferences based on a checkbox (Boolean) field on service resources. Match Boolean work rules are applicable to field and on-site 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 two key settings.

 
| Field Name | Description |
| --- | --- |
| Resource Property | The API name of the checkbox field on service resources that defines the scheduling requirement. For example, `IsActive`. |
| Value is True | If selected, the Resource Property must be True (selected) for a service resource to be assigned to a service appointment. If not selected, the Resource Property must be false (deselected) for a resource to be assigned to an appointment. If the Boolean field on the service resource is empty, the rule isn’t applied. |

To control which checkbox fields are available as resource properties:

- Add the API name of any checkbox field as a picklist value in the Resource Property field on the Work Rule custom object in Setup.
- Make sure that the value has been enabled for the record type.

Workforce Scheduling includes a standard Match Boolean work rule named Active Resources. This work rule:

- Assures that only active service resources are considered for scheduling.
- Lets you preserve historical data on the Gantt. When a service resource leaves your company, their assignment data remains.
- Doesn’t make sure that the optimization engine reschedules appointments for inactive service resources. You must manually unschedule these appointments.

![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 A scheduling policy can contain up to five Match Boolean work rules.

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.")