Glossary/Cascade assignment

Glossary · OTA calendar behaviour

Cascade assignment

Definition

Offering a cleaning job to one cleaner at a time in the property's priority order. Each offer expires after 60 minutes (10 for urgent jobs) or on a decline, then passes to the next cleaner; when the list is exhausted the host is alerted.

Also called: cascade, priority assignment

Term defined by Lemon.cy · verified 2026-09-10 · Markdown

Cascade is the default because it is predictable: the cleaner who knows the property gets the first offer, and the host can see exactly who was asked, when, and what they said. Each offer is a row (job_assignment_attempts) with its token, expiry and response, so the history of a job is a list, not a memory. Assignment starts through a compare-and-swap in the database so two servers cannot both begin offering the same job.

The cascade respects each cleaner's availability rules (weekdays, date ranges, blocked windows) and their simultaneous-jobs capacity before making an offer, and skips a cleaner who has cancelled the same job. When the list is exhausted the job moves to waiting_for_cleaners and the host is alerted; adding a cleaner or restarting the cascade from the dashboard picks up where it stopped.

Cite this page. Lemon.cy (2026). "Cascade assignment". Verified against production on 2026-09-10. https://lemon.cy/glossary/cascade-assignment/