I have two lists with similar names -- one just has "_forms" after its name. The fields are almost identical but there's a couple unfortunate naming mismatches. But that mismatch helped me discover what is wrong with my flow.
I was troubleshooting and outputting the following, expecting them to be the same:
items('For_each_5')?['group_key']
outputs('Get_current_security_group')?['body/group_key']
The flow is iterating through the items in the first list and for each one, does a lookup by id into the second list. However, my output is showing that nothing was being returned for the second list. When I dig into the Run, it says it's pulling from the correct list name (the ids match), however, the resulting fields list are from the first list! Even stranger, it's not even pulling in the group_key field (which exists in both lists) and therefore it outputs as empty.
Am I hitting a strange bug or what's going on??