---
schema_version: "1"
id: 85d71deb5e1373cc64571724105be62fdf12651abe5aee892c6e5eb272bb39b9
title: Reserve Time Slots for Designated Types of Work
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/pfs_designated_work.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.pfs_designated_work.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: c0d7383f06082bce49819249db8cf2ce056978462a19a34f11991ad11831ece6
description: Create specific time slots in Field Service dedicated to service appointments that meet your criteria.
products:
  - Field Service
release: "264"
---
# Reserve Time Slots for Designated Types of Work

Create specific time slots in Field Service dedicated to service appointments that meet your criteria.

### 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: both Salesforce Classic (not available in all orgs) and Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">The Agentforce Field Service and Operations core features, managed package, and mobile app are available in <strong>Enterprise</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions.</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._

Service resources can perform any type of work during their available working hours according to the defined work rules in your scheduling policy. You can reserve certain time slots within those available working hours and designate them for specific types of work. For example, you can designate a time slot on an operating hours or shift record to support only service appointments whose **Emergency** field is selected.

![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 Defining designated work on operating hours that represent your customer’s visiting hours isn’t supported. See [Work Rule Type: Service Appointment Visiting Hours](https://help.salesforce.com/s/articleView?id=service.pfs_optimization_theory_work_rules_visiting_hours.htm&language=en_US).

## Set Up Designated Work for Time Slots With Enhanced Scheduling and Optimization

Create specific time slots in Field Service dedicated to service appointments that meet your criteria when using Enhanced Scheduling and Optimization.

### Required Editions

<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="d151605e126">User
                  Permissions Needed</th>
              </tr>
            </thead>
            <tbody>
              <tr class="">
                <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d151605e126 ">To view, create, and update recordset filter criteria:</td>

                <td class="slds-cell-wrap" style="vertical-align:top;" headers="d151605e126 ">
                  <p>View, create, and edit on Service Appointments, Time Slots,
                    Operating Hours, Recordset Filter Criteria, and Recordset Filter
                    Criteria Rules</p>
                  <p>AND</p>
                  <p style="margin-bottom:0;">Delete on Recordset Filter Criteria Rules</p>
                </td>

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

1. Add the TimeSlot Designated Work work rule to one or more scheduling policies.
    
    ![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 This rule can be applied only if the scheduling policy includes either the Working Territories work rule or the Match Territory work rule.
    
    When the policy is in use, the scheduling optimizer respects your designated time slot preferences during scheduling.
    
    1. Click the Scheduling Policies tab and select a policy.
    2. In the Scheduling Policy Work Rules related list, click **New**.
    3. In the Work Rule field, select **New Work Rule**.
    4. Select **Field Service - TimeSlot Designated Work** and click **Next**.
    5. Add a name and description.
    6. Save your changes.
2. Add recordset filter criteria columns to the lookup window.
    1. From the object management settings for recordset filter criteria, go to Search Layouts and click **Edit** on the System Administrator profile.
    2. Add Source Object, Filtered Object, and Active to the search layout.
    3. Click **Save**.
3. Create a recordset filter criteria for designated work.
    1. In the App Launcher, click **Recordset Filter Criteria**.
    2. In the Recordset Filter Criteria list view, click **New**.
        
        ![New RFC Window](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/pfs_time_slots_new_rfc.png)
    3. Enter a name and description for the criteria.
    4. In the Source Object field, select **Time Slot**.
    5. In the Filtered Object field, select **Service Appointment**.
    6. Select **Active**.
    7. In the Conditions section, select the relevant condition for when the recordset filter criteria is valid.
    8. To add filter conditions, select the Criteria Field, the Operator, and the field Value to match on. The Value input changes depending on the field you select. For example, picklist fields show the list of available choices. Add another condition if you need to.
    9. Save the recordset filter criteria.
4. Designate a time slot for service appointments of a specified type.
    1. In the App Launcher, click **Operating Hours**.
    2. In the Operating Hours list view, select an operating hours record.
    3. From the Details tab, in the calendar editor, right-click a time slot and select **Enhanced Designated Work**.
        
        ![Enhanced Designated Work Option](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/pfs_time_slots_enhanced_designated_work_selection.png)
    4. From the lookup window, select a recordset filter criteria.
        
        ![Enhanced Designated Work Option](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/pfs_time_slots_rfc_lookup_window.png)
        
        ![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 Select an active recordset filter criteria with the source object Time Slot and filtered object Service Appointment.
    5. Click **Save**.
    6. From the calendar editor, you can change a designation by selecting a different recordset filter criteria from the lookup window.
    7. You can delete a designation only from the Related tab. In the time slots related list, click **Edit** on the action menu of the relevant time slot. Then clear your selection from the Recordset Filter Criteria field and click **Save**.

If an appointment doesn’t meet the criteria of your designated time slot, the scheduling optimizer won’t schedule it within the time slot.

## Set Up Designated Work for Time Slots Without Enhanced Scheduling and Optimization

Create specific time slots in Field Service dedicated to service appointments that meet your criteria when not using Enhanced Scheduling and Optimization.

1. Decide which service appointment fields can be used to reserve time slots.
    1. From the Object Manager, find the Service Appointment object and click **Field Sets**.
    2. Open the Designated Work Fields field set.
    3. Drag any checkbox field into the field set.
        
        ![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 You can customize a field by adding it to the service appointment object.
2. Add the TimeSlot Designated Work work rule to one or more scheduling policies. When the policy is in use, the scheduling optimizer respects your designated time slot preferences during scheduling.
    1. Click the Scheduling Policies tab and select a policy.
    2. In the Scheduling Policy Work Rules related list, click **New**.
    3. In the Work Rule field, select **New Work Rule**.
    4. Select **Field Service - TimeSlot Designated Work** and click **Next**.
    5. Add a name and description.
    6. Save your changes.
3. Reserve a time slot for service appointments of a specified type.
    1. From the operating hours tab, select an operating hours record.
    2. From the detail view, right-click a time slot.
    3. Hover over **Designate Work** and select a checkbox.
        
        ![Time Slots editor](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_time_slots_editor.png)

If an appointment doesn’t meet the criteria of your designated time slot, the scheduling optimizer won’t schedule it within the time slot.

#### See Also

- [Work Rule Type: TimeSlot Designated Work](https://help.salesforce.com/s/articleView?id=service.pfs_optimization_theory_work_rules_designated_work.htm&release=264.0.0&type=5 "The Field Service TimeSlot Designated Work Apex work rule type ensures that if a time slot or shift is reserved for a specific type of work, only appointments of that type are scheduled during that time period.")
- [Create Work Types for Field Service](https://help.salesforce.com/s/articleView?id=service.fs_create_work_types.htm&release=264.0.0&type=5 "Chances are, your business performs the same tasks for multiple customers. Work types are templates that save you time and make it easier to standardize your field service work.")
- [Guidelines for Recordset Filter Criteria](https://help.salesforce.com/s/articleView?id=service.fs_rfc_considerations.htm&release=264.0.0&type=5 "Field Service filter criteria let you match records in one object against records in another. For example, you can choose criteria to filter which service appointments can be scheduled during a shift.")