---
schema_version: "1"
id: 1fb866f85bbf9015b4b464979ed6fb39648cf771869b6caf1e9b3f46dacec02d
title: Create Work Plan Selection Rules
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/fs_work_plans_create_selection_rules.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.fs_work_plans_create_selection_rules.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 24721117410cd37f89652fc73e0cf37d53a46cd0c427cc5a3b92549a9a408099
description: Add selection rules to automate how work plans are assigned to work orders.
products:
  - Field Service
release: "264"
---
# Create Work Plan Selection Rules

Add selection rules to automate how work plans are assigned to work orders.

### 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;">The Field Service 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="d129389e69">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d129389e69 ">To create work plan selection rules:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d129389e69 ">
              <p>Create and Read on work plan selection rules</p>
              <p style="margin-bottom:0;">Read permissions on objects</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d129389e69 ">To view work plan selection rules:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d129389e69 ">Read on work plan selection rules</td>

          </tr>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d129389e69 ">To update work plan selection rules:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d129389e69 ">
              <p>Edit and Read on work plan selection rules</p>
              <p style="margin-bottom:0;">Read permissions on objects if changed</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d129389e69 ">To delete work plan selection rules:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d129389e69 ">Delete and Read on work plan selection rules</td>

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

Work plan selection rules generate point-in-time copies of work plans from templates. For example, when you create a work order with a work type of monthly maintenance, your rule can copy the monthly maintenance work plan template and its steps to the work order.

The criteria in a work plan selection rule is the trigger. It tells Salesforce which plan to copy to the work order or work order line item.

![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 If an annual maintenance visit includes the steps for monthly maintenance, define multiple rules, where one rule adds the annual work plan and another rule adds the monthly work plan. For example, you can use the work type field as a trigger in your rules.

If your Salesforce admin configured the standard New Work Plan Selection Rule screen for you, follow these instructions to create a work plan selection rule.

1. In the app launcher, click **Work Plan Templates**.
2. On the work plan template, open the Related tab. On the work plan selection rules related list, click **New**.
3. Select one or more fields as rule criteria. Values for work types, assets, locations, service contracts, products, or service territories can be specified in the work plan selection rule criteria. These fields are matched with the corresponding fields on the work order or work order line item to determine whether this selection rule is applicable to the work order or work order line item. If applicable, the corresponding work plan template is copied as a work plan for the work order or work order line item.
    
    ![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 The rule generates a work plan when all fields in the rule match corresponding fields in the work order or work order line item. For example, if the rule specifies a work type and an asset as the selection criteria, it adds the work plan only when both fields match on the work order.
    
    ![New Work Plan Selection Rule Standard Screen](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_work_plans_new_selection_rule_standard_screen.png)
4. Enter an optional description for your rule.
5. Click **Active**.
6. To create more rules, click **Save & New**. If you’re done, click **Save**.
    
    ![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 also create work plan selection rules by clicking **New** in the Work Plan Selection Rules list view.

If your Salesforce admin configured the enhanced New Work Plan Selection Rule screen for you, follow these instructions to create a work plan selection rule.

1. In the app launcher, click **Work Plan Templates**.
2. On the work plan template, open the Related tab. On the work plan selection rules related list, click **New Rule**.
3. Enter an optional description for your rule.
4. Click **Active**.
5. Select one or more selection rule values as rule criteria. Values for work types, assets, locations, service contracts, products, or service territories can be specified in the work plan selection rule criteria. These field values are matched with the corresponding fields on the work order or work order line item to determine whether this selection rule is applicable to the work order or work order line item. If applicable, the corresponding work plan template is copied as a work plan for the work order or work order line item.
    
    ![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 The rule generates a work plan when all fields in the rule match corresponding fields in the work order or work order line item. For example, if the rule specifies a work type and an asset as the selection criteria, it adds the work plan only when both fields match on the work order.
    
    If a rule specifies a product as the selection criteria, the rule doesn’t look for the corresponding field on the work order because no product field exists there. Instead, it looks at the Asset field and finds the matching product on the corresponding asset.
    
    ![New Work Plan Selection Rule Enhanced Screen](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_work_plans_new_selection_rule_enhanced_screen_updated.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 If you don't select any values and the work plan selection rule is active, the related work plan template is added to all new work orders or work order line items.
6. Save your work.