Choose where you’d like to start

Remove key

Table of Contents

Overview

The remove key deluge task removes a specified key and its value from a specified map variable.

Syntax

<map_variable>.remove(<key>);
ParameterDescription
<map_variable>

The map variable from which the specified key and its corresponding value will be removed.

<key>

The key which will be removed along with the value.

If the specified key is not found, no error is encountered.

All data types are applicable.

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 the key-value pair "Version":5 from the map variable.

details = {"Company": "Zoho", "Product": "Creator", "Version":5};  
details.remove("Version");  
info details;  
// returns {"Company": "Zoho", "Product": "Creator"};

Get Started Now

Execute