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 / Flow is updating all o...
Power Automate
Unanswered

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

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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.

 

 

flow screenshot 1.png
flow 2 et 3 screenshot groupé.jpg
flow screenshot 4.png
Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    69,601 Most Valuable Professional on at

    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

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

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

     

    it would help a lot! 

     

  • Pstork1 Profile Picture
    69,601 Most Valuable Professional on at

    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

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 276 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 169

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard