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...
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 😄
Solved! Go to Solution.
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.
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?
Please add the action Update a task within the Do-until loop under action Get task.
Please take another try with it.
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:
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.
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:
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”
I use the ID from the create a task body. If I use something else, I get an error.
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!
Please share a full screenshot of your current flow.
The issue you mentioned didn’t occur when testing it on my side.
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:
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.
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”.
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.
What’s your current situation?
Is it working for you now?
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
Three Super User rank tiers have been launched!
Features releasing from October 2020 through March 2021
We are excited to announce the launch of Power Virtual Agents Community. Check it out now!
We've updated and improved the layout and uploading format of the Power Automate Cookbook!
Fill out a quick form to claim your user group badge now!