# What are work dependencies (time dependencies) in Salesforce Field Service, and how do they enforce the order of related appointments?

**Topic:** Field Service · **Difficulty:** Hard · **Asked at:** PwC, Slalom, IBM · **Tags:** Field Service, Complex Work, Dependencies

Read it on the site: https://www.forcechallenges.com/interview-questions/what-are-complex-work-dependencies-and-how-do-they-enforce-appointment-sequencing

## Answer

**Work dependencies** (time dependencies) tie two appointments together so they happen in a required order or at a required time. The scheduling engine respects the link when it books or optimizes.

**Common dependency types**
- **Start after finish**: the second job can only begin when the first one is done (for example plastering after electrical work).
- **Same start**: two technicians must begin together.
- **Immediately follow**: the second job starts straight after the first.
- Many setups also allow a **minimum or maximum delay** between the two.

**How they are enforced**
- The engine checks dependencies as part of scheduling and optimization.
- If one appointment moves, the dependent appointment is re-checked, and may be flagged **In Jeopardy**.
- The Gantt shows the relationship so dispatchers can see the chain.

**Design tips**
- Use dependencies only where the order really matters.
- Avoid long chains and circular links.
- Plan for delays: a late first job can push the whole chain.
- Test with realistic data before go-live.

**Example:** install an air-conditioning unit (electrician), then commission it (engineer). The second appointment is set to start after the first, with at least a 1-hour gap.

**Interview tip:** the key point is that dependencies add *constraints between appointments*, not just between a job and a resource.

---
Source: ForceChallenges · last updated 2026-10-31
