After you deploy a workflow, you may want to make a change to it and deploy a new version. As long as you saved the workflow as a workflow template when you created it in Conductor Studio, you can update the template, save it, and publish a new version at any time. When you edit a template, you are not editing the actual workflow.
You are prompted several times during the workflow creation process to save your workflow template. Simply click Save when you are prompted to do so and give the template a name. This template is what you will use to create a new version of the workflow.
NOTE: Workflow templates are saved in the Conductor database and can be accessed by clicking Open in the Workflow Conductor Studio ribbon.
Workflow versioning is handled differently depending on how the workflow was deployed. Click on the link below that applies to the workflow deployment method configured in the Workflow Conductor Control Panel to learn how to create a new version of workflows deployed using that method:
Versioning for Simple Publishing Workflows
To create a new version of a workflow published using a Simple Publishing option (i.e., Publish to List, Publish to Site, Publish to Site Collection, or Publish as Site Workflow), follow these steps:
Step | Action | Result |
---|---|---|
1. | Open Workflow Conductor Studio from the list ribbon of the list where the workflow runs. In Conductor Studio, go to Workflow > Open and open the workflow template used to publish the workflow the first time. | |
2. | Make the required changes to the workflow and save the changes. When the Save dialog appears, be sure to check Overwrite existing files so the existing template is updated with your changes. |
|
3. |
Publish the updated template. Workflow Conductor Studio detects that there is already a published workflow with the same name and will ask if you want to overwrite it. Select Publish to publish the new version and overwrite the old one. |
Instances of the old workflow version that are in progress will continue to run until they are complete. New instances of the workflow will run as the new workflow version.
|
4. |
If you click Workflow Settings from the list ribbon, you will see the version history of workflows. Clicking the Remove a workflow link will allow you to remove the old versions, if desired. |
![]() |
5. |
On the Remove a workflow page, you will see that only the most recently published version of the workflow is marked Allow. The older versions are marked No New Instances. To remove an old version, mark the Remove button and click OK. |
|
Versioning for Solution Deployment Workflows
The Solution Deployment method deploys workflows as farm solutions. If you want to deploy a new version of a workflow solution, you have two options:
-
Deploy the new version with a different name.
If you do not need to use the same workflow name, edit the workflow template and give the workflow a new name. Deploy the workflow with the new name. You can disable the old version to prevent users from starting new instances of it and remove the old workflow when you don’t need it anymore. -
Remove the old version before deploying the new version.
If you want to use the same name for the new workflow version, you must first retract and remove the existing workflow solution. Instances of the workflow that are in progress will be terminated when the workflow is removed.
For more information, read KB.12500 – HOWTO: Deploy a New Version of a Workflow Conductor Workflow Solution in the Bamboo Knowledge Base.
NOTE: Solution Deployment workflows can overwrite Simple Publishing workflows of the same name directly from Conductor Studio. You do not need to remove the existing published workflow before deploying the new workflow solution.