Collection Management

Exists in Dictionary

Activity checks whether the specified key exists in the dictionary. Activity returns Boolean value (true or false).

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.

Parameter NameParameter TypeIn/OutDescription
Alternative Scenario If FailedBooleanInputcheckbox; default is "on"
DictionaryLiteralInputdictionary name
Display NameLiteralInputyou can change the name of activity for greater clarity of the scenario
Exclude from Transaction CheckBooleanInputcheckbox; default is "off"
KeyvariousInputthe key data; its type depends on a chosen Key Type
Key TypeDropdownInputchoose the Key type from a dropdown list
Value TypeDropdownInputchoose the Value type from a dropdown list
AnswerBooleanOutputvalue returned from activity
ResultBooleanOutputreturns the Boolean value: it will return True if no error is in activity, otherwise it 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

Last edited: 2023, 31 May.