Deucalion Docs
Scheduler Reference
ReferenceAn information-oriented lookup resource. Use it to find specific values and definitions.
adminschedulerfiltersurl-statereferencepostcoderegionequipment

Filters and URL State Reference

Complete reference for all scheduler filter parameters, URL state management, focus tabs, and mutual-clearing behaviour.

Before you start

  • You are familiar with the scheduler layout and filter bar from the views guide.

Expected outcome

You understand every filter parameter, how they interact, and how URL state enables bookmarking and sharing of scheduler views.

Filter parameters

Board, Timeline, and Map filters are applied to the scheduler overview request and reflected in the URL query string. Forecast deliberately ignores start, end, and every planner filter in this table so it can show the full 12-month workload across accessible sites.

ParameterFormatExampleBehaviour
startISO 8601 date2026-04-14Window start; defaults to current week
endISO 8601 date2026-04-20Window end; defaults to current week
engineerIdUUIDabc-123-defExact match on assigned engineer
siteIdStringsite-456Exact match on site
jobTypeStringinspectioninspection, work_order, or task
statusStringpendingpending, in_progress, on_hold, completed, cancelled
qStringsmoke ventCase-insensitive search across multiple fields
regionCSVLondon,ScotlandExpanded to constituent postcode areas
postcodeAreaCSVSW,E,MExact match on extracted postcode area (uppercase)
equipmentCSVmewp,scaffoldNormalised to lowercase; OR semantics
oohBoolean stringtrueStrict boolean comparison on outOfHours

Geographic filter details

Postcode area

Postcode areas are extracted from site postcodes using the pattern ^([A-Z]{1,2}) β€” the first 1-2 letters of a UK postcode. For example, SW1A 1AA yields area SW.

The 67 Royal Mail postcode areas are mapped to 11 UK regions:

RegionPostcode areas
ScotlandAB, DD, DG, EH, FK, G, HS, IV, KA, KW, KY, ML, PA, PH, TD, ZE
Northern IrelandBT
North EastDH, DL, NE, SR, TS
North WestBB, BL, CA, CH, CW, FY, L, LA, M, OL, PR, SK, WA, WN
Yorkshire & HumberBD, DN, HD, HG, HU, HX, LS, S, WF, YO
East MidlandsDE, LE, LN, NG, NN, PE
West MidlandsB, CV, DY, HR, ST, SY, TF, WR, WS, WV
East of EnglandAL, CB, CM, CO, EN, HA, HP, IG, IP, LU, MK, NR, RM, SG, SS, UB, WD
LondonBR, CR, DA, E, EC, KT, N, NW, SE, SM, SW, TW, W, WC
South EastBN, CT, GU, ME, OX, PO, RG, RH, SL, SO, TN
South WestBA, BH, BS, DT, EX, GL, PL, SN, SP, TA, TQ, TR
WalesCF, LD, LL, NP, SA

Mutual-clearing behaviour

Region and postcode area filters are mutually clearing:

  • Selecting a region clears any active postcode area selection
  • Selecting a postcode area clears any active region selection

This prevents contradictory filters (e.g. "London" region with "AB" postcode area).

Equipment filter

Equipment values are normalised to lowercase and matched with OR semantics:

  • ?equipment=mewp,scaffold matches jobs that require MEWP or scaffold (or both)
  • Query values are trimmed and lowercased before comparison

The 7 canonical equipment values: mewp, scaffold, tower_scaffold, ladder, cherry_picker, rope_access, harness.

Search filter

The search field (q parameter) performs case-insensitive substring matching against a concatenated haystack:

Searched fieldSource
Job titlejob.title
Job subtitlejob.subtitle
Site namejob.siteName
System namejob.systemName
Engineer namesjob.engineerNames (space-joined)
Postcodejob.postcode

URL state parameters

Beyond filters, the scheduler stores shareable planner state in the URL:

ParameterPurposeValues
viewActive planner modeboard, timeline, map, forecast
selectedSelected job keysCSV of up to 25 entityType:id keys; additional in-memory selections are not written to a shareable URL.
proposeSlotsSlot-proposal dialog state1
focusActive focus taball, blocked, flagged, unassigned, unscheduled, draft, ready, deployed, awaiting, acknowledged, provisional, date_offered, confirmed, locked
timelineDateTimeline dateISO date
timelineModeTimeline modeday, week

Retired filters, list, listMode, guidance, guide, and panel parameters are not read. Old bookmarks do not migrate their retired filter or panel state; the next supported state change rewrites the URL without those parameters.

localStorage persistence

These preferences persist across sessions in the browser via deucalion:scheduler-layout:

KeyWhat it stores
Active viewLast-used planner mode (board, timeline, map, forecast), used when the URL does not include view
Timeline modeDay or week, used when the URL does not include timelineMode
Navigation modeFull nav, rail, or focus shell
DensityComfortable or compact dispatch layout

Focus tabs

Focus tabs apply an additional client-side filter on top of the server-side filtered job set:

TabFilter logic
AllNo additional filter
Blockedjob.validationWarnings.some(w => w.blocking)
Flaggedjob.validationWarnings.length > 0
Unassignedjob.engineerIds.length === 0
Unscheduledjob.scheduledDate === null, including target-month demand
Draftjob.deploymentState === "draft"
Readyjob.deployReady === true
Deployedjob.deploymentState === "deployed"
AwaitingDeployed work without engineerAcknowledgedAt
AcknowledgedDeployed work with engineerAcknowledgedAt
Provisionaljob.bookingStatus === "provisional"
Date offeredjob.bookingStatus === "date_offered"
Confirmedjob.bookingStatus === "confirmed"
Lockedjob.bookingStatus === "do_not_move"

Sort order

Results from the server are sorted by:

  1. Unscheduled jobs first, ordered by title A-Z.
  2. Scheduled jobs next, ordered by scheduledDate ascending and then title A-Z.

This server sort applies to the Board, Timeline, and Map job set. Forecast uses its own month, service-line, region, and site summaries.

On this page