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 / Update Task in Planner...
Power Automate
Answered

Update Task in Planner when Completed Task in Outlook

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi!

 

 

I created a Flow that creates a task in Outlook task when a task was assigned to me. Now I also would like to complete the task in Planner after completing the task in Outlook. 

I used the method from this Discussion https://powerusers.microsoft.com/t5/General-Flow-Discussion/Completing-Outlook-task-then-completes-planner-task/m-p/81004#M10568

FlowFlow

 

This Flow always sets the task in planner to completed even if I did not set the task completed in Outlook or Planner. The task is sent to Outlook and set to completed in planner immediately.

How can I create a Flow that only works when it is necessary?

 

Thanks for Help 😄

Categories:
  • v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    It seems that there is something wrong with the condition you are using in the Do-until loop.

    We should select value from the action within the do-until but not from the previous action.

    Please select dynamic content Status from action “Get task” instead of “Create a task”.

    I have made the following flow which is working fine.

    1.PNG 

     

    Best regards,

    Mabel

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @v-yamao-msft,

     

    thank you for your answer. 

    I changed the content to "get task" but still the task is automatically completed in Planner without any actions from me in Outlook. 

    Do you think it could work if I create two separate flows? Or do you have any other suggestions?flowoutlookplanner.PNG

     

    Thanks again!
    Marie

  • v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    Please add the action Update a task within the Do-until loop under action Get task.

    Please take another try with it.

     

    Best regards,

    Mabel

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @v-yamao-msft,

     

    one part is working, the Planner Task is not automatically completed. But unfortunately the action is not working. I have no respond at Planner after completing the task in Outlook. See the Error:

    PlannerError.PNG

    planner2.PNG

    Thank you!

    Marie 

     

  • v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    Please make sure you select the dynamic content Value Id from the trigger.

    Please create a new task in planner to trigger the flow and try again.

     

    Best regards,

    Mabel

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks for your patience. I noticed that I didn’t set the status in the last example, that’s why nothing happened.

    Anyways I followed your instruction but still the same result. The task is marked as completed immediately after I created and assigned it. I created new tasks in Planner and also used existing task, same result.  

    I disabled all other flows, to make sure there is no other mistake.

    Please see the following:

     

    That’s how the task is created in Outlook.That’s how the task is created in Outlook.

    Subject includes IF to match the Planner ID with the Planner Name and title of the Task.

    Due Date is set to today if it is zero and the format is changed

    Start Date – format is changed

    Status is set “not Started”

     

    Do until.PNG

    I use the ID from the create a task body. If I use something else, I get an error.

     

     

    update a task.PNG

    Here I use the Id from trigger Body and set Status to completed. 

     

    I also tried to separate the two steps but I couldn´t get it working. And tried to add condition instead of do until.

    I appreciate any help!

     

    Thank you!

    Marie

  • v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    Please share a full screenshot of your current flow.

    The issue you mentioned didn’t occur when testing it on my side.

     

    Best regards,

    Mabel

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @v-yamao-msft,

     

    Do you wait a little while testing the flow? It takes up to 1 min before the task is automatically set to completed. In the beginning I didn’t notice the failure because I was faster than the flow and then it seems to work. But if I wait 1 min the flow is set to completed.

    I did not change anything to the previous post.

    Please see below:

    FlowPO.PNG

     

    Thank you!

    Marie 

  • v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    Thanks for the picture.

    Instead of adding the action Update a task under the Do until loop, please add it within the loop.

    Please click the “Add an action” within the Do-until loop to add the action.

    1.PNG

     

    Best regards,

    Mabel

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @v-yamao-msft,

     

    same result when I add the action within the loop. Tested different combinations several times. 

    For example, I get the same result if I use “is equal to” or “if not equal to”.

    planner3.PNG

    Do you know how exactly the function is working in the background? For me it seems that the loop is running without checking the condition. I was reading other posts with similar errors (like https://powerusers.microsoft.com/t5/Building-Flows/Do-until-do-not-working-properly/m-p/73215) . But found no solution.

    Thank you!
    Marie

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

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 317 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 247

#3
Henil Profile Picture

Henil 117

Last 30 days Overall leaderboard