Multi Type Dictionaries in Studio

This one is pretty complicated, so I am using Python as an example:

I want to mimic this exact list structure in UiPath Studio. The problem arises with how you must declare variable types in Studio:
image

For the “Error List” dictionary it is easy enough to declare that as a dictionary of type <String, ArrayList>, but how can I mix string and dictionary types within a dictionary? Is it even possible?

@phaynes

Set dictionary(string,object)

That should work

Also you can declare string and array list also if you need to

Cheers

1 Like

Just make it “of string, object” and then the value can be any datatype.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.