Find File Path
Last updated
Was this helpful?
Last updated
Was this helpful?
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.
Input Value: <file name>;<folder path>
<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:
<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