# What is a Resource Absence in Salesforce Field Service, and how does it affect scheduling and existing appointments?

**Topic:** Field Service · **Difficulty:** Easy · **Asked at:** Salesforce, Slalom, IBM · **Tags:** Field Service, Resource Absence, Scheduling

Read it on the site: https://www.forcechallenges.com/interview-questions/what-is-a-resource-absence-in-salesforce-field-service-and-how-does-it-affect-scheduling

## Answer

A **Resource Absence** is a period when a Service Resource is **not available** for work, such as vacation, sickness, training, a meeting or a break.

**Key fields**
- **Resource**, **Start** and **End** date and time.
- **Type**: for example Vacation, Medical, Training, Meeting or Break.

**Effect on scheduling**
- The **Service Resource Availability** work rule excludes the resource during the absence, so new appointments are not scheduled in that time.
- Optimization also respects the absence.
- Appointments already scheduled in that period are flagged **In Jeopardy**. They are not moved automatically, so a dispatcher or automation must reschedule them.
- The Gantt shows the absence as a blocked period.

**Good practice**
- Create absences early, ideally from HR data or a Flow.
- Use recurring absences for regular meetings and breaks.
- Automate what happens to affected appointments.

```apex
insert new ResourceAbsence(
    ResourceId = resourceId,
    Type = 'Training',
    Start = DateTime.newInstance(2026, 11, 10, 9, 0, 0),
    End = DateTime.newInstance(2026, 11, 10, 17, 0, 0)
);
```

**Interview tip:** remember the two effects: *blocks new scheduling* and *flags existing appointments*.

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