File Exists
Description
The File Exists activity checks whether a specified file exists in IB Drive.
The activity returns a Boolean value indicating whether the file was found.
Common settings
Use Process Data to bind supported inputs to workflow values or upstream outputs. See Common Activity Features for shared execution, error-handling, and output-persistence settings. Availability depends on the activity.
Design-Time Configuration
Display Text
Specifies a user-defined name for the activity.
The display text appears on the workflow canvas and can be used to identify the purpose of the activity.
File
Specifies the IB Drive file whose existence needs to be checked.
The file can be specified using one of the following methods:
| Method | Description |
|---|---|
| Select File | Select the file by browsing IB Drive using the file picker. |
| By Id | Specify the unique IB Drive item ID of the file. This is the default method. |
| By Path | Specify the logical path of the file within IB Drive, for example /Agents/InvoiceProcessing/Input/Invoice.pdf. |
The value can also be provided dynamically using workflow data.
This property is required.
Execution settings
Configure Wait All Incoming when execution paths converge, and On Error for failure handling. Select Inherit where available to use the workflow-level error policy.
Outputs
Exists
Indicates whether the specified file exists in IB Drive.
| Value | Description |
|---|---|
| true | The specified file exists. |
| false | The specified file does not exist. |
The returned Boolean value can be used by downstream activities or workflow conditions to determine the appropriate execution path.
Remarks
The check does not modify the file. An item moved to the Recycle Bin is not considered present at its original location. With By Path, supply the complete logical file path, including its name and extension.