Skip to main content

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​

DraftPublished
BadgeDraftPublished with a tick
In AI Workflow - BuildYes, for everyone who can see the Build listYes
In AI Workflow - RunNo — and it cannot be started by any other route eitherYes, with the My organisation badge
Can be editedYesYes, after a confirmation, and only if it stays runnable (section 6)
How it gets thereNew and duplicated workflows start here; Unpublish and Restore return herePublish

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​

StageBuilders (can see Build)Runners (can run workflows)Reviewers (can approve)
DraftSee it, edit it if they can change workflowsDo not see itNothing to review
PublishedSee it with the Published badgeSee it in the Run library and can run itApprove the runs that reach a review step
Published, being editedSee it; the saved version is what runsKeep running the last saved version; changes apply from the next runUnaffected
UnpublishedSee it as DraftIt disappears; runs already in progress finishCan still act on runs in progress
DeletedOnly those who can delete, on the Deleted tabGone from Run; past runs keep their historyCan still act on runs in progress
There is no private test run

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 titleMeans
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 publishingAt least one error, shown with a red mark

Each line starts with the step's name (or Unnamed step), followed by the problem.

Figure 1 — Errors block publishing; warnings do not: (1) problems that stop publishing, (2) warnings you may publish with, (3) close and fix them.

5. Field reference — every publish rule​

Errors block publishing. Warnings do not.

RuleMessage you seeKind
The workflow has a nameGive the workflow a name.Error
Every input-form field has a keyInput field N has no key.Error
No key is used twiceInput key "…" is used twice.Error
At least one step is switched onAdd at least one enabled step.Error
Every loop contains a stepA loop has no steps inside it.Error
Every enabled step has an output nameGive the step an output name so later steps can use its result.Error
An AI persona step has a personaChoose a persona for this step.Error
Its persona is activePersona "…" is paused. Resume it or choose another.Error
Its persona has a working modelPersona "…" has no active AI model.Error
A Utility step has a utilityChoose a utility for this step.Error
A Tool call step has a toolChoose a tool for this step.Error
The tool is switched on and verified by OrbitThe selected tool is switched off or not verified by Orbit.Error
The tool is connected for your organisationThe selected tool is not connected for your organisation.Error
Human review is not inside a loopHuman review steps cannot be inside a loop.Error
{{inputs.x}} names a field of the formUses {{inputs.x}} but the input form has no field "x", so it will be empty.Warning
{{steps.N…}} names a step that existsUses {{steps.N…}} but there is no step N.Error
{{steps.N…}} names a step that runs earlierUses {{steps.N…}}, which runs after this step.Error
{{loop…}} only inside a loopUses 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 usePersona "…" 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.

Figure 2 — Saving a published workflow asks first; it stays published: (1) what saving means, (2) keep editing.

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 itNot possible — restore it first
Its personasStill count as in use: a persona cannot be deleted while any workflow uses it, deleted ones included — see Duplicate, pause and delete
Its past runsKept, 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.

  1. 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.
  2. 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.
  3. 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​

RequirementWithout 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 toolsCheck reports errors

10. Don't confuse this with…​

ThisIs not
UnpublishDelete. Unpublish keeps it on My organisation as a Draft; Delete moves it to Deleted
DraftA disabled step. Draft is the whole workflow; a disabled step is one step switched off
An Orbit workflow disappearing from RunUnpublish. Orbit switches its own workflows on and off — see Orbit templates and duplicate

11. Troubleshooting​

SymptomCauseFix
No Publish buttonYour role lacks the publish permission, or the workflow is not saved yetAsk someone who can publish; save first
Publish greyed outUnsaved changesSave Changes
Check is clean but publishing failsCheck looked at an older saved version, or a persona was paused in betweenSave, Check again
A save is refused on a published workflowThe change would make it unrunnableFix the listed errors, or unpublish first
A restored workflow is not in RunRestore brings it back as DraftPublish it
The Deleted tab is missingYour role cannot deleteAsk an administrator