cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mj4golf
Frequent Visitor

How to end a flow

I have a flow that checks if a certain person creates an event.  If it is, I want the flow to end.  I don't see any action that allows me to do that, or is there? 

1 ACCEPTED SOLUTION

Accepted Solutions
efialtes
Kudo Kingpin
Kudo Kingpin

5 REPLIES 5
v-micsh-msft
Community Support
Community Support

Hi @mj4golf,

 

Could you please share your flow configuration here?

How do you configure the checks in your flow?

You may take a look at the do until action, in the following article:

https://flow.microsoft.com/en-us/documentation/common-data-model-approve/

 

If you added the check into an Apply to Each, then tehre is no way to end the flow until the Apply to each finished.

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
efialtes
Kudo Kingpin
Kudo Kingpin

@mj4golf

There is an action called Control-Terminate

https://powerusers.microsoft.com/t5/Flow-Ideas/Stop-Command/idi-p/39287

 

Hope this helps

"If you added the check into an Apply to Each, then tehre is no way to end the flow until the Apply to each finished."

 

Ugh.  Come on MS.  How hard is it to terminate a workflow.

markcms
Advocate I
Advocate I

You can use Do Until loop (aka while loop) until your condition is met, or add a condition as the first action in the foreach to skip if the condition is met (this will mean the loop continues, but does nothing).

 

 

Acces to the link is denied for me, could you share the content here?

 

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (3,011)