Help Centre › Building Processes
This article describes the RPA File functionality to create a copy.
For a full list of available functions, please read FILE functions.
Description
The FILE Create a copy function allows you to create a copy.
Setting it up
To use the FILE Create a copy function, follow these instructions:
{{popups:rpas/add:action=file-copy}}
Once on a process map:
- Navigate to the process where you would like to add the FILE Create a copy function
- Click on the green button’s drop-down (right side of the green button labelled “Process”)
- On the menu that appears, click on the “+ Activity” item
- From here you can select the FILE Create a copy option
- Click "Add" once you are done
Input parameters
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| Source path | Yes | Text | – | Full path to the file to copy. |
| Destination path | Yes | Text | – | Full path for the copied file. |
| Overwrite | No | Boolean | Off | Overwrite the destination file if it already exists. |
Output variables
This action does not produce any output variables.
Errors
| Error | Description |
|---|---|
| File not found | The source file does not exist. |
| Destination exists | The destination file already exists and overwrite is off. |
Tips
- Use variables in the destination path for dynamic file naming.