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 / Planner create additio...
Power Automate
Unanswered

Planner create additional tasks when a specific task completes

(1) ShareShare
ReportReport
Posted on by 47

I am working on an automation to simplify our onboarding process, we are using planner and I have a flow that is triggered by a submission of a contact form, in addition to other steps it is creating a bucket then creating a task for one person to verify the new hires documentation, once he completes that task I want several other tasks created, I can accomplish this with the "when a task is completed" trigger the issue is that it looks for any task to be completed not a specific one and if there are multiple instances of this flow running it will complete all of them when any task in the planner is completed. This is what I have at the moment, it will sit until the do until times out then just complete the remaining steps whether the initial task has been marked complete or not.

 

flow1.jpg

flow2.jpg

Categories:
I have the same question (0)
  • ChristianAbata Profile Picture
    8,951 Most Valuable Professional on at

    hi @adam0s  I recently did a planner video I hope this can helps

    Power Automate Tutorial - Create Planner Tasks from Excel - YouTube

  • adam0s Profile Picture
    47 on at

    Thank you @ChristianAbata unfortunately this does not answer my question, I need to know how verify that a specific task has been completed and to perform additional steps after that specific task has been completed.

  • ChristianAbata Profile Picture
    8,951 Most Valuable Professional on at

    Oh @adam0s  to do that you need to create a new flow with the trigger see

    trigger.PNG

     

    and then you can manage the task with a condition

  • adam0s Profile Picture
    47 on at

    Thank you again @ChristianAbata This does work however only if there is one instance of this flow running, if for example 2 people fill out the form in the initial trigger, I will have 2 buckets with the initial task created, if I complete the task in one bucket it will complete each instance of the flow that is running. I have tried using other dynamic inputs than title and I have tried adding dynamic data into the task title to try to get the flow to only complete one instance at a time but have had no luck.

     

    adam0s_0-1607609933324.png

     

  • adam0s Profile Picture
    47 on at

    Update: Still not resolved but I believe that I have made some progress, I added dynamic content to the title of the created task and changed the condition to when the value Title from the when a task is completed trigger is equal to the title of the created task, this prevents the other running instances of the flow from also generating additional tasks when this one completes but it still ends the other flow instances with a conditional response of no. So now I just need to figure out what to put in the no side of this condition so that the flow does not end but continues to wait for the trigger from this instance is activated to produce a yes response.

    adam0s_0-1607616166493.pngadam0s_1-1607616231376.png

     




  • adam0s Profile Picture
    47 on at

    I have a very ugly working solution to this problem, it is not perfect and I am hoping someone can help me clean this up. Essentially if the task in planner that completes is the task that the flow is looking for, then the flow completes as desired, if a task is completed in planner that is not the task that the flow is looking for it will go one level deeper into the "no" column, I have repeated this as deep as the nesting limitations will permit so that it will work until it gets a "no" 4 times then it will just end and send me a msg to tell me about it, I need a way to instruct the flow to continue looking for the correct completed task without this limitation. I hope someone can help me sort this out.{50B21C7C-9F2C-407D-B71D-43878F44ABBC}.png.jpg{BC29F60E-2A86-45AE-9557-479053C77DE1}.png.jpg

  • MDAR Profile Picture
    6 on at

    Hey, did you ever find a solution to this?  I am having a similar problem.  Also, I am having a hard time seeing the bottom picture.  Is there a higher resolution image of this?

  • PowerAppTom Profile Picture
    50 on at

    Also looking for a solution to this. A higher-res image of your last comment would be great.

  • grietbroek Profile Picture
    14 on at

    @adam0sWhy are you not just ending the flow when the statement is NO? The flow will trigger again when an other task has been completed and this flow will then again check for the condition.

     

    I find it frustrating that it is not possible to add parameters to the 'when a task is completed'. Many operations can be automated, but sometimes it is just not possible and you want to have a manual step (task) inside your flow. Right now it seems impossible to trigger the rest of the flow on a specific task completion.

     

    I was wondering if it is possible by using the graph api where you would be able to set extra parameters. But not sure if this is possible with triggers?

  • grietbroek Profile Picture
    14 on at

    So I might find a possible solution, need to have some more tests but this is how it looks.

    1. Create a task.
    2. Set a variable like 'completeStatus' to 'false'.
    3. Create a 'Do until' and set this to 'Do until completeStatus = true'.
    4. Inside the do until you set 'when a task is completed as action'
    5. Thereafter you make a condition ie to check if the completed task has the same title
    6. If YES, set completeStatus to 'true' to leave the Do Untill
    7. if NO it will stay in the Do Until.

    If logically reasoning, the Do Until will be waiting for the action inside. Thus, meaning that the loop will only end when a planner task actually gets completed. The max setting for this loop is 5000 so I guess it should give you more than enough space to wait for the correct task to be completed.

     

    See image. Can others also check if this loop works? I've check with the max limit on 2 and it seems te be working.....Scherm­afbeelding 2022-11-12 om 10.49.28.png

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