Workflow states
Draft, Published, and Paused workflows can all be edited. A workflow that is being turned off or deleted can briefly show Deprovisioning while Ravenna stops its runs.
Drafts can’t be run, so there is no way to try a workflow before it is published. Learn how to test a workflow safely with a narrow trigger filter.
Publish a workflow
1
Finish every step
Choose an action for every Select action event placeholder and fill in each step’s required fields. Steps with problems are highlighted in the builder.
2
Turn the workflow on
Turn on the switch in the top-right corner of the editor. The label changes from Off to On. From the workflows list, you can also select the Draft badge on a row and choose Published.
3
Fix anything publishing flags
If a step still has a problem, the workflow stays off and the step is highlighted. Fix it and turn the switch on again.
- Every step has an action and its required fields are filled in
- Every dynamic value points at an earlier step that still exists
- Fields that take JSON contain valid JSON
- Each step’s settings are valid in your workspace
Edit a published workflow
You can edit a published workflow while it keeps running. Runs that start while you edit still use the published version. As soon as your edits differ from it, the editor header shows Unpublished changes with Publish and Discard options.When you select Publish, choose how to treat runs that are already in progress:The dialog shows how many active runs Stop & Publish will stop.To throw your edits away, select Discard. The workflow returns to its last published version. This can’t be undone.
Pause or turn off a workflow
Turn off the switch in the editor to open the Deactivate Workflow dialog, then choose:To pause from the workflows list, select the Published badge on a row and choose Paused. To resume a paused workflow, turn the switch back on, or select its Paused badge and choose Published.
Versions
Every publish saves a snapshot of the workflow as a new version. Each run records the version it used:- The Version column on the Runs tab shows the version as a date, time, and short ID, such as
261118.1432/a1b2c3d4. The version that is live now is marked Current. - Filter runs by Version to compare how runs behaved before and after a change.
- When a run used an older version, its retry options include Retry with latest version. See Troubleshoot and retry.
POST /workflows/revert, passing the workflow ID and a version ID copied from the Version column. Reverting replaces the workflow’s steps with that version’s. Then publish it to make it live.Delete a workflow
Delete a workflow from its row menu in the workflows list. A published workflow is turned off first, which stops any runs in progress. Deleted workflows keep their run history but can’t be restored from the app.To keep a workflow without letting it run, pause or deactivate it instead.Who can publish
Any member of the workspace can create, edit, publish, pause, turn off, and delete its workflows. Guests can’t. The only admin-only action is skipping a wait step on a running workflow.Ravenna Assistant can also publish a workflow when you ask it to. When the workflow has runs in progress, it asks whether to stop them first, the same choice as Publish and Stop & Publish.Tips
- Publish narrowly first. Filter the trigger to a test form, channel, or tag, confirm a few runs, then widen it.
- Default to Publish. Save Stop & Publish for changes where the old version must not finish.
- Pause rather than delete. Pausing keeps the workflow and its configuration ready to switch back on.
- Explain changes in the description. Teammates reading the run history can tell what changed and why.
Learn more about testing a workflow and reading runs and logs