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

Community site session details

Session Id : xECS6+6ipD5lXoce4nJ8uX
Power Automate - Building Flows
Unanswered

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

Like (0) ShareShare
ReportReport
Posted on 20 Jan 2023 14:38:37 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.

 

 

I have the same question (0)
  • Pstork1 Profile Picture
    67,592 Most Valuable Professional on 20 Jan 2023 at 19:13:31
    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 20 Jan 2023 at 15:36:46
    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,592 Most Valuable Professional on 20 Jan 2023 at 14:44:23
    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 840 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 712 Super User 2025 Season 2

#3
stampcoin Profile Picture

stampcoin 373 Super User 2025 Season 2

Last 30 days Overall leaderboard