Delete File
Description
The Delete File activity deletes a specified file from IB Drive.
The deleted file is moved to the Recycle Bin and is no longer available at its original location in IB Drive.
Common Capabilities
Process Data Support
This activity supports dynamic configuration using variables from the Process Data drawer.
You can bind values from Model Data, Form Data, System Data, Enterprise Variables, and Activity Outputs.
Learn more → Using Process Data
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 to be deleted.
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.
Wait All Incoming
Controls how this activity behaves when multiple incoming execution paths converge.
Determines whether the activity executes when:
- any incoming path completes, or
- all relevant incoming paths complete before execution
Learn more → Execution Control
On Error
Defines how the workflow behaves if this activity encounters a runtime error.
Supported strategies include Fault, Continue, Suspend, and Retry.
Outputs
This activity does not return any outputs.
Remarks
- The specified file must exist in IB Drive when the activity executes.
- Deleting a file removes it from its current location and moves it to the Recycle Bin.
- The activity does not permanently delete the file from IB Drive.
- Deleted IB Drive files can be managed from the IB Drive category in the AI Command Center Recycle Bin.
- Any subsequent activity attempting to access the deleted file at its original location will no longer be able to find it.