Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Flow is updating all of my Planner tasks instead of just one

(0) ShareShare
ReportReport
Posted on by

Hi,

 

I created a flow that creates a task automatically in Planner whenever I receive an email in a shared mailbox and it also set the flow to update a task when someone replies to the email that created the task initially. The first part of the flow works fine as the task is being created when I receive an email in my shared mailbox. However ,for the second part, when I receive an email reply on my shared mailbox the flow updates all the tasks that exists in my Planner instead of a particular one.

 

I need help to make the second part work please.

 

Find below screenshots of my current flow.

 

Thank you.

 

 

  • Pstork1 Profile Picture
    67,060 Most Valuable Professional on at
    Re: Flow is updating all of my Planner tasks instead of just one

    In this example I used the subject line of the original email as the title of the task in Planner when it was created.  This is how you update it when you receive a reply.

    image.png

  • Community Power Platform Member Profile Picture
    on at
    Re: Flow is updating all of my Planner tasks instead of just one

    Could you provide an example or a visual representation of the solution,

     

    it would help a lot! 

     

  • Pstork1 Profile Picture
    67,060 Most Valuable Professional on at
    Re: Flow is updating all of my Planner tasks instead of just one

    Your problem is the use of the Apply to each around the update task action.  You need to find some way to filter the task list that is returned so that you can update a specific task using the TaskId.  The problem is that you won't know the TaskId from the email.  So you'll need to 

    1) Get a list of all your tasks

    2) Filter that list using something from the email, maybe the subject if that is used originally to create the task

    3) Parse the filtered list to gain access to the values

    4) Run your apply to each on the filtered list that only contains the one task you want to update

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1