DeleteFileorFolder

Estimated reading: 3 minutes 2137 views

This activity helps the user to delete a specific file or folder in the connected google account.

Properties

Configuration

Each activity requires a connection with Google Drive API. Once you select the respective project name where Google Drive has been integrated, the activity will automatically retrieve the available connections for that project.

Below are the properties available after the project has been integrated:

Google Drive: This parameter indicates the account name associated with the integration.

INPUT

FileorFolder: *This parameter indicates to provide the existing File/Folder that needs to be deleted. It offers multiple ways to choose the folder:

1. Browse Option: When selecting the “Click on Browse” option, it will automatically list the folders available for the specified account. The user must manually select the spreadsheet each time when using this option.
2. Three-Line Menu: Clicking on the “Three lines” icon will open a context menu with the following two options.
a. Reload Folder Picker: Refreshes the selected folder to select another folder if required.
b. Use Variable: Allows you to provide the “Folder Name” as a variable in “String” format. You can either hardcode the values as a string or use a variable of the “String” datatype. Below are the values that can be provided as variable,
     i. URL or ID: After creating the folder in the specified Google account, you will receive the Folder’s URL and ID. You can use these as a reference to add a new folder.

Force Delete: It indicates to delete the file or folder permanently without moving it to “Trash” folder and cannot be recovered.

Normally, files deleted from Google Drive are moved to the trash, where they can be restored later. But this option will let you to delete the file/folder permanently.

MISC

DisplayName: Displays the name of the activity. The activity name can be customized, which aids in troubleshooting.

SkipOnError: Specify the “Boolean” value as “True” or “False.”

True: Continue executing the workflow regardless of any errors thrown.
False: Halt the workflow if it encounters any errors.
None: If the option is left blank, the activity will, by default, behave as if “False” were chosen.

Version: It indicates the version of the feature being used.

OUTPUT

Result: It provides the ability to view the execution status of the activity. It returns values in “Boolean.”

True: Indicates that the activity has been executed successfully without any errors.
False: Indicates that the activity has been unsuccessful due to an unexpected error being thrown.

Represents mandatory fields to execute the workflow.

Share this Doc

DeleteFileorFolder

Or copy link

CONTENTS