Recued
Menu
← Back to recipes

Reset the whole desk for a new shift

by recued-core v1 15 views

Use “Reset the whole desk for a new shift” in Recued. Rolls every open service type onto a fresh session in one act, so numbering restarts at 1 across the floor. Optionally closes out anyone still in line from the shift that just ended.

Complete workflow

Queue Desk 18 pinned recipes

Use Queue Desk in Recued to run a take-a-number line. A visitor picks a service type on your public Reception form, gets a number and a link that shows how many are still ahead, and staff call the next person from any paired device. It includes 17 built-in actions and 13 ready-to-run workflows. Actions that change data use Recued's approval controls.

You are viewing one recipe in this workflow. Installing it opens the complete pack so its other recipes and background automations arrive together.

Use “Reset the whole desk for a new shift” in Recued. Rolls every open service type onto a fresh session in one act, so numbering restarts at 1 across the floor. Optionally closes out anyone still in line from the shift that just ended.

pack:queue-deskqueuesessionshift
by recued-core pinned v1

Use “Add a service type to the desk” in Recued. Creates one queue a visitor can pick on your Reception form — its ticket prefix, the answer value that routes to it, and the serving session numbering starts from.

pack:queue-deskqueuesetup
by recued-core pinned v1

Use “Service types on the desk” in Recued. Lists every queue with its prefix, session, and status, and gives each row the actions that operate on it — the list is how you reach a queue, since no screen here is addressable by a record id.

pack:queue-deskqueueboard
by recued-core pinned v1

Use “Start a new serving session” in Recued. Rolls one service type onto a fresh session key and opens it, so numbering restarts at 1 without deleting a single ticket — yesterday's line stays readable, it just stops counting.

pack:queue-deskqueuesession
by recued-core pinned v1

Use “Stop issuing numbers for a service type” in Recued. Closes one queue so the sweep stops turning submissions into tickets. People already in line keep their numbers and can still be called.

pack:queue-deskqueuesession
by recued-core pinned v1
Show all 18 recipes

Use “Register a serving counter” in Recued. Adds one position that can take people off the line. Its name is the exact text written onto a ticket when it calls the next number.

pack:queue-deskcountersetup
by recued-core pinned v1

Use “Serving positions on the floor” in Recued. Lists every position with what it serves and whether it is open, and gives each row the actions that operate on it — the only way to reach a position without already knowing its id.

pack:queue-deskcounterboard
by recued-core pinned v1

Use “One number, in full” in Recued. Opens a single ticket — its number, its place in the line, everything the visitor told you, and every timestamp — with the actions that move it. This is the screen that settles “I was here before them”.

pack:queue-deskqueueticketdetail
by recued-core pinned v1

Use “Open or close a serving counter” in Recued. Both directions live here, so a counter you close at lunch is one you can open again.

pack:queue-deskcounter
by recued-core pinned v1

Use “Turn new form submissions into queue numbers” in Recued. Reads the submissions your Reception form has taken but not yet placed, routes each to the service type its answer names, and issues one ticket per person. Re-running is safe — a person already in line converges on the number they already hold.

pack:queue-deskqueueintakesweep
by recued-core pinned v1

Use “Give someone a number” in Recued. Puts one person in a line without them filling in the form — the walk-in at the counter, the caller on the phone, the name your assistant was just given. Answers with the number and how many are ahead of them.

pack:queue-deskqueuedeskwalk-in
by recued-core pinned v1

Use “Your place in the line” in Recued. It is the viewback page behind the link on a visitor's receipt, and it reads only — the number that was issued, how many are still ahead, and which counter has been called. It can be refreshed as often as they like.

pack:queue-deskqueueviewbackreception
by recued-core pinned v1

Use “The line for one service type” in Recued. Shows who is waiting in a queue's current session, who is at which counter right now, and gives every row the actions that move it.

pack:queue-deskqueueboardcounter
by recued-core pinned v1

Use “Call the next number” in Recued. Takes the person who has waited longest in one service type and puts them at your counter. Two positions pressing it at the same instant cannot both take the same person — the second gets a conflict and calls again.

pack:queue-deskqueuecounter
by recued-core pinned v1

Use “Finish serving a number” in Recued. Closes one ticket as served and stamps when. It stays in the session so the day's line can be read back.

pack:queue-deskqueuecounter
by recued-core pinned v1

Use “Pass a number that did not turn up” in Recued. Marks one ticket skipped rather than deleting it, so a no-show stays visible and can be recalled if they reappear.

pack:queue-deskqueuecounterno-show
by recued-core pinned v1

Use “Put a passed number back in line” in Recued. Returns a skipped ticket to waiting and clears the counter it was called to. Its original join time is untouched, so it goes back to the place it had earned, not to the end.

pack:queue-deskqueuecounterno-show
by recued-core pinned v1
View pack details, dependencies, and permissions →

start-queue-session resets ONE line. This resets the floor — a bank with two lines and a restaurant with three table sizes both want one button at opening time, not one per type.

⛔ WHAT HAPPENS TO PEOPLE STILL IN LINE IS YOUR CALL, NOT THE PACK'S. Rolling a session does not touch a single ticket: yesterday's line stays exactly as it was, readable, and simply stops being counted. That is the default (leave).

Choose close_out and anyone still waiting or called from a previous session is marked skipped with a note — so the day's record says 'these were never reached' instead of leaving them ambiguously waiting for a shift that ended. Neither answer is right for every desk; a clinic reconciling who it missed wants one, a shop that simply reopens wants the other.

🔑 Running it twice is a no-op. A line already on the new session is left alone, so a double-press at opening does not roll anyone onto a second session or close out the people who just arrived.

How it works 29 steps

Inspect the data fetches, transforms, gates, and output this recipe runs.

Process (29 steps)
typed trim
Trim whitespace from setting session key
now_iso date_add
Add 0 seconds to
today date_format
Format as a date
session_key default
Apply default
session_guard guard
Stop if session key is empty
mode lowercase
Convert setting unserved to lowercase
mode_known compare
Check if mode is one of leave,close_out
mode_guard guard
Stop if mode known equals
queues ?
has_queues compare
Check if queues records has data
queues_guard guard
Stop if has queues equals
to_roll filter
Filter by condition
already_current filter
Filter by condition
closing_out compare
Check if mode equals close_out
stale ?
skip: step.closing_out equal false
stale_rows default
Apply default
closed ?
skip: step.closing_out equal false
closed_ok filter
Filter by condition
closed_failed filter
Filter by condition
rolled ?
rolled_ok filter
Filter by condition
rolled_failed filter
Filter by condition
rolled_ids pluck
Extract item.id from each item
failed_ids pluck
Extract item.id from each item
already_ids pluck
Extract id from each item
closed_count count
Count items in closed ok
close_failed_count count
Count items in closed failed
stale_count count
Count items in stale rows
card to_summary
Format results as a summary card
Settings 2 configurable

Configurable at install. Defaults shown — change them anytime in Recued.

unserved setting = leave
session key setting =

About

Tags

pack:queue-deskqueuesessionshiftreset

Details

29 steps 2 configurable settings recipe_id: reset-queue-desk