---
schema_version: "1"
id: 0f1a3184bd81a1e27a37834c772f1dcb94f6d83ae0381a5e0ade7d531120335a
title: Define Capacity-Based Resources
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/fs_define_resource_capacity.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.fs_define_resource_capacity.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 287c3974a66eab59b4608f5c78c120f1e24f446e68c56d0fa28e8ef1ab79651a
description: Typically, contractors in field service can work a specified amount in a given time period. Define a service resource’s capacity so they aren’t overbooked during schedule optimization.
products:
  - Field Service
release: "264"
---
# Define Capacity-Based Resources

Typically, contractors in field service can work a specified amount in a given time period. Define a service resource’s capacity so they aren’t overbooked during schedule optimization.

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

<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="d162896e69">User
              Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d162896e69 ">To create, update, or delete resource capacities:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d162896e69 ">Edit on service resources</td>

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

1. To indicate that a service resource is capacity-based, select **Capacity-Based** on the resource record and save your change.
2. In the Capacities related list, click **New**.
3. Enter the capacity start and end dates. If the Time Period is set to Day, enter the same start and end dates. If the time period is Week, the end date can be up to 1 week. If the time period is Month, the end date can be until the end of the month.
4. Specify how much the resource can work.
    - For Time Period, select the time period that the capacity is based on. For example, if the resource can work 8 hours a day, select **Day**.
        
        With Enhanced Scheduling and Optimization, you must select **Day**. The Week and Month options aren’t supported.
    - For Hours per Time Period, base the resource’s capacity on the number of hours worked. For example, if the resource can work 8 hours a day, enter 8.
    - For Work Items per Time Period, base the resource’s capacity on the number of service appointments assigned to them. For example, if the resource can complete 5 appointments a day, enter 5.
5. Save your changes. You can create multiple capacities for a resource as long as the start and end dates don’t overlap.
    
    On the Gantt, you can see the percentage of booked capacity. You can also click the banner to see more details.

![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 To create a capacity for a date range, add the VF078\_CapacityCalendar Visualforce component to the Service Resource layout to display a Capacity Calendar. To create a capacity for only one criterion (Hours per Time Period or Work Items per Time Period), make sure to delete the default value of 0.

![Capacity calendar](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_capacity_calendar.png)

Pay attention to these considerations if you’re using Enhanced Scheduling and Optimization.

- The Fix Overlaps feature isn’t supported for capacity-based service resources.
- Resource absence isn't supported for capacity-based service resources.
- Resource efficiency isn't supported for capacity-based service resources.
- Schedule optimization supports daily capacity, but not weekly or monthly.
- Resource schedule optimization—the optimization of an individual service resource’s schedule—isn’t supported for capacity-based service resources.
- If a service resource is capacity-based with a defined capacity, their utilization percentage isn’t shown in the Gantt.
- Capacity-based resources can’t be assigned to appointments that have a [scheduling dependency](https://help.salesforce.com/s/articleView?id=service.pfs_complex_work.htm&release=264.0.0&type=5 "To stay on top of complex projects and multistage work, create scheduling dependencies between related service appointments. Scheduling dependencies help you account for situations when technicians need to perform related service appointments in a certain order. For example, ensure that a particular appointment can’t start until a related appointment is complete or that two appointments must start at the same time.").
- Capacity-based resources can’t be relocated.
- If Hours per Time Period or Work Items per Time Period are set to 0, the result of the performed action considers it a capacity of 0. However, on the Gantt, this value is considered empty.
- If you deselect Capacity-Based Resource, make sure you also remove the resource’s defined capacities. Otherwise, the capacity still shows on the Gantt.
- Capacity-Based Resources doesn’t support complex work.
- Up to 5,000 objects (service appointments and service resources) are supported overall in any optimization or scheduling actions.
- Day is the only time period supported. The Week and Month options aren’t supported.
- The capacity banner on the Gantt doesn’t show the capacity percentage. Additionally, if you click the capacity banner to see more details, the details window isn’t updated accordingly.
- Capacity-based resources can’t use the Count work rule.
- You can’t schedule appointments for capacity-based resources that aren’t assigned to a shift. This behavior is the same for regular resources.
- If you manually change the status of a service appointment to None, or clear the Scheduled Start and Scheduled End fields, the capacity consumption isn’t updated.
- You can assign any service appointment to a capacity-based resource, as long as they’re available. For appointments that span over multiple days (crossing midnight), the duration is split over each day the service appointment spans. By considering the hours set for each day separately, Field Service ensures accurate capacity tracking and optimal scheduling.

Pay attention to these considerations if you aren’t using Enhanced Scheduling and Optimization.

- The Fix Overlaps feature isn’t supported for capacity-based service resources.
- Resource schedule optimization—the optimization of an individual service resource’s schedule—isn’t supported for capacity-based service resources.
- If a service resource is capacity-based with a defined capacity, their utilization percentage isn’t shown in the Gantt.
- Capacity-based resources can’t be assigned to appointments that have a [scheduling dependency](https://help.salesforce.com/s/articleView?id=service.pfs_complex_work.htm&release=264.0.0&type=5 "To stay on top of complex projects and multistage work, create scheduling dependencies between related service appointments. Scheduling dependencies help you account for situations when technicians need to perform related service appointments in a certain order. For example, ensure that a particular appointment can’t start until a related appointment is complete or that two appointments must start at the same time.").
- Capacity-based resources can’t be relocated or assigned to a secondary service territory.
- If Hours per Time Period or Work Items per Time Period are set to 0, the result of the performed action considers it a capacity of 0. However, on the Gantt, this value is considered empty.
- If you deselect Capacity-Based Resource, make sure you also remove the resource’s defined capacities. Otherwise, the capacity still shows on the Gantt.
- You can’t assign capacity-based resources to appointments that are part of an appointment dependency group. Dispatchers can manually drag service appointments to capacity-based resources, but Scheduling and Optimization doesn’t schedule those appointments. You can manually schedule the appointments.
- You can’t schedule appointments for capacity-based resources that aren’t assigned to a shift. This behavior is the same for regular resources.
- If you manually change the status of a service appointment to None, or clear the Scheduled Start and Scheduled End fields, the capacity consumption isn’t updated.

#### See Also

- [Guidelines for Setting Up Field Service Contractors](https://help.salesforce.com/s/articleView?id=service.fs_setting_up_contractors.htm&release=264.0.0&type=5 "If you run a field service operation, it’s likely that you work with contractors in addition to your full-time employees. Learn how to incorporate contractors into your field service processes.")
- [Set Up Field Service in Experience Cloud Sites](https://help.salesforce.com/s/articleView?id=service.fs_set_up_communities.htm&release=264.0.0&type=5 "Keep customers, partners, and contractors in the loop about field service work by adding field service objects to your Experience Cloud site.")