# How does the Match Skills work rule function during automated appointment scheduling in Salesforce Field Service?

**Topic:** Field Service · **Difficulty:** Easy · **Asked at:** Deloitte Digital, PwC, Accenture · **Tags:** Field Service, Skills, Scheduling Rules

Read it on the site: https://www.forcechallenges.com/interview-questions/how-does-the-match-skills-work-rule-function-during-automated-appointment-dispatching

## Answer

The **Match Skills** work rule makes sure an appointment is only given to a technician who has every skill the job needs, at the right level.

**How the check works**
1. The job's **Skill Requirements** (from the Work Type, Work Order or line item) are collected.
2. For each candidate resource, the rule checks the resource's **Service Resource Skills**.
3. The resource passes only if it has **every** required skill, with a skill level at or above the required minimum, and the skill is valid on the appointment date (start and end dates).
4. Resources that fail are removed as candidates. This is a **hard rule**, not a preference.

**Example:** the job needs *Electrical* level 50 and *Gas Safe* level 30. A technician with Electrical 70 but no Gas Safe is rejected.

**Find who has a skill**

```soql
SELECT ServiceResource.Name, Skill.MasterLabel, SkillLevel
FROM ServiceResourceSkill
WHERE Skill.MasterLabel = 'Electrical'
AND (EffectiveEndDate = null OR EffectiveEndDate >= TODAY)
```

**Troubleshooting**
- Appointment unscheduled: check for missing, expired or low-level skills.
- Use **Get Candidates** to see which resources failed the rule.

The rule must be in the **Scheduling Policy** to take effect.

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