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
Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Top Solution Authors
Top Kudoed Authors
Users online (1,125)