cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SomeoneAwesome
Frequent Visitor

Avoiding overloading the API

Hi,

 

The following flow which works fine if i delete only a few items however, sometimes the users decide to run 500 or so items at once, that causes API errors as its overloads the system,

 

SomeoneAwesome_0-1639432629639.png

 

 

Can someone tell me and show me. Can i somehow make it only run say 20 or so at a time>? and make sure they all are successful before trying the next 20? Also if for some reason an error occurs can it automatically wait 5mins and try again? Also an email sent to the user saying which row failed if failed twice?

 

Sorry but this is currently out of my skill set

 

Thankyou for any help 

1 REPLY 1
PrasadAthalye
Community Champion
Community Champion

This trigger will run every time a record is deleted. If you bulk delete, it will choke the system. 

 

One way is to run a Scheduled flow every hour or so, compare the items with SharePoint and delete the ones that does not exist. 

Please Like and Mark this as Answer if it resolves your Issue.

Power Automate Community

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.

Super User 2 - 2022 Congratulations 768x460.png

Welcome Super Users

The Super User program for 2022- Season 2 has kicked off!

Users online (2,445)