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 / How to complete a Plan...
Power Automate
Unanswered

How to complete a Planner Task when a form is submitted

(0) ShareShare
ReportReport
Posted on by 75

How would i get a specific planner task to close when a form is submitted?

Rogan_0-1707751139387.png

It doesn't seem to be finding any task IDs, what do I put in here?

Categories:
I have the same question (0)
  • Verified answer
    rzaneti Profile Picture
    4,241 Super User 2025 Season 2 on at

    Hi @Rogan ,

     

    You will need some additional steps in your flow. 

     

    Let's assume that I want to update this task to "completed":

    rzaneti_0-1707826226789.png

     

    I will start by listing all tasks in my planner (unfortunately, there is no option to add filters in this action):

    rzaneti_1-1707826270155.png

     

    Then I will add a "Filter array" action, passing the "value" property from "List tasks" as "From", and the filter criteria (in this case, the task name), as "Filter Query". I'm hard coding the name of the task in this action, but you can also set it dynamically:

    rzaneti_2-1707826368014.png

     

    Finally, in the "Update a task" action, I will pass the "id" property from "Filter array" action (be careful to not assign the "id" from "List tasks", as it will result in updating all your planner tasks to complete):

    rzaneti_3-1707826449102.png

     

    After this step, you must notice that Power Automated included a "For each" loop. This is a default behavior, as technically your task to be updated is stored inside an array, which needs to be looped:

    rzaneti_4-1707826537545.png

     

    After running the flow, this is the result:

    rzaneti_5-1707826694813.png

     

     

    Note: I see that you are using the old designer for Power Automate. For this flow, I recommend you to keep using it, as in the new designer for Power Automate some bugs are expected in the "For each". 

     

    Let me know if it works for you or if you need any additional help!

     

    -------------------------------------------------------------------------
    If this is the answer for your question, please mark the post as Solved.
    If this answer helps you in any way, please give it a like.

    http://digitalmill.net/ 
    https://www.linkedin.com/in/raphael-haus-zaneti/ 

     

  • Rogan Profile Picture
    75 on at

    Worked a treat! thank you

  • TravisK2 Profile Picture
    4 on at

    Hey @rzaneti, just stumbled on this post and this is exactly the same problem I am facing. My flow is triggered by a Forms submission, and the idea is to get a specific task to be marked complete in planner. I followed your advice but the flow is still marking all tasks in the planner as "Complete." 

    You mention in your example that you change the hardcoded task to be dynamic, how would I go about doing that for different task names and users assigned. Not entirely sure what to use for the dynamic field.

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 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard