I'm having issues where a ForEach gets added to the flow and I end up in a loop. It would be good to understand where I am going wrong. In this specific example:
I have a table. The main columns are DisplayName, TeamID, ChannelID. I am trying to get the TeamID from the table, lookup the channels within the Team, find the one that matches the DisplayName and then save that ID back to the table.
TeamID is not unique and may exist more than once. DisplayName will be unique. In this example there are 46 rows and TeamID has two different values.
It seems that the first TeamID found runs quickly. The results take 60seconds to complete. Then there is a pause of around 30 minutes and the second ID is processed and these then complete in around 30seconds
1) List the rows
2) List the channels (ForEach automatically created)
3)
Find the channel ID that matches DisplayName row and save back to table (ForEach1 automatically added)
Annoying it does work, but there is a big delay and it looks like a loop to me. The first ForEach finds the 46 rows, but ForEach1 finds only 29.
Until record 29 which then finds 20 items for the ForEach1
Any help greatly appreciated.