Choose where you’d like to start

Put all keys

Table of Contents

Overview

The put all keys deluge task inserts all key-value pairs present in one map variable(map_variable2) to another map variable(map_variable1).

Syntax

<map_variable1>.putAll(<map_variable2>);
ParameterDescription
<map_variable1>

The map variable to which the key-value pairs will be added.

Data type is Key-value.

<map_variable2>

The map variable whose key-value pairs will be added to <map_variable1>

If a duplicate key is specified, its new value will overwrite the existing value in <map_variable1>, and the new key-value pair will not be added.

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 snippets add key-value pairs present in city_list2 to city_list1

city_list1 = {"Anchorage":"99501","Phoenix":"85001"};
city_list2 = {"Little Rock":"72201","Beverly Hills":"90213"};
city_list1.putAll(city_list2);
info city_list1; //Returns {"Anchorage":"99501","Phoenix":"85001","Little Rock":"72201","Beverly Hills":"90213"}

Get Started Now

Execute