FILE File exist function

The FILE File exist function in RPA.

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

  1. Navigate to the process where you would like to add the FILE File exist 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 File exist option
  5. Click "Add" once you are done

Input parameters

ParameterRequiredTypeDefaultDescription
FileYesText-The path to check
VariableYesText-Variable to store the result (true/false)

Output variables

VariableTypeDescription
VariableBooleanTrue 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

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.