cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Update Task in Planner when Completed Task in Outlook

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-p...

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 😄

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Frequent Visitor

Re: Update Task in Planner when Completed Task in Outlook

Hi @v-yamao-msft,

 

I used this solution https://www.youtube.com/watch?v=mzTVaYV1w8g.

This is working fine for me. 

 

Thank you!

Marie 

View solution in original post

15 REPLIES 15
Highlighted
Community Support
Community Support

Re: Update Task in Planner when Completed Task in Outlook

Hi @MarieL,

 

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 Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Frequent Visitor

Re: Update Task in Planner when Completed Task in Outlook

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

Highlighted
Community Support
Community Support

Re: Update Task in Planner when Completed Task in Outlook

Hi @MarieL,

 

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 Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Frequent Visitor

Re: Update Task in Planner when Completed Task in Outlook

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 

 

Highlighted
Community Support
Community Support

Re: Update Task in Planner when Completed Task in Outlook

Hi @MarieL,

 

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 Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Frequent Visitor

Re: Update Task in Planner when Completed Task in Outlook

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

Highlighted
Community Support
Community Support

Re: Update Task in Planner when Completed Task in Outlook

Hi @MarieL,

 

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 Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Frequent Visitor

Re: Update Task in Planner when Completed Task in Outlook

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 

Highlighted
Community Support
Community Support

Re: Update Task in Planner when Completed Task in Outlook

Hi @MarieL,

 

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 Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Frequent Visitor

Re: Update Task in Planner when Completed Task in Outlook

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

Highlighted
Community Support
Community Support

Re: Update Task in Planner when Completed Task in Outlook

Hi @MarieL,

 

What’s your current situation?

Is it working for you now?

 

Best regards,

Mabel

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Frequent Visitor

Re: Update Task in Planner when Completed Task in Outlook

Hi @v-yamao-msft,

 

I used this solution https://www.youtube.com/watch?v=mzTVaYV1w8g.

This is working fine for me. 

 

Thank you!

Marie 

View solution in original post

Highlighted
New Member

Re: Update Task in Planner when Completed Task in Outlook

Hi,

 

I am having same issue with flow... task in getting completed in planner without me completing it in Outlook 

 

Youtube video isn't available 

 

@v-yamao-msft - any solutions 

 

 
 
 

flow 1.jpgflow 2.jpg

Highlighted
New Member

Re: Update Task in Planner when Completed Task in Outlook

I'm also having the same issue, the Planner Task is set as Completed even when it is not Completed in Outlook Tasks.

 

The video is also not available.

Highlighted
Frequent Visitor

Re: Update Task in Planner when Completed Task in Outlook

I was able to solve this by adding a delay of 1 min between Get Task and Update Task actions inside Do Until loop

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Users online (7,947)