Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
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!

  • Verified answer
    v-xiaochen-msft Profile Picture
    on at
    Re: Getting tasks from an specific bucket

    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
  • JavierBlanco Profile Picture
    16 on at
    Re: Getting tasks from an specific bucket

    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.

  • v-xiaochen-msft Profile Picture
    on at
    Re: Getting tasks from an specific bucket

    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

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow