I am having an issue with updating the elements in my list picker. I have attached an image showing the relevant blocks. I am using the variable SelectionList to store the list of elements. I am using a couple of labels (TestLbl) to see the value of the list at various points.
When I run, TestLbl2 gets populated with the value I expect to receive from the web, say ["A","B","C"]. But when I output the same variable again later at TestLbl1, I instead get what I initialized the list to, ["1","2"].
It seems like the value does not get updated outside of the Web Get until after the list picker is executed. If I select the list picker a second time the elements are correct. I have also verified that the value of SelectionList is what I would expect between executions of the list picker. I have tried inserting a time delay between when the Web Get is called and the elements are updated, but that does not work regardless of the delay, the elements for the list picker always come from the initialized values.
I would appreciate any help in how the value of SelectionList is being set and what I can do to get the list picker elements updated the way I desire.