---
schema_version: "1"
id: 60ff629600de13588b6ff7002f4d23632ea220165af530b0de632a8e91772116
title: Create Complex Work
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/pfs_complex_work_create.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.pfs_complex_work_create.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: f6eda11fe52068423f3bf364b11f3c028bf5a452035c1d65ed71d03665321c63
description: Model complicated realities with scheduling dependencies between appointments. Relate multiple service appointments so that scheduling and optimization can account for the dependencies. Each appointment’s parent record must be a work order.
products:
  - Field Service
release: "264"
---
# Create Complex Work

Model complicated realities with scheduling dependencies between appointments. Relate multiple service appointments so that scheduling and optimization can account for the dependencies. Each appointment’s parent record must be a work order.

### 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="d32121e72">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d32121e72 ">To create scheduling dependencies:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d32121e72 ">Edit on service appointments</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._

1. On a service appointment’s detail page, find the Scheduling Dependencies section.
2. From the lookup filter, select an appointment that relates to the appointment that you’re viewing. Service appointments with a status that falls within one of the status categories—Canceled, Complete, or Incomplete—aren’t shown.
3. Select a dependency type:
    
    <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small "><tbody><tr class=""><td class="slds-cell-wrap"><strong class="uicontrol">Same Start</strong></td><td class="slds-cell-wrap">The appointments must start at the same time.</td></tr><tr class=""><td class="slds-cell-wrap"><strong class="uicontrol">Start After Finish</strong></td><td class="slds-cell-wrap">The appointment in the First Appointment field can’t start until the appointment in the Second Appointment field is complete.</td></tr><tr class=""><td class="slds-cell-wrap"><strong class="uicontrol">Start After Finish and Same Day</strong></td><td class="slds-cell-wrap">The appointment in the First Appointment field can’t start until the appointment in the Second Appointment field is complete. Schedule both appointments for the same day.</td></tr><tr class=""><td class="slds-cell-wrap"><strong class="uicontrol">Immediately Follow</strong></td><td class="slds-cell-wrap">Schedule the appointments back-to-back on the same day, and assign them to the same service resource.</td></tr></tbody></table>
    
    ![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 For dependency types Start After Finish and Start After Finish and Same Day, you can also add a Same Resource dependency.
4. Click **Create Dependency**.
5. To add another appointment to the dependency group, select two related appointments, one of which is in the dependency group. Select the dependency type and click **Create Dependency**.
    
    The service appointment is added to the dependency diagram and the list of appointments.

![Fix a Skylight](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support_field_service-264-0-0-production-enus/3f7dceb9-dd70-454a-b49e-bbb4526a158d/images/icon_example.png)

Fix a Skylight

A customer reports a leaking skylight that has damaged a section of the ceiling. The call center rep creates a work order to address the problem and adds two service appointments: one to fix the skylight (SA-003), and one to repair the ceiling (SA-004). The skylight must be fixed before the ceiling is repaired, so the call center rep creates a Start After Finish dependency between SA-004 and SA-003. That way, scheduling processes can make sure the ceiling repair appointment starts after the skylight is repaired.

The call center rep wants the same person to do both assignments, so they select **Assign appointments to the same service resource**. After the call center rep adds the dependency, it’s visible in a diagram and listed in the Scheduling Dependencies section.

![Dependencies between service 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/pfs_dependencies.png)

But the technician can’t fix the skylight alone. They need the right glass for the skylight. A second appointment, “Deliver skylight glass” (SA-005) must start at the same time as appointment SA-003 to fix the skylight. So the call center rep selects the two appointments and chooses the Same Start dependency type. After the call center rep adds the dependencies, all three appointments are visible in the diagram (1) and the two dependencies are listed in the Scheduling Dependencies section (2).

![A set of three dependent 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/pfs_dependency_group.png)

You can now schedule the appointments. Appointments with dependencies can be scheduled in the usual ways—scheduling quick actions, the Classic Dispatch Console, and optimization—or by clicking **Schedule Appointments** in the Scheduling Dependencies section.