@Anonymous At a glance it looks correct though you aren't showing the run experience so it's hard to guess what it found when it ran. I would guess that only one bucket ID matched the condition.
I built a similar flow where I wanted to create planner tasks for people (one task per bucket in 4 buckets). I first built an array of the people's names and the name of the bucket. Foreach person, I did the List buckets, and foreach bucket, I have the same condition check if value name = the bucket name from my array for that person. If it matched, I set a variable to the bucketID which I used in a subsequent create planner task in that bucketID for that person. Here is my flow:



My LongProduct value was added as an expression like this:
items('Foreach_PO')['LongProduct']
How many buckets do you have, and what results did the Compose show for all the buckets?
----------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.