Routines
Intro
A Routine is a checklist you run over a saved View: "every morning, take Shipping Today, combine same-customer shipments, fetch the weather, tag them Dispatched AM, print the fish labels on the Zebra, then the packing slips". Instead of five people remembering five clicks, the routine runs the automatic steps for you and walks whoever is on shift through the rest.
Open Shipments → Routines. Viewing needs List shipments; creating, editing and running needs Edit orders.
Purpose
- Turn the daily dispatch procedure into something new staff can follow step by step
- Let merge, weather and tagging happen before anyone arrives, on a schedule
- Print the same documents, with the same filters, in the same order — every day
How a routine is built
- Click New routine, give it a Name (e.g. Morning livestock dispatch) and an optional Description.
- Pick the Shipment view — the saved view whose filters choose the shipments (views you created privately are marked (personal view)). Set the Shipment status it is evaluated against: Awaiting, On hold or Shipped.
- Use Preview shipment set to see which shipments the view picks right now.
- Add step as many times as needed and drag them into order. Each step has an optional Step name shown on the checklist (e.g. Fish labels (Zebra)) and a checkbox Optional (can be skipped without a reason).
- Leave the enable switch on and click Save.
The shipment set is frozen when a run starts — anything that arrives later is not included until you press Refresh shipment set on the run page.
Step types
| Step | What it does | Settings |
|---|---|---|
| Combine same-customer shipments | Merges awaiting shipments in the run that belong to the same customer — like the Combine button, so merge rules are skipped | Re-run automation rules on the merged shipment (split rules are never re-run after a merge) |
| Fetch weather | Attaches the latest destination forecast to every shipment in the run (Weather app) | — |
| Add tags | Adds the chosen shipment tags to every shipment in the run; tags already on a shipment are kept | Tags to add |
| Remove tags | Takes the chosen shipment tags off every shipment in the run; other tags are kept | Tags to remove |
| Re-run automation rules | Evaluates your Automation rules again on the shipments in the run and applies their tag and append actions. Rules normally run only when a shipment is created, so this brings older shipments up to date with today's stock or a rule you added since. Split rules are never re-run, and only Awaiting shipments are changed | Which rules — All active rules (except splits), Selected rules (pick them under Rules), or Stock-sensitive rules only |
| Notify the team | Puts an alert in Alerts, linked to the run, with your own text. Write {count} for the number of shipments in the run and {routine} for the routine name | Level, Title, Message, and Only when the run has at least this many shipments (leave empty to notify on every run) |
| Print document | Opens a Document for the shipments in the run with the filters already applied | Document, Location (only rows stocked at this location), Filter rows by condition, Label split — One label per line item / One label per unit / Ask each time — and Sort rows by |
| Manual check | A reminder in the checklist | Instructions and an optional Link to open (shown as an Open button) |
Steps run in order. Combine, weather, tags, automation rules and notifications run on their own; printing and manual checks need an operator — the run pauses there and waits for someone.
Run a routine
By hand
On Routines, click Run now (or open the routine and click it there). The run page opens with the frozen shipment list and the steps:
| Button | Meaning |
|---|---|
| Run / Retry | Execute an automatic step (retry after a failure) |
| Print / Print again | Open the document for printing — the step stays In progress until you Mark done |
| Open | Follow a manual step's link |
| Mark done | Complete a manual or print step |
| Skip | Skip a step; you can add a short reason, which is kept on the run. Steps marked Optional are the ones expected to be skipped some days |
| Run all remaining | Run every automatic step that is still pending, stopping at the next one that needs a person |
| Refresh shipment set | Re-evaluate the view and pull in shipments that arrived since the run started |
| Abandon | Close the run without finishing it. Start a new one from the routine page |
An unfinished run shows Continue run on the routine instead of Run now. Each step reports what it did — Merged 6 shipments into 3 shipments, Weather attached to 12 shipments, Tagged 12 shipments, Printed.
Fetch weather shows Waiting until the forecasts are attached, so a pick list or label printed in the next step always has them. The page updates by itself. If a few shipments get no forecast (an address without a city or postal code), the step finishes after 10 minutes and says no forecast for 2.
On a schedule
Turn on Schedule in the routine editor:
- Start time — store local time. If the server misses the slot (maintenance, downtime) by up to 3 hours it catches up; later than that the day is skipped.
- Days — Monday to Sunday toggles; leave them all unselected to run every day.
At start time the automatic steps run without anyone logged in. When the run reaches the first step that needs an operator, it stops and raises the alert Routine ready for you — open it from Alerts and pick up at the step shown under Started by schedule.
A scheduled run looks after itself:
| Situation | What happens |
|---|---|
| An earlier day's run was never finished | It is closed (Closed by the next scheduled run) and today's run starts. The alert tells you which run was closed |
| Someone has a run of the same routine open today | The schedule does not start a second one. You get Scheduled routine needs attention |
| The view matches no shipments | The run completes at once (No shipments matched). No alert |
| An automatic step fails | It is tried again after 2 minutes, then after 10. Only when the third try fails do you get Scheduled routine needs attention. The run page shows will be tried again and the time of the next try; Retry runs it now |
| A step can never work as set up (Weather is turned off, the tags were deleted) | No retries: Scheduled routine needs attention right away, with the reason |
| The server restarts in the middle of a step | The step is marked interrupted after 20 minutes and tried again |
A paused routine (enable switch off) cannot be started and its schedule does not fire. Pause instead of deleting when you stop using one for a while.
Managing routines
- Duplicate creates a paused copy — review it, then enable it.
- Delete removes the routine and its run history.
- The list shows the last run — Completed · 12 shipments · 06:31 · by schedule — and the schedule summary (Mon–Fri at 06:30).
Practical examples
| Routine | Steps |
|---|---|
| Morning livestock dispatch (scheduled 06:30, Mon–Fri) | Combine same-customer shipments → Re-run automation rules → Fetch weather → Add tags AM Dispatch → Notify the team "{count} shipments ready to print" → Print Fish labels (Location: Main Warehouse, condition Livestock, one label per unit) → Print Packing slip → Manual check "Load the van, tick the manifest" |
| Afternoon supplies (run by hand) | Combine same-customer shipments → Print Pick list (condition Supplies) → Print Packing slip |
| Pre-holiday check | Manual check with a link to the carrier's holiday schedule → Add tags Holiday hold |
Tips
- Build the view first and check it with Preview shipment set — a routine is only as good as its view.
- Put print-only conditions in a rule group named Printing so the Filter rows by condition list stays short (see Documents).
- Use Optional for steps that do not apply every day, so nobody has to type a reason to skip them.
- One routine per bench or per product family is easier to follow than one giant one.
Related
- Views — the shipment set a routine runs over
- Split & merge — what the combine step does
- Documents · Printing — what the print step opens and where it prints
- Automation rules — what the re-run step evaluates
- Alerts — Routine ready for you, Scheduled routine needs attention, and your own Notify the team alerts