Skip to main content
Version: Current

Delete File

Description​

Deletes a file from Google Drive.

Files can either be moved to the Google Drive trash or permanently deleted, depending on the activity configuration.


Common Capabilities​

Process Data Support​

info

This activity supports dynamic configuration using variables from the Process Data drawer.

You can bind values from Agent Data, Workflow Data, Form Data, System Data, Enterprise Variables, and Activity Outputs.

Learn more → Using Process Data


Design-Time Configuration​

Display Text​

A user-defined name for the activity, displayed on the workflow canvas to help identify its purpose.

Connection Name​

The configured Google Drive connection used to access Google Drive resources.

File​

The file to delete.

You can:

  • Select a file using the Custom Picker Dialog.
  • Provide a file identifier dynamically through Process Data.

Delete Permanently​

Determines how the file is removed.

ValueBehavior
FalseMoves the file to Google Drive trash.
TruePermanently deletes the file.

Default value: False

warning

Permanent deletion cannot be undone.


Wait All Incoming​

Execution Control

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​

Error Handling Strategy

Defines how the workflow behaves if this activity encounters a runtime error.

Supported strategies include:

  • Fault
  • Continue
  • Suspend
  • Retry

Learn more → Error Handling


Output​

Result​

A Boolean value indicating whether the delete operation completed successfully.

ValueMeaning
TrueThe file was successfully deleted or moved to trash.
FalseThe delete operation was unsuccessful.

Remarks​

  • The authenticated Google account must have permission to delete the file.
  • Users cannot permanently delete files they do not own.
  • When Delete Permanently is set to False, the file is moved to the Google Drive trash and may be recoverable through Google Drive.
  • When Delete Permanently is set to True, the file is permanently removed according to Google Drive permissions and ownership rules.