• Pari M 28
  • NEWBIE
  • 0 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
I would like to make multiple API requests from Salesforce to a 3rd party.
I can make only 50 requests/ minute.
As there are thousands of records, I am using a batch to achieve this. However, how can I make sure that my batch doesn't exceed 50 requests/ min. If I don't have this limit in place, I would encounter rate limit error (from the third party)

As I haven't found a delay/ timer function that I coud use, any examples or ideas are appreciated.
Thanks

I know many of the limits in Apex have either been raised or removed.  But "For loop list batch size" is still listed as 200.

 

Anyone know exactly what the limit is?  It isn't clearly defined anywhere . 

 

It seems to me I've had lists > 200 processed in a for lopp.  Also, I don't think you need the nested for loop when fetching > 200 items from a SOQL query any more.

 

So, what is it?