Resume Order Runs¶
Both the Resume Order Run function in the UI and the orderrun-resume command in the CLI give you an opportunity to resolve problems in your recipe variation and continue with order processing.
Resume an order run¶
You can restart failed order run at the point of failure.
- In the UI, navigate to a resume function.
- On the Orders page, select Resume Order Run from the Actions menu for an order run showing an Error status.
- On the Order Run Details page, click Resume Order Run.
- In the command line interface, run the orderrun-resume command.
Command
Note
Resume function creates a new order run. When a stopped or failed order run is resumed, the system puts the initial run into a Resumed state and starts a new order run to process the remaining nodes of the recipe variation. Note that the two order runs record separate timings and test results, and the initial run retains the Resumed status permanently.
Variable values in resumed run¶
When resuming an order run, the system reloads predefined variables. If any runtime variables share the same names as kitchen overrides, base recipe variables, or variation overrides, their values are overridden. These predefined variables take precedence over values carried over from a previous run attempt.
Warning
If you create runtime variables or ingredient outflow variables that share names with predefined kitchen, recipe, or variation variables, you risk overriding the runtime values during order run resumes.
Visual example in Automation¶
