I’m trying to build a complex array consisting of a List of Dictionaries (it goes deeper down the rabbithole, but that´s not an issue).
The flow (attached) goes through a loop that builds the dictionary and adds it to a list (of Dictionary). However, when I try to use the object further down the Main Flow, all it contains is the last dictionary added. When I check within the flow, I can see that it writes the dictionary to index 0 on every pass. What am I doing wrong?
LecturaCaso.xaml (60.8 KB)
Plan B would be to use invoke code and write that piece of code myself, but honestly, there’s no logical reason why the activity should behave like this, especially since I’m using the same activity to build the dictionary and it works just fine there…
Thanks in advance