Help Centre › Building Processes
This article describes the RPA File functionality to file exist.
For a full list of available functions, please read FILE functions.
Description
The FILE File exist function allows you to file exist.
Setting it up
To use the FILE File exist function, follow these instructions:
{{popups:rpas/add:action=file-exist}}
Once on a process map:
- Navigate to the process where you would like to add the FILE File exist 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 File exist option
- Click "Add" once you are done
Input parameters
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| File | Yes | Text | - | The path to check |
| Variable | Yes | Text | - | Variable to store the result (true/false) |
Output variables
| Variable | Type | Description |
|---|---|---|
| Variable | Boolean | True if the file exists, false otherwise |
Errors
This action does not produce specific errors.
Tips
- Always check if a file exists before trying to open or process it