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...
Flow
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.
Hi @v-yamao-msft,
I used this solution https://www.youtube.com/watch?v=mzTVaYV1w8g.
This is working fine for me.
Thank you!
Marie
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.
Best regards,
Mabel
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?
Thanks again!
Marie
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
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:
Thank you!
Marie
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
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.
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!
Thank you!
Marie
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
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:
Thank you!
Marie
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.
Best regards,
Mabel
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”.
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
Hi @MarieL,
What’s your current situation?
Is it working for you now?
Best regards,
Mabel
Hi @v-yamao-msft,
I used this solution https://www.youtube.com/watch?v=mzTVaYV1w8g.
This is working fine for me.
Thank you!
Marie
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
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.
I was able to solve this by adding a delay of 1 min between Get Task and Update Task actions inside Do Until loop
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!
User | Count |
---|---|
17 | |
14 | |
7 | |
6 | |
5 |
User | Count |
---|---|
24 | |
18 | |
10 | |
8 | |
7 |