Merging Workflows

Merging workflows in Warewolf allows multiple developers to work on the same workflow and make changes which can later be easily and efficiently merged. A world-first in flow-based programming.

The Merge tool takes two workflows or services with the same resource ID and finds the conflicts between them. The developer can then select the changes which should be kept. These can be changes made to tools, connected states or the workflow name.

1. In the Explorer, right click on the service that you would like to merge. A menu will appear, click Merge.

If your workflow is already open, right click on the Start node and click Merge.

2. The Merge Versions popup will appear. The previous version will automatically be selected if there is only one. If there is more than one version, select the version by clicking on the version number and then click Merge.

3. The Merge tab will open showing your [current] version and the previous version which you saved [v.1].  Your current version will be shown on the design surface on the right and as you make changes they will be reflected here.

If there are no conflicts between the versions, a green tick will be displayed. If there are conflicts, you will be able to choose the changes that you would like to keep by selecting the radio button or check boxes for the relevant conflict.

4. In this example, the Assign tool has a green tick next to it. This shows that there are no conflicts and that the Assign tool is the same in both workflows. Next, we have the option to choose between our current version which does not have the Data Split tool, and v.1, which does have the Data Split tool. By selecting not to keep the Data Split tool, we can see that the Data Split tool is not shown on the design surface on the right and the Assign Tool is connected to the Replace Tool.

5. Selecting the Data Split tool will add it to the workflow. The Data Split tool is not connected to any of the other tools and sits above the connection of the Assign Tool and the Replace Tool. The connectors will need to be changed accordingly in the next step.

6. To connect the Assign tool to the Data Split tool, click on the respective radio button. You can see the connector arrow appear on the design surface.

7. To connect the Data Split tool to the Replace tool, click on the respective radio button in the list. The connector arrow will now appear on the design surface.

8. It is important to check that your connector flow is correct before saving the merge. To save the changes you have made in the merge, click Save.  The new workflow service will open in a new tab and the saved merge will be shown as a merged version in the Explorer.  To show the merged and saved version, right click on the service that you have already merged, then click Show Version History.

It’s really that easy to merge workflows in Warewolf.

FacebookTwitterLinkedInGoogle+Email
Updated on May 18, 2018

Was this article helpful?

Related Articles

Enjoying Warewolf?

Write a review on G2 Crowd
Stars