Dictionary includes activities for working with key-value pairs, allowing efficient storage, retrieval, and manipulation of data where each value is associated with a unique key.
The Dictionary category has the following sub activities:
Add To Dictionary: This activity is used to add key-value pairs to a dictionary.
Input Properties:
Dictionary– Specify the dictionary variable to which the key-value pairs will be added.
Key– Specify the key to be added to the dictionary.
Value– Specify the value to be associated with the given key in the dictionary.
IsOverwrite– Select this check box to overwrite the value if the key already exists in the dictionary.
Build Dictionary: This activity is used to create a new dictionary for storing keys and values.
Input Properties:
Build– Add the desired number of keys and their corresponding values to the dictionary.
Output Properties:
Dictionary– Stores the added key-value pairs in the dictionary variable.