cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

How can I skip an item that fails in an Apply to each?

Greetings,all. I need to skip failures in an apply to each so Power Automate can continue to loop through the dataset and just bypass the errors. Thanks in advance.

1 ACCEPTED SOLUTION

Accepted Solutions

@Anonymous 

Hi there.  What is causing the error?

You might be able to use the "Configure Run After" option on the subsequent step to have it run even when the previous step errors out.  Check out this article for more information:

 

Error handling steps, counters, a new flow details experience and more

 

Keep us posted.

-Ed

 

If you liked this reply, please give it a thumbs up! If this reply has answered your question or resolved your challenge, please consider marking it as a Solution. This helps other users find it more easily via search.

View solution in original post

3 REPLIES 3

@Anonymous 

Hi there.  What is causing the error?

You might be able to use the "Configure Run After" option on the subsequent step to have it run even when the previous step errors out.  Check out this article for more information:

 

Error handling steps, counters, a new flow details experience and more

 

Keep us posted.

-Ed

 

If you liked this reply, please give it a thumbs up! If this reply has answered your question or resolved your challenge, please consider marking it as a Solution. This helps other users find it more easily via search.

v-bacao-msft
Community Support
Community Support

 

Hi @Anonymous ,

 

Could you please provide more details about the error and flow configuration?

As far as I know, the action in Apply to each even if the execution of the previous loop fails, it will not affect the execution of the next loop. We can check in Flow run history which traversal failed by clicking Next fails.

 

We can even make the traversal parallel by setting Apply to each. You just need to enable Concurrency Control and improve the Degree of Parallelism. Image reference:

188.PNG

 

In addition, as @edgonzales suggested, if there are actions under Apply to each that need to be executed, and you don’t want Apply to each to fail to affect the execution of the following actions, you can set Configure run after.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Apologies, all. I misunderstood the error I was receiving. I THOUGHT the flow was stopping when it hit an error. Turns out the flow stopped after 256 records because there is a default limit of 256 rows that can be pulled from an Excel workbook.

Really appreciate everyone's comments, though.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (1,481)