Delete File in Google Drive

Last published at: May 2nd, 2023

Description:

Delete file in GoogleDrive

Inputs

  • selOAuthProvider - Select OAuth provider
  • destinationFilePath - Path to delete file 

Returns

  • True – step executed successfully
  • False – step failed to execute 

Usage:

To use this step, google drive should be configured using Flowwright oAuth connections.

Example:

Let’s build and execute the googleDriveDeleteFileDef example.          

  • Create a new definition called “googleDriveDeleteFileDef
  • Select the definition and click the “design” button
  • Drag a googleDriveDeleteFile step from the toolbox
  • Connect the dots between the start and googleDriveDeleteFile step

  • Click on the “googleDriveDeleteFile” step to configure its properties
  • Configure the following values for the properties as shown on the below graphic

  • Save the workflow definition, create a workflow instance and execute. Step should delete file in google drive.