FILE Create a copy function

The FILE Create a copy function in RPA.

Help CentreBuilding 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:

  1. Navigate to the process where you would like to add the FILE Create a copy function
  2. Click on the green button’s drop-down (right side of the green button labelled “Process”)
  3. On the menu that appears, click on the “+ Activity” item
  4. From here you can select the FILE Create a copy option
  5. Click "Add" once you are done

Input parameters

ParameterRequiredTypeDefaultDescription
Source pathYesTextFull path to the file to copy.
Destination pathYesTextFull path for the copied file.
OverwriteNoBooleanOffOverwrite the destination file if it already exists.

Output variables

This action does not produce any output variables.


Errors

ErrorDescription
File not foundThe source file does not exist.
Destination existsThe destination file already exists and overwrite is off.

Tips

  • Use variables in the destination path for dynamic file naming.

Related functions

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.