Collection Management

Add to Dictionary

Adding an entry (pair: key-value) to the dictionary. Dictionaries do not allow duplicated keys.
Dictionaries are used to store values. They are presented in pairs: key and value. You need to specify the type of key and the type of value to store in a dictionary. After dragging the activity to the flowchart opens an input window to select the type from the dropdowns first and immediately after opens the activity.

v2_coll_dict-add1
v2_coll_dict-add

You can use Assign variable to add new pair to a dictionary or to replace an existing value in a dictionary.

v2_coll_dict-add3
Parameter NameParameter TypeIn/OutDescription
Alternative Scenario If FailedBooleanInputcheckbox; default is "on"
DictionaryLiteralInputdictionary name
Display NameLiteralInputchanges display name of the activity
Exclude from Transaction CheckBooleanInputcheckbox; default is "off"
KeyvariousInputthe key data; its type depends on a chosen Key Type
Key TypeDropdownInputselect dictionary key type from the dropdown list
ResultBooleanOutputreturns a Boolean value. True if no error in activity, otherwise will return False
Result CodeInt32OutputResult Code will return 0 if there is no error in activity, otherwise in most cases it will return 1, the extended result code will show only in several chosen activities
ValuevariousInputthe value data; its type depends on chosen Value Type
Value TypeDropdownInputselect value type from the dropdown list

Last edited: 2023, 31 May