I am trying to create a dictionary using assign activity. It works fine the first time but when I use it for another dataframe I am getting an error
Main has thrown an exception
Source: Dictionary EC
Message: An item with the same key has already been added.
The keys should be unique, You can’t add duplicate values to Keys. Better check before adding whether the dictionary is having the the current key value.
do you mean to say the dictionary shoudl not contain keys with the same name? because the column i use to make the dictionary doesnt have duplicate values.
You can overwrite existing key values with the Assign activity, but you just can’t add a new key with an existing key. So you can only do the Add part one time.