Help Centre › Building Processes
This article describes the RPA File functionality to open a file.
For a full list of available functions, please read FILE functions.
Description
The FILE Open a file function allows you to open a file.
Setting it up
To use the FILE Open a file function, follow these instructions:
{{popups:rpas/add:action=file}}
Once on a process map:
- Navigate to the process where you would like to add the FILE Open 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 Open 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 open. |
| Read-only | No | Boolean | Off | Open the file in read-only mode. |
| Auto-save | No | Boolean | Off | Automatically save changes. |
| Update links | No | Boolean | Off | Update external links when opening (Excel files only). |
Output variables
This action does not produce any output variables.
Errors
| Error | Description |
|---|---|
| File not found | The specified file does not exist. |
| File in use | The file is already open in another application. |
Tips
- Open Excel files before performing any Excel actions on them.
- Use read-only mode when you only need to read data.