Having trouble assigning a variable of type Dictionary(Of String, Dictionary(Of String, Integer))

Good Day Guys,
I’m having a trouble assigning a value to a variable. As far as my research goes the code I used seems correct but it just throw an error that says “Expression does not produce a value”. Am I missing something big? I attached a screenshot of my code and error encountered for reference.

Thanks a lot!

Hi @adrian.yap ,

Have you initialize the Dictionary before assigning value?

Hi,

You need to use Invoke Method activity instead of Assign activity because Dictionary.Add returns nothing.

Regards,

1 Like