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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Getting tasks from an ...
Power Automate
Answered

Getting tasks from an specific bucket

(0) ShareShare
ReportReport
Posted on by 16

I'm using Power Automate to dump information from Planner to an Excel file.

 

I have several Teams groups, each of them with several channels -every channel represents a different project-, and there's a Planner plan for every channel. Every plan has 4 buckets, first of them with a unique task that acts as a description of the channel/project.

 

I want to access just that single task for every plan, so I have designed a flow:

 

1. List teams
2. Apply to each:
    2.1. List plans for a group
    2.2. Apply to each:
        2.2.1. List buckets
        2.2.2. Apply to each:
            2.2.2.1. Condition

 

Condition is the key step, where I filter the name value of the first bucket.

 

JavierBlanco_0-1676387850002.png

 

            2.2.2.2. List tasks

            2.2.2.3. Apply to each:

                2.2.2.2.1. Add a row into a table

 

The flow works, but not the Condition step, and I get all the tasks from the rest of the buckets.

 

JavierBlanco_1-1676387908983.png

 

I think the issue might be related to List tasks step, where I'm asked to give ids both from groups and plans, so maybe that's the reason why the flow doesn't care about buckets: something related to hierarchy?

 

Any hints? Thanks in advance!

Categories:
I have the same question (0)
  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @JavierBlanco ,

     

    The 'list tasks' action cannot return the tasks from the specified bucket. It will return all buckets' tasks from the plan.

    You can try to add a filter aciton after the 'list tasks'.

    vxiaochenmsft_0-1676438829178.png

     

    Best Regards,

    Wearsky

  • JavierBlanco Profile Picture
    16 on at

    Thanks for your answer, @v-xiaochen-msft, but it doesn't seem to work. 

     

    JavierBlanco_0-1676451828762.png

     

    Anyway, I'm using "Value name equals to Descripción del proyecto" cause the id of the first bucket changes with every plan.

  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @JavierBlanco ,

     

    I made a sample for you.

    vxiaochenmsft_0-1676452801244.png

    vxiaochenmsft_1-1676452815844.png

    vxiaochenmsft_2-1676452876079.png

    vxiaochenmsft_3-1676452907710.png

     

    vxiaochenmsft_4-1676452935609.png

    vxiaochenmsft_5-1676452977812.png

    vxiaochenmsft_6-1676453012351.png

    body('Filter_array_2')?[0]?['id']
     
    Best Regards,
    Wearsky

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 60 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 54

#3
Expiscornovus Profile Picture

Expiscornovus 47 Most Valuable Professional

Last 30 days Overall leaderboard