Edit, save and publish a workflow version
Updated
Who can do this: Super Admins, Creators and Integrators
A published workflow is read-only. To change it, you start a draft, save your edits and publish the draft as the next version. Runs keep using the published version until you publish.
Workflows are available when they're turned on for your organization. If you don't see Workflows in the menu, contact your OnRamp team.
Before you begin
Editing and saving a draft needs permission to create and edit workflows. Publishing needs permission to publish workflows. A button you can't use is turned off and shows a permission message.
A workflow has one draft at a time.
Start a draft
Go to Workflows and open the workflow.
Select Edit from v<N>. The number is the version on screen.
If the workflow already has a draft, Draft Workflow from v<N> opens. Choose one:
Load Current Draft opens the draft that exists, with its saved edits.
Override Draft replaces that draft with a copy of the version on screen. The earlier draft's edits are lost.
The message "Draft workflow created" confirms a new draft. The cards in the flow can now be edited.
Save your edits
Change the trigger and the cards in the flow.
Select Save.
The message "Draft workflow saved" confirms it. A saved draft isn't live. You can leave and come back to it later.
If you leave with unsaved edits, Discard Changes asks whether to discard them.
Publish the draft
Save the draft. Publish is turned off while there are unsaved edits.
Fix any card marked as incomplete. Publish is turned off until the workflow has a trigger and every card is valid.
Optional: select Debug to test the draft against a CRM record.
Select Publish.
The message "Workflow published" confirms it. The draft becomes the next version, and new runs use it from then on. A run keeps the version it started with: a run that was already waiting for approval creates its project from the earlier version. A re-run uses the current published version.
Important: Publishing also resumes a paused workflow. If the workflow should stay paused, pause it again after you publish.
View or edit from an earlier version
In the workflow's header, select the version number, for example v3. You can also select the Versions icon in the left panel.
Select a version. The draft, if there is one, is listed under Draft. Published versions are listed under In use with who published them and when.
To base new edits on the version you're viewing, select Edit from v<N>.
The live version is the one named in the workflow's header, next to who published it and when. Viewing an earlier version doesn't change which version is live.
Save your edits as a separate workflow
To keep the workflow as it is and put your edits in a copy, select More save options next to Save, then Save as New Workflow. See Duplicate a workflow.