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
Level: Powered On

Does any have solution to this ? I have similar case where i need o exit out of loop or terminate the Flow instance if condition 4 is "No" .
Note - Apply to each is set to run in parallel for parallel approvals.

Flow.PNG

Level: Power Up

Please provide an exit to apply to each. Would be great to terminate if criteria isn't met and prevent the rest of the logic app from processing.  Thank you!

Level: Power Up

I have a payload URL checking for updates on any item added to a specific group within an ArcGIS Enterprise Portal with around 70000 users. If this idea is not implemented it creates so many failure emails for items that do not satisfy the condition. Please promote this functionality into the product. Kind of absurd to not have a break statement for an apply to each function (loop).

Level: Powered On

No need to spam ArcGIS users with unwanted emails. Use an IF... 🙂 If you need it done fast you can pass the paylosd through an Azure app function that forwards the payload to Power Automate.

Otherwise try filtering the array as per my link above. 

G.