I am working on a database with the following structure:
The database is a Dictionary with the key of String type (the names of the persons) and the values of Dictionary (String/Cities, Double/Weight) type.
I am trying to calculate and print the sum of weights for each city which will be stored in a second dictionary using for each activity
Lastly using an Input Dialog activity, the user will be given a list of cities(keys from the second dictionary) and based on their choice the corresponding weight will be displayed.
For the last activity, I keep getting the error Value of type ‘1-dimensional array of String’ cannot be converted to String as I try to get the cities using dict.Keys.ToArray
I am not sure how to fix this or what the workaround to this problem is. Also, I am unable to attach my workbook but if anyone would be interested in
helping me or any inputs would be much appreciated!