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 / Update Task Flow Not W...
Power Automate
Unanswered

Update Task Flow Not Working (Updating Every Task Instead Only The 1 Task)

(0) ShareShare
ReportReport
Posted on by 106

Hi,

 

Background: I have a SP List that contains key dates for my department. I have a flow then when I create an item on that SP List it will create a task for each member assigned to that item. That flow works perfect and thoroughly tested. I also created a flow that if an item on that SP List was updated, the original task would be updated.

 

Problem: The "update task" flow I created updates every task that is still not completed with the details of the SP List item that was updated. It appears that it's not recognizing which specific SP List item was updating and only updating that specific task. It's updating every task even though the SP List items remain unchanged for those other items.

 

Current Flow Design:

martzj_0-1705502174256.png

martzj_1-1705502223249.png

 

I can't seem to figure out where I went wrong that it's updating every task rather than just the one that was modified from the SP List.

 

 

Any help would be appreciated

Categories:
I have the same question (0)
  • creativeopinion Profile Picture
    10,502 Super User 2025 Season 2 on at

    @martzj The logic of your flow needs to be adjusted. Take a look at what the Apply to Each action is looping through.

    creativeopinion_0-1705503252064.png

    It's looping through each item returned from the List tasks action. 

     

    The Update a task action is nested inside the Apply to Each action. This means each time the Apply to Each action loops through (each task) it'll update a task. In your case, it's updating each task in your Planner.

     

    Are you storing the Planner ID in your SP list? If so, you will need to use that dynamic content in the Update a task action. The Apply to Each and List Tasks actions are not required.

    creativeopinion_2-1705503481422.png

     

     

    Take a look a this YT Tutorial I recently uploaded: 3 Mistakes YOU 🫵 are Making with the Apply to Each Action in your Microsoft Power Automate Flow

    In this video tutorial I’ll go over how to avoid these common mistakes when using the Apply to Each action in a Power Automate flow:

    1️⃣ Looping through a Single Item

    2️⃣ Creating Unnecessary Nested Loops

    3️⃣ Looping through an Unfiltered Array

    At the end of the video I share a few helpful insights when it comes to using the Apply to Each action in your flow.

    I'll also cover:

     How to avoid the Apply to Each action with a single item array

     How to use the item() function to access dynamic content in an array

     How to prevent unnecessary nested Apply to Each action loops

     How to use the Select action

     How to convert an array to a string with the Select action

    How to use the Filter Query field

     How to count the number of items in an array

     How to use a condition control

     How to use the concurrency control

     How to set a top count

     How to use Compose actions for troubleshooting

     

    Hope this helps!


    If I helped you solve your problem—please mark my post as a solution .
    Consider giving me a 👍 if you liked my response! If you're feeling generous— ️  Buy me a coffee: https://www.buymeacoffee.com/acreativeopinion

    👉 Watch my tutorials on YouTube
    👉 Tips and Tricks on TikTok

  • martzj Profile Picture
    106 on at

    @creativeopinion 

     

    It automatically applies the "apply to each" the moment I add "Update task", everytime i delete it and readd it, it doesnt allow me to have it not occur within that loop

     

    What is the best way to fix this flow? What should I use in replace of "value"?

     

    I am not storing that, how would I accomplish that?

  • creativeopinion Profile Picture
    10,502 Super User 2025 Season 2 on at

    @martzj Are you strictly editing in the Classic Designer? If you are using the New Designer, I'd recommend editing in the Classic Designer only. The New Designer still has bugs.

     

    When you say 'replace of "value"'... are you referring to the dynamic content entered into the Task Id field?

    creativeopinion_0-1705507999798.png

     

    In order to update the Planner task you need the Task Id. If you are using your SharePoint list to push updates to planner, you will need to store the corresponding Planner Task ID in your SharePoint list. Alternatively if there is another field in your SharePoint list that matches the task in Planner, you can use that.

  • martzj Profile Picture
    106 on at

    @creativeopinion 

     

    It appears then I must start storing that ID in my SP List. Is this a flow or how can this be accomplished?

     

    Thank you for your help

  • creativeopinion Profile Picture
    10,502 Super User 2025 Season 2 on at

    @martzj You can get the task ID from the task link.

    creativeopinion_0-1705510064772.png

    The ID appears after Task/ and before the ?

    creativeopinion_1-1705510097353.png

     

    Once you have the Task ID in your SP List, you can then use it in the Update Task action.

     

    Hope this helps!


    If I helped you solve your problem—please mark my post as a solution .
    Consider giving me a 👍 if you liked my response! 

    👉 Watch my tutorials on YouTube
    👉 Tips and Tricks on TikTok
  • martzj Profile Picture
    106 on at

    @creativeopinion 

     

    Thank you. One last thing. How do I update the condition to reflect the Planner Task Id? What values should be in the red circles?

     

    My flow is below:

    martzj_0-1705511136010.png

     

  • Verified answer
    creativeopinion Profile Picture
    10,502 Super User 2025 Season 2 on at

    @martzj Can you show the full flow? What trigger are you using? I'm not understanding the logic. If the Trigger is When a SP Item is Updated—you can use the Planner ID dynamic content from the flow trigger in the Update a task action.

    creativeopinion_0-1705515525125.png

     

    What's the reason for the Get User Profile action?

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