Skip to content
jarvossGet started

Edit, test and roll back an existing workflow

Change a published Jarvoss flow safely by editing a draft, comparing it with the published version, testing it and returning to an earlier version if needed.

LiveUpdated

Published versions never change. To change a flow you edit its draft, review the difference and publish a new version. A run that is already in progress keeps the version it started with.

1. Open the draft

In Flows, open the flow and choose Edit with AI or edit the step fields directly. The advanced editor shows the structured settings. The builder, Create with AI and MCP clients all share one draft, with a revision number.

Over MCP, call get_workflow to read the draft revision and the current published definition. Then call edit_workflow with only the operations you want: add, update, remove or move a step, or set the trigger or restrictions. Other settings are preserved.

2. Preview the change

preview_workflow, or Preview in the builder, reports what changed from the published version, including new capabilities, restrictions, approvals and missing scopes.

3. Test the exact revision

Run a test for the draft. Reads are real and writes are mocked. When using MCP, pass the draft revision to test_workflow so the test is bound to the revision you reviewed.

4. Publish

An owner or admin publishes. If an MCP client requests publication, the request goes to the Inbox and an owner or admin approves the exact draft. Publishing creates the next numbered version and registers its triggers.

5. Roll back

If the new version misbehaves, roll back to an earlier version in Flows, or use rollback_workflow with the version number. Rolling back is recorded, and the earlier version becomes the active one.

Check the result

Open Runs to confirm new runs use the version you expect. See Runs.