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 / Getting tasks from an ...
Power Automate
Unanswered

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
    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
    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

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard