cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dgoins
New Member

Is there a way for a flow to go back to a trigger when a condition returns false?

Right now, to sum it up, here's the flow I have so far (also found here😞

A member of the organization submits a Form > The Flow uses conditions to see what Plan and Bucket to create a Planner Task > The Form creates a Planner Task using my email and the information filled out on the Form

 

This all works perfectly. But I want the Flow to send an email to the Responder's Email (taken from the Form), when their Task is completed. However, the Trigger of "When a task is completed" is too general because it triggers when any task in the Plan is completed. I need it to trigger when a SPECIFIC TASK is completed. I've gotten a solution to check to see if a specific task is completed, but here lies my problem:

When the ID of the task completed does not match the ID of the task created, the Flow needs to go back and wait for another "When a task is completed" trigger. So what should I put in the False condition?

 

Screen Shot 2021-11-01 at 5.46.10 PM.png

 

Screen Shot 2021-11-01 at 5.46.23 PM.png

 

 

I've tried Do Until loops, but nothing seems to be working because in my loop, I need the condition to compare the Task ID of the created task and the Task ID of the completed task but it cannot do it if the Task ID of the completed task is coming from inside the Loop.

 

Wouldn't it be easier if Microsoft made a revision of the Trigger that fired when a specific task ID was completed?

 

Any help would be greatly appreciated. Thank you.

1 REPLY 1
p_doc
Helper III
Helper III

Hi @dgoins ,

 

1) Planner task : you can try adding multiple condition:

when the task is completed and when the task is specific then send an email.

 

2) HTTP request : (I used it to call other flow, I haven't used it to call itself), but IT can work

p_doc_0-1635854017667.png

 

 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Users online (2,293)