Add to Hash Map
The Add to Hash Map action adds a new
value to the hash map based on a group and key. Once added,
the variable is retrieved with either the Find
in Hash Map or List Keys in Hash
Map actions.
Parameter descriptions
Parameter | Description |
---|---|
Group | A compound string used for the group that the key and value pair will be added to. With each $ (variable) name you type, a corresponding row is added to the Input tab. For formatting options, see Using compound strings. |
Key | A compound string used for the key that identifies the value in the hash map. With each $ (variable) name you type, a corresponding row is added to the Input tab. For formatting options, see Using compound strings. |
Replace Existing | When True, replace the current value of a key with the value supplied by the Item input parameter. |
Input tab
Parameter | Description |
---|---|
Item | The item to add to the hash map. This value can be any type of variable in the system, but is stored internally as a string. |
other | Depending on the values for the Group and Key parameters, additional input items may be available to correctly build the group and key strings. For more information, see Using compound strings. |
Routing tab
On Result | Description |
---|---|
Success | The action completed successfully. |
Failure | The action encountered a failure. |
Already Exists | The key is already present in the hash map, and the Replace Existing parameter is set to False. |