cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Hedibn
Level: Powered On

stop a flow if condition fails

Hallo everyone ,

i try to stopp my flow when a condition fails but i cannot do it direct in an "apply to each" but i cann not do it direct in the apply to rach .so  i  try to create a variable and to set the variable in the apply each and then to test this variable but did not work.

can sameone help me .

1.JPG

2.JPG

 

3.JPG

1 ACCEPTED SOLUTION

Accepted Solutions
Dual Super User
Dual Super User

Re: stop a flow if condition fails

Hey @Hedibn 

 

In an apply to each loop, it is iterating over each value and so you cannot termiante the flow within an apply to each loop. Note that you do not want to execute any action if the condition is not met, you can leave the condition No branch empty and it will automatically end that iteration. 

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

1 REPLY 1
Dual Super User
Dual Super User

Re: stop a flow if condition fails

Hey @Hedibn 

 

In an apply to each loop, it is iterating over each value and so you cannot termiante the flow within an apply to each loop. Note that you do not want to execute any action if the condition is not met, you can leave the condition No branch empty and it will automatically end that iteration. 

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Users online (5,038)