# How would you build a Flow that escalates overdue or at-risk Service Appointments in Salesforce Field Service?

**Topic:** Field Service · **Difficulty:** Medium · **Asked at:** Capgemini, Infosys, Wipro · **Tags:** Flow, Escalation, Service Appointment, Automation

Read it on the site: https://www.forcechallenges.com/interview-questions/how-can-automated-flows-handle-service-appointment-escalations-for-overdue-jobs

## Answer

An escalation Flow finds appointments that are late or about to be late, and makes sure someone acts.

**Option 1: record-triggered Flow with a scheduled path**
- Object: **Service Appointment**.
- Run on create or update when `StatusCategory` is not Completed, Canceled or Cannot Complete.
- Add a **scheduled path** relative to the **Due Date** field, for example one hour before.
- When the path runs, re-check that the status category is still open.

**Option 2: scheduled Flow**
- Runs hourly or daily with a filter like: `DueDate < NOW` and `StatusCategory` not in the finished categories.

**Actions to take**
1. Set an escalation flag or raise the priority.
2. Create a Task or send a **custom notification** to the dispatcher or territory manager.
3. Email the customer or post to Chatter.
4. Escalate further if still open after another interval.

**Best practices**
- Always re-check the status inside the path, because things change before the path fires.
- Bulkify and keep Flows small and focused.
- Add a flag field so the same appointment is not escalated repeatedly.

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