Put all keys

Put all keys

Table of Contents

Note: This task is applicable only to Zoho Creator.

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);

Share this post : FacebookTwitter

Still can't find what you're looking for?

Write to us: support@zohodeluge.com