# Scheduling and Routing Glossary

> 30 terms from the Field Operations book's Scheduling and Routing part, each defined in a line and linked to the chapter that explains it.

- **Arrival window:** the span the customer is told to expect the technician in, stored as local time plus the property's time zone ([Booking Appointments](https://www.syntaqx.com/books/field-operations/booking-appointments#arrival-windows)).
- **Backlog, job pool:** occurrences whose window has opened (or passed) with no booked visit; FieldRoutes' Job Pool is the familiar form ([Recurring Schedules](https://www.syntaqx.com/books/field-operations/recurring-schedules#the-backlog)).
- **Capacity:** how much work a territory, crew or shift can take in a period, counted in minutes, slots or jobs ([Territories & Capacity](https://www.syntaqx.com/books/field-operations/territories-and-capacity#capacity-models)).
- **Effective dating:** recording when a fact becomes true and stops being true (`valid_during`), so changes can be scheduled and history stays true ([Effective Dating & History](https://www.syntaqx.com/docs/database/temporal-data)).
- **Freeze window, freezing:** the part of a plan before a point in time that re-optimization may not change ([Route Optimization](https://www.syntaqx.com/books/field-operations/route-optimization#re-optimization-freezing-and-pinning)).
- **Generation model:** how recurring work is created: a rolling horizon of real work, placeholders booked later, the next visit on completion of the last, rules per asset, or allowances ([Recurring Schedules](https://www.syntaqx.com/books/field-operations/recurring-schedules#how-the-platforms-generate-recurring-work)).
- **Hard and soft constraints:** rules a plan must satisfy, versus preferences it is penalized for breaking ([Route Optimization](https://www.syntaqx.com/books/field-operations/route-optimization#how-to-build-it)).
- **Held visit:** a visit in `held`, a slot reserved with an expiry while a booking completes; a hold that lapses ends `cancelled` with reason `expired`. Not the same as an agreement on hold ([Booking Appointments](https://www.syntaqx.com/books/field-operations/booking-appointments#requests-and-holds)).
- **Idempotency key:** a client-supplied key stored with a request's result, so a retried booking or charge returns the first result instead of creating a second ([Booking Appointments](https://www.syntaqx.com/books/field-operations/booking-appointments#idempotency-and-double-booking)).
- **Lexicographic objective, weighted sum:** two ways to fold routing goals into one objective: ranked levels, where a lower level only breaks ties, or one scale on which any term can be traded for another ([Weighing the Routing Objective](https://www.syntaqx.com/books/field-operations/route-objectives#two-ways-to-fold)).
- **Make-up:** a visit owed for an occurrence that was missed or not completed ([Recurring Schedules](https://www.syntaqx.com/books/field-operations/recurring-schedules#missed-visits-and-make-ups)).
- **Objective profile:** the versioned weights (labor, mileage, lateness, skipped work, fairness) that tell an optimizer what a better route means ([Weighing the Routing Objective](https://www.syntaqx.com/books/field-operations/route-objectives)).
- **Occurrence:** one promised instance of a recurring service, with its own due window: upcoming, open, booked, completed, skipped or missed ([Recurring Schedules](https://www.syntaqx.com/books/field-operations/recurring-schedules#the-vocabulary)).
- **Operating hours, shift:** when a territory or resource can be booked; shifts are regular, on call or time off ([Territories & Capacity](https://www.syntaqx.com/books/field-operations/territories-and-capacity#crews-shifts-and-operating-hours)).
- **Optimistic concurrency:** committing an optimizer's plan only if the visits it read haven't changed since its snapshot, checked by a row version ([Route Optimization](https://www.syntaqx.com/books/field-operations/route-optimization#runs-are-jobs-and-results-go-stale)).
- **Pinning:** fixing one visit so the optimizer leaves it (`is_locked`), or fixing its technician (`pinned_resource_id`) ([Route Optimization](https://www.syntaqx.com/books/field-operations/route-optimization#re-optimization-freezing-and-pinning)).
- **Recurrence:** an agreement's schedule rule (`recurrences`): an RRULE plus the window, anchor, minimum gap, season and holiday policy ([Recurring Schedules](https://www.syntaqx.com/books/field-operations/recurring-schedules#how-to-build-it)).
- **Recurrence rule (RRULE):** the iCalendar (RFC 5545) format for a repeating schedule ([Time & Date Formats](https://www.syntaqx.com/docs/fundamentals/time#recurrence-icalendar)).
- **Resource:** what the scheduler books (`resources`), of kind `technician` (pointing at a staff member), `crew`, `contractor` or `equipment`; vehicles are their own table ([The Core Data Model](https://www.syntaqx.com/books/field-operations/field-operations-business#the-core-data-model); crews and shifts are in [Territories & Capacity](https://www.syntaqx.com/books/field-operations/territories-and-capacity#crews-shifts-and-operating-hours)).
- **Route:** one resource's ordered visits for a day ([Route Optimization](https://www.syntaqx.com/books/field-operations/route-optimization)).
- **Schedule anchor, completion anchor:** whether the next due date counts from the rule's start (a late visit doesn't move the next) or from the last completed visit (lateness compounds) ([Recurring Schedules](https://www.syntaqx.com/books/field-operations/recurring-schedules#the-vocabulary)).
- **Scheduling policy:** an ordered set of work rules and weighted objectives a scheduler applies, as Salesforce Field Service names it ([Booking Appointments](https://www.syntaqx.com/books/field-operations/booking-appointments#how-slots-are-found)).
- **Service territory:** the area, usually an effective-dated polygon, a branch or team covers ([Territories & Capacity](https://www.syntaqx.com/books/field-operations/territories-and-capacity#territories)).
- **Service window:** the span a recurring visit may happen in and still count as on time ([Recurring Schedules](https://www.syntaqx.com/books/field-operations/recurring-schedules#service-windows-and-flexibility)).
- **Status reason (visit):** the one catalog behind `not_completed` and `cancelled` visits: `no_access`, `not_home`, `customer_declined`, `part_needed`, `weather`, `unsafe_condition`, `technician_unavailable`, `customer_asked`, `address_not_found`, `id_check_failed`, `item_damaged`, and `expired` for a lapsed hold. Work performed on site makes a visit `completed` instead ([The Core Data Model](https://www.syntaqx.com/books/field-operations/field-operations-business#the-core-data-model)).
- **Travel matrix:** drive times and distances between every pair of stops, from a routing engine such as OSRM, Valhalla or a hosted API ([Route Optimization](https://www.syntaqx.com/books/field-operations/route-optimization#what-exists-routing-engines-over-openstreetmap)).
- **Visit:** a scheduled time plus an assignment that performs a work order (`visits`): held, scheduled, dispatched, en route, on site, completed, not completed or cancelled ([The Field Operations Business](https://www.syntaqx.com/books/field-operations/field-operations-business#the-core-data-model)).
- **VRP, VRPTW (vehicle routing problem, with time windows):** assigning and ordering stops across vehicles, under time windows in the second form, solved by tools such as OR-Tools, VROOM or Timefold ([Route Optimization](https://www.syntaqx.com/books/field-operations/route-optimization#the-problem-stated-precisely)).
- **Work rules:** the pass-or-fail rules in a scheduling policy, as Salesforce names them, beside its weighted service objectives ([Route Optimization](https://www.syntaqx.com/books/field-operations/route-optimization#how-fsm-platforms-expose-it)).
- **Work type:** a vendor template for a kind of work that sets its duration and required skills; the volume's service type plays that role ([Platform Architecture](https://www.syntaqx.com/books/field-operations/platform-architecture#the-model-across-vendors)).

---

Canonical URL: https://www.syntaqx.com/books/field-operations/glossary/scheduling-and-routing
