DeleteRange

Estimated reading: 4 minutes 2257 views

This activity helps the user to delete the specified range of value from the specified spreadsheet.

Properties

Configuration

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

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

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

INPUT

WorkbookName: *This parameter specifies the existing spreadsheet where a new sheet will be added. It offers multiple ways to choose the spreadsheet: 
1. Browse Option: When selecting the “Click on Browse” option, it will automatically list the folders and spreadsheets 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 or spreadsheet.
b. Use Variable: Allows you to provide the “Workbook 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 workbook in the specified Google account, you will receive the workbook’s URL and ID. You can use these as a reference to add a new sheet within the workbook.
   ii. Spreadsheet Name: You can either hardcode the name as a string or provide a variable of the “String” datatype.

Sheet Name: *This parameter specifies the name of the sheet where the range of value needs to be deleted. It provides multiple options for selecting the sheet:
1. Update Range: Refreshes and updates the list of available sheet names, which will appear in a drop-down menu.
2. Use Variable: Allows you to provide the sheet name as a variable in “String” format. You can either hardcode the value as a string or use a variable of the “String” datatype. The following values can be provided as a variable:
a. Spreadsheet Name: You can either hardcode the name as a string or provide a variable of the “String” datatype. (Click here to learn how to retrieve the sheet name from the spreadsheet.)
3. Select Sheet: Allows you to manually select the sheet name from the drop-down menu, which lists the available sheets in the spreadsheet. The user must manually select the spreadsheet each time this option is used.

Range: *It indicates to provide the range of cell values that needs to be deleted in the specified spreadsheet. It accepts values in “String” format, which can be either hardcoded or provided as a variable in the “String” datatype.

Delete Behavior: This parameter allows you to choose the following delete modes:

Clear: The values in the specified range will be cleared, leaving the cells empty.
Row: Deletes the entire rows within the specified range of cells.
Columns: Deletes the entire columns within the specified range of cells.

MISC

DisplayNameDisplays the name of the activity. The activity name can be customized, which aids in troubleshooting.

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

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

Status: It provides the ability to view the deletion status of the range. It returns values in “Boolean.”

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

Represents mandatory fields to execute the workflow.

Share this Doc

DeleteRange

Or copy link

CONTENTS