Choose where you’d like to start

Clear map

Table of Contents

Overview

The clear map deluge task empties a specified map variable by permanently removing all its key-value pairs.

Syntax

<map_variable>.clear();
ParameterDescription
<map_variable>

The map variable which will be emptied.

Data type is Key-value.

This task can be used in the following events

When a record is Created
On LoadYes
On ValidateYes
On SuccessYes
On User inputYes
Subform on add rowYes
Subform on delete rowYes
When a record is Created or Edited
On LoadYes
On ValidateYes
On SuccessYes
On User inputYes
Subform on add rowYes
Subform on delete rowYes
When a record is Edited
On LoadYes
On ValidateYes
On SuccessYes
On User inputYes
Subform on add rowYes
Subform on delete rowYes
When a record is Deleted
On ValidateYes
On SuccessYes
Other workflow events
On a scheduled dateYes
During approval processYes
During payment processYes
In a Custom FunctionYes
In an Action item in reportYes

Example

The following snippet removes all key-value pairs from the Company_details map variable.

Company_details={"Name":"Zoho","Products":{"Zoho Creator","Zoho Chat","Zoho CRM"};
Company_details.clear();

Get Started Now

Execute