cancel
Showing results for 
Search instead for 
Did you mean: 

Exit from "Apply to Each"

I want to exit from "Apply to Each" for exit the loop.

In some case, the loop does not need processing items after specific item.

 

Regards,

Yoshihiro Kawabata

Status: Under Review

Thank you for suggesting this idea, it is a good suggestion!

Comments
Power Automate Staff
Status changed to: Under Review

Thank you for suggesting this idea, it is a good suggestion!

Level 10

Hi @Stephen,

Thank you for This idea status change to  UNDER PREVIEW  🍙🍙🍙

Level: Power Up

Hi @Stephen,

 

@yoshihirok had a great suggestion; I too am looking for a way to exit For Each loop given a certain condition.

 

Thank you,

Lloyd

Level: Powered On

This would be very useful to shorten processing times in several of my Flows.

Level: Powered On

Under review for so long ...

Level: Powered On

Hi @Stephen , did we have the decision for this request?

Power Automate Staff

Hi @Faro  - no we have not decided about this yet. Thanks.

Level: Powered On

Thanks @Stephen for the update.

 

Could you share the plan or schedule of how we will handle this request?

Because the idea was submitted quite long time ago, more than  2 years.

 

We are really looking forward for this feature to be relased.

Thank you.

Power Automate Staff

Hi @Faro  - this is a good idea but we don't have any plans to add this at this time. The are currently 100+ other ideas in the community with more votes than this, when planning and developing the next rounds of improvements to Flow we focus on the items that have the highest number of votes. For this particular idea you should consider using a Do-Until loop. With a Do-Until loop you can have a condidtion that exits whenever you want to. The drawback is that with such a loop you cannot execute in parallel (only sequentially).

Level: Powered On

@Stephen  - I'm amazed this is not already included. Not being able to break out of a loop makes development difficult. That's a common practice in programming.  This idea is 2 years old?!  Wow.