Action group: Collections
Replaces the value for the selected key in the dictionary
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Dictionary | Dictionary for processing. | Robin.Dictionary | Yes | |
Key | Key in the dictionary | Robin.String | Yes | |
New value | New dictionary value by the specified key | Robin.Object | Yes |
If nothing is specified in the "New value" parameter, the value of the key will change to empty.
If a non-existent key is specified in the "Key" parameter, an error will be caused.
There is a variable "Dictionary" with values:
It is necessary to change the value of key "1" to "Saint-Petersburg".
Use the "Replace value" action.
The value with the key "1" has been replaced by "Saint-Petersburg".