Find File Path

The Find File Path action under the @Generic Element is used to find a file in a given folder location and store the result in an dynamic variable.

Syntax

Input Value: <file name>;<folder path>

Argument
Description

<file name>

(Required)

Provide file name to search particular file

<folder path> (Required)

Provider folder path in which the Action should search for the specified file.

Output Value:

Argument
Description

<Dynamic Variable> (Optional)

This variable holds the path of the file

<Dynamic Variable> (Optional)

This variable stores the status as true or false

Example

Search for a document in a nested folder structure The Find File Path action supports searching for files even within nested subfolders inside the provided folder path (e.g., New Orders.txt;C:\sam). Once found, the full path of the file is stored in the {File path} variable, and the action status is saved in the {Status} variable with the following possible values:

  • True if the file is found in the given folder or its subfolders

  • False – if the file is not found or access to the folder is denied

Last updated

Was this helpful?