Skip to main content
Version: Current

File Exists

Description

Checks whether a file exists in Google Drive.

If the file exists and is accessible to the authenticated Google account, the activity returns the file metadata.


Common Capabilities

Process Data Support

info

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

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 check.

You can:

  • Select a file using the Google Drive Picker.
  • Provide a Google File Reference returned by a previous Google Drive activity.
  • Provide a file identifier dynamically through Process Data.

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 file exists.

ValueMeaning
TrueThe file exists and is accessible.
FalseThe file does not exist or is not accessible.

Metadata

Metadata describing the file.

Metadata is populated only when the file exists.

Common metadata includes:

  • File ID
  • File Name
  • MIME Type
  • Parent Folder
  • Created Time
  • Modified Time
  • Web View Link

For details, see:


Remarks

  • The authenticated Google account must have access to the file.
  • Metadata is returned only when the file exists.
  • A result of False may indicate that the file does not exist or that the authenticated user does not have permission to access it.