How to write data to dictionary in uipath



Created a new variable in Uipath as below
defaultValuesArray = newe Dictionary(Of String, String)
but I’m unable to write data into this dictionary. I’ve add 33 values into variable. Could some one please help me to solve this issue ?


Hi @Old_Musical_Hits,

Step 1
There is an activity Add To Dictionary, choose that activity.

Step 2
Then go to properties, enter your dictionary name, key & value


Thanks for the solution. I’ve to install “Microsoft.Activities.Extensions” first to get this option.


Hi @Old_Musical_Hits,

You may also initialize the dictionary like this:

closed #5