Copy Designer Folder
  • Updated on 07 Jul 2017
  • 1 minute to read
  • Print
  • Dark
    Light

Copy Designer Folder

  • Print
  • Dark
    Light

This tutorial demonstrates how to ‘Deep Copy’ Designer Folder . This feature was introduced in Decisions 4.0 and allows designers to copy Designer Folder with all entities in that Folder .
Example:
In this example we are going to demonstrate how to use Copy Designer Folder action.
For this example we created a Designer Folder with Flow, Form, and Rule.
To learn how to create Designer Folder , please click here .
Here is a document on adding Flows, Forms, and Reports to the Designer Folder.
2017-12-20_105626.png

Our Flow looks as following… For simplicity of the example we just connected Start and End Step.
2017-12-20_105953.png

The Form just has a Button control…
2017-12-20_110034.png

And, the Rule has no Rule Steps…
2017-12-20_110214-1024x173.png

Next, we click Copy Designer Folder option from Folder Actions.
2017-12-20_110518.png

Copy Designer Folder window pops up… First, we provideNew Name for our Folder . If we check Copy To Root check-box, our Folder will be created as Root Folder in Tree . Otherwise, we need to specify Parent Folder . We click Pick underNew Parent Folder option.
2017-12-20_111053.png

In the resulting pop-up window we pick a Folder and click Ok .
2017-12-20_111054.png

Then, if we check Select Entities To Exclude check-box we will be able to control which items we need to be copied to the new Folder . When finished, we click Ok .
2017-12-20_111330.png

Our Folder is copied… If we navigate to it, we can see that only Flow was copied as we excluded other entities in Copy Designer Folder window.
2017-12-20_111547-1024x314.png

We are going to edit our copied Flow next…
2017-12-20_111735.png

Simply add any step and save the Flow
2017-12-20_112016.png

Next, we navigate to Original Folder and edit the Flow .
2017-12-20_113816.png

We can see that original Flow is not edited…
2017-12-20_113943.png

Next, we compare Flow IDs … In the copied Folder we locate Flow and clickManage > Get Flow ID.
2017-12-20_114153-1024x433.png

The ID of copied Flow
2017-12-20_114334.png

… is different from the ID of the original Flow which tells us that they are two different unrelated Flows . This is why this action calls*‘Deep Copy Designer Folder’* .
2017-12-20_114412-1024x562.png

Was this article helpful?