LEAPWORK provides the functionality to copy or duplicate the flows/sub-flows. Here is the details explanation of copy or duplicate feature:
The copy option is used to make a copy of flow/sub-flows, this feature will copy only the flow/sub-flow leaving references to the original locators (images, web/desktop elements, sub-flows, files). Copy uses a mechanism called a shallow copy that simply creates a reference to the flow. If any amendment is made to the flow, it reflects into all its references. The flow can be pasted into the same project and across projects.
This feature duplicates the flow/sub-flow, all locators (images, web/desktop elements, sub-flows, files) will be created as duplicate. Duplicate uses a mechanism called deep copy. The new flow/sub-flow has no reference back to its origin and is not impacted by any updates made to the original flow. The flow can be pasted into the same project and across projects.
Here is an example of how to copy and duplicate flow in LEAPWORK.
- Right Click on Flow or Sub-flow to Copy:
- Now, Paste the flow or sub-flow to the required folder
- Choose the option to Copy or Duplicate as per your requirements.
For any clarification, please contact our Priority Support.