With our process flow versioning system, you can be sure that a process flow that's currently deployed will never be edited (possibly with breaking changes) while it's in use.
To edit a deployed processed process flow, you take a copy as a draft and work on that - when you're ready, you can then deploy your draft.
Each time that you deploy a new version of a process flow, the previously deployed version is saved as an inactive version for future reference and, if required, future use.
For any process flow, there's always one draft version, one deployed version, and any number of inactive versions.
At any given time, a process flow can be associated with one of the following version types:
Version | Is set when... | Can be edited? | Transitions |
---|---|---|---|
There is always one draft version of a process flow. The draft version can be edited freely without any possibility of changing or breaking the version that's currently deployed. With a draft version, you can add/update shapes, and change the process flow name.
Any trigger shape settings defined for a draft version are ignored - draft versions are never triggered to run automatically.
When you're working with a draft version of a process flow, you can take the following actions:
Enable/disable the process flow. If you enable a process flow when viewing a draft version, there's no impact on the draft version. However, the deployed version will start to run automatically as per its trigger shape settings.
Run manually. Use this option to run the draft process flow immediately.
If you choose to run the draft version of a process flow manually, the draft version runs and any target connections will be updated. Where possible, it's always best to use sandbox connections when you're editing and testing draft process flows.
The deployed version of a process flow is the one that's currently in use (if it's enabled) or ready for use (if it's disabled).
The deployed version of a process flow cannot be edited - shapes can't be added/updated, and you can't change the name. The only actions that you can take with a deployed version of a process flow are:
Enable/disable the process flow. Just because a process flow version is deployed, it doesn't necessarily mean that it will be triggered to run automatically as per trigger shape settings. For this to happen, a process flow must be both deployed AND enabled.
Run manually. Use this option to run the process flow immediately.
Copy to draft. When you do this, the process flow remains deployed and an exact copy is taken as the current draft version, ready for you to edit - the existing draft version is discarded. This is a good solution if you've been editing a draft but reached the point where you need to restart from a known sound point.
Each time a draft version of a process flow is deployed, the previously deployed version becomes an inactive version - so you have a full version history for all deployed versions of a process flow.
An inactive version of a process cannot be edited - shapes can't be added/updated, and you can't change the name. The only actions that you can take with an inactive version of a are:
Enable/disable the process flow. If you enable a process flow when viewing an inactive version, there's no impact on the inactive version. However, the deployed version will start to run automatically as per its trigger shape settings.
Run manually. Whilst you can use this option to run the process flow immediately, it's not recommended.
Copy to draft. When you copy an inactive version to draft, an exact copy is taken as the current draft version, ready for you to edit (the existing draft version is discarded). There's no impact on the deployed version.
Deploy. When you deploy an inactive version, it becomes the currently deployed version. The previously deployed version becomes a new inactive version, and the existing draft is not affected.
If you run an inactive version of a process flow manually, the inactive version runs and any target connections will be updated.
You can view all versions of a process flow via the settings panel.
When you access a process flow, the version being viewed is noted in the title bar. If you are viewing a deployed or inactive version, you'll see a message advising that edits cannot be made, and the version number is displayed beneath the title.
The version number is not the same as the version id.
To switch between different versions of a process flow, access the versions list and select the required entry.
Deploying the draft version of a process flow - or deploying an inactive version without editing it as a draft first - is a simple one-click operation from the versions list.
If you want to edit the currently deployed version of a process flow - or an inactive version - you must first copy it to draft. The existing draft version is replaced by the version you copy.
Draft The process flow is being built.
A new process flow is added
A deployed version is copied to draft
An inactive version is copied to draft
Yes
Deploy
Deployed The process flow is currently in use, or ready for use.
A draft version is deployed
An inactive version is deployed
No
Copy to draft
Inactive The process flow was previously deployed but superseded by a later deployment.
A draft process flow is deployed
An inactive process flow is deployed
No
Copy to draft
Deploy