Help Centre › Building Processes
This article describes the RPA File functionality to move / rename a file.
For a full list of available functions, please read FILE functions.
Description
The FILE Move / rename a file function allows you to move / rename a file.
Setting it up
To use the FILE Move / rename a file function, follow these instructions:
{{popups:rpas/add:action=file-rename}}
Once on a process map:
- Navigate to the process where you would like to add the FILE Move / rename a file 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 Move / rename a file option
- Click "Add" once you are done
Input parameters
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| File path | Yes | Text | – | Full path to the file to rename or move. |
| Destination | Yes | Text | – | New file path or name. |
| Overwrite | No | Boolean | Off | Overwrite if a file with the new name 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 | A file with the new name already exists and overwrite is off. |
Tips
- This action can also move files by specifying a different directory in the destination.