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.



Yoshihiro Kawabata

Status: Under Review

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

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.