Publish and lifecycle
What this page is — the life of one of your organisation's workflows: Draft and Published, the Check list and every rule in it, Publish and Unpublish, changing a workflow that is already in use, and Delete and Restore.
What it is for — deciding when a workflow is ready for colleagues to run, and changing or retiring it later without breaking anyone's work.
The problem it solves — a workflow that half works is worse than none: a run that stops at a paused persona or a missing tool still spends credits on the steps before it, and the person running it cannot fix it. Publishing is the gate that keeps unfinished workflows out of the Run library.
Route: /org/ai-workflow-build and /org/ai-workflow-build/<id>/edit (the Status panel) ·
Permission: Publish or unpublish your organisation's workflows so they can (or can no longer) be
run.
1. The two states
| Draft | Published | |
|---|---|---|
| Badge | Draft | Published with a tick |
| In AI Workflow - Build | Yes, for everyone who can see the Build list | Yes |
| In AI Workflow - Run | No — and it cannot be started by any other route either | Yes, with the My organisation badge |
| Can be edited | Yes | Yes, after a confirmation, and only if it stays runnable (section 6) |
| How it gets there | New and duplicated workflows start here; Unpublish and Restore return here | Publish |
Orbit workflows have neither state as far as you are concerned: they are read-only and appear in Run whenever Orbit has them switched on for your industry.
2. Why you would use it
- Build in private. A Draft can be edited for days without anyone running it by mistake.
- A quality gate. Publish refuses a workflow whose steps cannot run, so runners never meet a half-built one.
- Change safely. Edits to a published workflow are checked against the same rules before they are saved.
- Retire without losing history. Unpublish or delete keeps every past run and its costs.
3. Who sees what, at each stage
| Stage | Builders (can see Build) | Runners (can run workflows) | Reviewers (can approve) |
|---|---|---|---|
| Draft | See it, edit it if they can change workflows | Do not see it | Nothing to review |
| Published | See it with the Published badge | See it in the Run library and can run it | Approve the runs that reach a review step |
| Published, being edited | See it; the saved version is what runs | Keep running the last saved version; changes apply from the next run | Unaffected |
| Unpublished | See it as Draft | It disappears; runs already in progress finish | Can still act on runs in progress |
| Deleted | Only those who can delete, on the Deleted tab | Gone from Run; past runs keep their history | Can still act on runs in progress |
A Draft cannot be run, even by its builder. To try a workflow with real inputs, publish it with a description such as Trial — do not use yet, run it, and unpublish it if it needs more work.
4. Check
Every saved workflow shows a Status panel under its name in the builder, with Check and, for people who may publish, Publish or Unpublish.
Check lists every problem without changing anything. It checks the saved version, so save first. Anyone who can open the builder can use it.
| Dialog title | Means |
|---|---|
| Ready to publish — No problems found. This workflow can be published. | Nothing to fix |
| Ready to publish, with a list under Warnings (do not block) | It can be published; read the warnings |
| Fix these before publishing | At least one error, shown with a red mark |
Each line starts with the step's name (or Unnamed step), followed by the problem.
5. Field reference — every publish rule
Errors block publishing. Warnings do not.
| Rule | Message you see | Kind |
|---|---|---|
| The workflow has a name | Give the workflow a name. | Error |
| Every input-form field has a key | Input field N has no key. | Error |
| No key is used twice | Input key "…" is used twice. | Error |
| At least one step is switched on | Add at least one enabled step. | Error |
| Every loop contains a step | A loop has no steps inside it. | Error |
| Every enabled step has an output name | Give the step an output name so later steps can use its result. | Error |
| An AI persona step has a persona | Choose a persona for this step. | Error |
| Its persona is active | Persona "…" is paused. Resume it or choose another. | Error |
| Its persona has a working model | Persona "…" has no active AI model. | Error |
| A Utility step has a utility | Choose a utility for this step. | Error |
| A Tool call step has a tool | Choose a tool for this step. | Error |
| The tool is switched on and verified by Orbit | The selected tool is switched off or not verified by Orbit. | Error |
| The tool is connected for your organisation | The selected tool is not connected for your organisation. | Error |
| Human review is not inside a loop | Human review steps cannot be inside a loop. | Error |
{{inputs.x}} names a field of the form | Uses {{inputs.x}} but the input form has no field "x", so it will be empty. | Warning |
{{steps.N…}} names a step that exists | Uses {{steps.N…}} but there is no step N. | Error |
{{steps.N…}} names a step that runs earlier | Uses {{steps.N…}}, which runs after this step. | Error |
{{loop…}} only inside a loop | Uses a {{loop…}} value outside a loop. | Error |
| Only the sources inputs, steps, project, org and loop | …which is not a known source (inputs, steps, project, org, loop). | Error |
| Personas, utilities and tools are ones your organisation may use | Persona "…" is not available to your organisation. · Utility "…" is not available. · The selected tool does not exist. | Error — also refused when saving |
Disabled steps are left out of these checks. Wiring is checked in each step's inputs and in its step instructions; conditions are not checked. For the variable rules see Wiring and variables.
6. Publish, Unpublish and editing a published workflow
Publish
Press Publish in the Status panel, or the rocket icon on the card in the Build list. It is greyed out with Save your changes first while there are unsaved changes. Orbit runs the checks again; with no errors the toast reads Published. It is now available in AI Workflow - Run. From the list, a refusal opens "…" cannot be published yet with the errors and the advice Open the workflow, fix these, save, then publish again.
Unpublish
Press Unpublish (or the arrow-back icon on the card). A window asks Unpublish this workflow? — It will disappear from AI Workflow - Run. Runs already in progress finish normally. Confirm with Unpublish. The toast confirms it is back to Draft.
Editing a published workflow
Saving a published workflow asks Save changes to a published workflow? — It stays published: your changes apply to the next run. Runs already in progress are not affected. Confirm with Save changes.
Orbit then checks the change against the errors in section 5. If it would stop the workflow running — wiring to a step that no longer exists, or a loop left empty — nothing is saved. A window The workflow was not saved lists the problems (Fix these problems and save again.), and the message reads This workflow is published and these changes would stop it running. Fix them, or unpublish it first. Warnings never block a save.
7. Delete and Restore
Delete is the bin icon on your own cards (it needs Delete and restore your organisation's workflows.). The window Delete this workflow? says the workflow will be removed from your organisation — and from AI Workflow - Run if it was published — that Past runs keep their history, and that you can restore it later as a Draft. The toast says you can restore it from Deleted.
Deleting always unpublishes. On the Deleted tab the card shows Deleted and the date, and one action: Restore (comes back as a Draft). A restored workflow returns to My organisation as a Draft, with its steps, wiring and form intact; publish it again when ready.
| While deleted | |
|---|---|
| Edit or duplicate it | Not possible — restore it first |
| Its personas | Still count as in use: a persona cannot be deleted while any workflow uses it, deleted ones included — see Duplicate, pause and delete |
| Its past runs | Kept, with their costs |
8. Worked example: changing a busy workflow
Riverside Interiors' Client Proposal is published and used daily. The director wants a new Budget band field and a review step only for large jobs.
- The builder opens it — three steps: the AI draft, Director review and a Send to client utility — adds the field, and adds a condition to Director review. Save Changes asks to confirm; she confirms. Designers' next runs show the new field.
- Next she drags the Send to client step, which reads the draft as
{{steps.1.proposal_draft}}, to the top of the list. Saving is refused: that step is now step 1, and the list shows it uses{{steps.1…}}, which runs after this step. She drags it back and saves. - A month later the studio replaces the workflow with a new version. She duplicates it, finishes the copy, publishes the copy and unpublishes the original. Old runs of the original remain readable.
9. Before this works
| Requirement | Without it |
|---|---|
| Publish or unpublish your organisation's workflows so they can (or can no longer) be run. | No Publish or Unpublish buttons; Check still works |
| Delete and restore your organisation's workflows. | No bin icon and no Deleted tab |
| Change your organisation's workflows: input form, steps, wiring, conditions and loops. | Cannot fix what Check reports |
| Active personas with active models, available utilities, connected tools | Check reports errors |
10. Don't confuse this with…
| This | Is not |
|---|---|
| Unpublish | Delete. Unpublish keeps it on My organisation as a Draft; Delete moves it to Deleted |
| Draft | A disabled step. Draft is the whole workflow; a disabled step is one step switched off |
| An Orbit workflow disappearing from Run | Unpublish. Orbit switches its own workflows on and off — see Orbit templates and duplicate |
11. Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
| No Publish button | Your role lacks the publish permission, or the workflow is not saved yet | Ask someone who can publish; save first |
| Publish greyed out | Unsaved changes | Save Changes |
| Check is clean but publishing fails | Check looked at an older saved version, or a persona was paused in between | Save, Check again |
| A save is refused on a published workflow | The change would make it unrunnable | Fix the listed errors, or unpublish first |
| A restored workflow is not in Run | Restore brings it back as Draft | Publish it |
| The Deleted tab is missing | Your role cannot delete | Ask an administrator |