How can I have two versions of the same flow exist in the repository at once?

I am looking to deploy two versions of the same flow depending on the week. The flow is in a project, and I want to deploy the project with each flow version rotating on a weekly basis. Is there a way both flows can exist and allow me to choose which to deploy?  

Comments

  • Hello,  

     

    One way this can be done is by creating two different branches of the project in the repository. These branches would have the whole project with the two different versions of the flow in discussion. Depending on which flow needs to be deployed, you can merge that flow into your main trunk/branch that is server is pointed to. After merging the flow, you can perform the deployment as usual. The following steps will demonstrate how this can be created and implemented.  

    Note: This may change depending on the branch connected servers point to. 

    Step 1: Checkin Project (with Version 1 of flow) to Trunk in Repo. 

    Step 2: Create Branch (Version 1) from trunk. 

    Step 3: Make changes to flow -> Checkin Project (with Version 2 of flow) to Trunk in Repo.  

    Step 4: Create Branch (Version 2) from trunk.  

    <Depending on which version they wish to deploy> 

    Step 5: Merge flow (only difference between versions) from Branch (Version 1 or 2) to trunk.  

    Step 6: Check out trunk.  

    <Repeat process for different version> 

    For additional information regarding the repository:

    Repository Overview

Sign In or Register to comment.