I have been using UiPath for a while but recently I have been having an issue with the data types when adding items to a dictionary. I try to add an item to a dictionary using the “Add to dictionary” activity, and I get the following error:
The data types in the dictionary definition and also the variable types in the variable window match (which are <String, String>).
So why is the “Add to dictionary” wanting an <Object, Object> type pair when I have defined the dictionary <Key, Value> pair as a <String, String>. The addition of a new <Key, Value> pair works when I use an “Assign” activity so why is it different for the “Add to dictionary” activity?