How to get Planner bucket ID by using bucket name?
I am trying to pull a planner bucket ID from the corresponding name of the bucket. So far, my screenshot below only pulls the ID of the first bucket in the list. I need to do this multiple times for different buckets, but I cannot due to this. Any idea how to fix? Thanks.
@chandlerwillis 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:
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.