I need to update a status column as “Value not found” if the key is not found in the dictionary.
Since I’m getting “The given key was not present in the dictionary” exception I can’t able to perform the process as requirement.
Is there any way how to proceed on this even if the exception occurs?
Anil_G
(Anil Gorthi)
2
Hi @priyanka_raja
Use a try catch around it and it will catch the exception or use continue on error property
Cheers
ppr
(Peter Preuss)
3
you can check defensive e.g. within an IF Activity with YourDictionaryVar.ContainsKey(YourKey)
This will be best solution.
system
(system)
Closed
5
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.