web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow issues - Planner ...
Power Automate
Answered

Flow issues - Planner to Excel

(0) ShareShare
ReportReport
Posted on by 2

Hello,

I have a Power Automate flow which I want to be able to get tasks from only one specific bucket from Planner in my Teams group, and then transfer it to my excel shit and the corresponding excel table that suits my bucket. This is how my flow looks.
I have put "xxxx" as I don't wheter or not the bucketid is sensititve information.

I can get the flow to successfully transfer the planner tasks to the desired excel table, but I still have 2 problems.
1: It doesn't recognize that it ONLY needs to take tasks from a specific bucket, even though I have the condition in the beginning of my apply to each. It lists tasks from all the four buckets in the excel table.
2: The same tasks are repeatedly added to the table. For some reason it doesn't identify when a tasks already exists in the table? In the "List rows present in table" step I have set Filter Query = TaskID eq 'value Id'.

Any help would be appreciated! Thank you.

Sorry for the zoomed out picture. It was the only way to get it all.
The formula in condition 2 is as follows:
length(body('List_rows_present_in_a_table')?['value']


 

Categories:
I have the same question (0)
  • Verified answer
    creativeopinion Profile Picture
    10,502 Super User 2025 Season 2 on at
    @CU23011057-0 The logic of your flow needs to be adjusted. Currently you are:
    • Listing Buckets
    • Looping Through Buckets
    • Checking if a bucket is equal to a value
    • Listing Tasks
    • Looping through each task
    • ....
    It's always best practice to have the List [anything] actions OUTSIDE of the Apply to Each loops. This will make your flow more efficient as you need to only get the items once and then take additional actions.
     
    If you are looking to get tasks from a specific bucket you need to do the following:
     
    List Buckets in the root of your flow.
     
     
     
     
    Add a Compose action to output the bucket ID. The Filter Array action will return an array of items. To output a single item (and avoid the apply to each action) you'll need to use an expression.
     
    For detailed instructions, follow this section of the first YT Tutorial linked at the bottom.
     
     
    List Tasks in the root of your flow. Use the Filter Array action to filter out the tasks in a specific bucket.
     
    I would recommend adding a Compose action after a Filter Array action to output the count of items. This can help with troubleshooting and ensure that your flow doesn't error out if there aren't any items found. I cover how to do that in this section of the second YT Tutorial linked below.
     
     

    Are you looking for a way to automate creating Microsoft Planner tasks from Microsoft Form Submissions? In this Power Automate tutorial, I’ll show you how to build this flow that creates tasks in Planner each time a form is submitted.

    First, I’ll show you how to create a task using the Microsoft Form submission data. Then, I’ll show you how to place a task in a specific bucket based on a selection made in the form as well as how to assign tasks to specific users. At the end of the video I’ll show you how to handle Microsoft Form uploads and how you can attach those to your Planner Tasks.

    If you’re looking for a way to quickly create tasks from a SharePoint list or an Excel table—I already have a tutorial on how to do that. Click here to check it out.

    IN THIS VIDEO:
    ✓  How to automate creating Planner tasks from Microsoft Forms submissions
    ✓  How to differentiate between Group Forms and Personal Forms in Microsoft Forms
    ✓  How to build a flow to create tasks using Microsoft Forms data
    ✓  How to dynamically select a bucket in the Create a Task action
    ✓  How to add a task description to a Planner task
    ✓  How to use the List Buckets action in Power Automate
    ✓  How to use the Filter Array action to match form responses
    ✓  How to troubleshoot Filter Array action issues
    ✓  How to use the Condition action to handle bucket creation
    ✓  How to create a new bucket in Microsoft Planner automatically
    ✓  How to use variables to set the Bucket ID dynamically
    ✓  How to assign users to Planner tasks based on form responses
    ✓  How to add multiple users to a task using SharePoint or Excel data
    ✓  How to group actions using the Scope action in Power Automate
    ✓  How to add file attachments to Planner tasks from Microsoft Forms
    ✓  How to parse JSON output for file uploads in Power Automate
    ✓  How to handle empty file uploads in Power Automate
    ✓  How to replace the manual flow trigger with a form submission trigger
     
    ---
     
    To learn more about the Filter Array action, check out these YT Tutorials:
     

    In this video tutorial I’ll show you 3 practical ways to use the Filter Array action and how to use it properly.
    1️⃣ Cross-Referencing Data
    2️⃣ Filtering by Key
    3️⃣ Substring Matching
    Did you know that the Condition action has a limit of 10 conditions? Although it might look like the Filter Array action can only accept one condition—this is not true. By using the advanced mode you can enter multiple conditions into a Filter Array action with an expression.
     
    IN THIS VIDEO:
    ✓ 3 Ways to Use the Filter Array Action
    ✓ How to use the Scope Action to Group Actions
    ✓ How to Check the Number of Items returned from a Filter Array Action
    ✓ How to Cross-Reference Data in Excel with a SharePoint List
    ✓ How the Filter Array Action Works
    ✓ How to Access the Dynamic Content from a Filter Array Action
    ✓ How to Filter Items by a Key
    ✓ How to Filter Items by Matching a Substring
    ✓ How to Use Multiple Conditions in a Filter Array Action
    ---
    Filter Array + Apply to Each: The Best Tip You Need to Know
    In this tutorial—I’m going to show you a quicker way to get the dynamic content from your Filter Array action—and it doesn’t require writing an expression.

    IN THIS VIDEO:
    ✓ How to Loop Through Filter Array Results in Power Automate
    ✓ Using Apply to Each with Filtered Arrays
    ✓ The Easiest Way to Access Dynamic Content from Filter Array
    ✓ Fixing Nested Apply to Each Actions
    ✓ When to Use Value vs. Body Dynamic Content
    ✓ Simplifying Power Automate Flows with Filter Array
    ✓ Troubleshooting Filter Array and Apply to Each Issues
     

     
    Hope this helps!

    Consider giving me a ❤️ if you liked my response!

    👉 Level up your Power Automate skills by checking out my tutorials on YouTube
    👉 Tips and Tricks on TikTok and Instagram

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard