Definition and Usage
This command copies a folder into a destination folder. It allows you to specify how to handle cases where the folder already exists at the destination location.
Parameter Values
Input parameters
Parameter | Description | Possible Values | Required | Options / Notes |
Folder to copy | Enter or choose the full path of the folder, or a variable containing the folder, to copy |
| Yes |
|
Destination folder | Enter or choose the full path of the folder, or a variable containing the folder, to be the destination folder |
| Yes |
|
If folder exists | Choose an action if the folder already exists | Skip, Overwrite, Add suffix | Yes | When overwriting a folder, any files in the destination folder that do not have the same name as the files in the source folder will be preserved |
Error handling
Parameter Name | Description |
Throw error & stop | When an error occurs, the action will trigger an error and stop the execution of the entire app. |
Retry command | If an error occurs, the action will retry the command in an attempt to resolve the issue and continue the process. |
Ignore error & continue | When an error occurs, the action will be ignored, and the workflow will continue without interruption. |
Variables produced
This action produces a variable that stores the path of the pasted folder.
Using Variables in Conditions
You can use variables in the folder path fields by inserting them using the {x} format. Previously defined variables can be used to dynamically specify source and destination folders based on runtime conditions.
Notes
Ensure that you have proper permissions to access both the source folder and the destination location.
The "Overwrite" option will preserve files in the destination folder that don't exist in the source folder.
When using "Add suffix", the system will automatically append a number to the folder name to make it unique.
If the source folder contains a large number of files, the copy operation may take some time to complete.