---
schema_version: "1"
id: 5fe0c421e911a225ba555392fb5aaf174bcbe56700ba2656de68d12667b88ce5
title: "Work Rule Type: Work Capacity"
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/pfs_optimization_theory_work_rules_capacity_limit.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.pfs_optimization_theory_work_rules_capacity_limit.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 1ee5f2636a462a7a2d45f5e3d13725af11df10c97a432aed6fc4dd8d3beab3ba
description: The Work Capacity Apex work rule type sets limits for the work capacity of service resources in a given service territory according to specified criteria. This work rule is available only when you’re using Enhanced Scheduling and Optimization.
products:
  - Field Service
release: "264"
---
# Work Rule Type: Work Capacity

The Work Capacity Apex work rule type sets limits for the work capacity of service resources in a given service territory according to specified criteria. This work rule is available only when you’re using Enhanced Scheduling and 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>

![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._

This rule enables adding capacity limits to scheduling policies. If you add a Work Capacity work rule to your scheduling policy, the Work Capacity Limit records defined for the service territories are considered. These records allow you to set limits on the amount of specific types of work that you can book within a territory. For example, you can limit installation work to 80% of the total capacity of the service territory. Total capacity refers to the combined working hours availability for all service resources in that territory for a given time frame.

Create work rules from the Work Rules tab. To view or add work rule fields open the **Object Manager** in Setup and select the **Work Rule** custom object. Add work rules to a scheduling policy from the **Customize Scheduling Policies** page in Guided Setup or from the Scheduling Policy Work Rules related list on a scheduling policy.

## Check Work Capacity Rule Violations

You can see notifications for Work Capacity rule violations for all service appointments in a service territory in the Notification Center. The violations for individual service appointments aren’t shown on the Gantt.

![See capacity limit violations for all appointments](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/wc_rule_violation.png)

#### See Also

- [Manage Work Capacity in Field Service](https://help.salesforce.com/s/articleView?id=service.fs_workcapacitylimits.htm&type=5&language=en_US)
- [Create and Manage Field Service Work Rules](https://help.salesforce.com/s/articleView?id=service.pfs_optimization_theory_work_rules.htm&type=5&language=en_US)