function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
NishhNishh 

Batch Class with list button...too many callouts:11

Hi,

I have a list button through which i can select as many records but when i select more than 10 records i am getting error: Too Many Callouts:11
i am calling a class from list button where i have selected record ids and a batch class and how to schedule that batch class?
Subhash GarhwalSubhash Garhwal
Hi Nishh,
In a single process you can only hit 10 Callouts.So in your batch you need to schedule it with Maximum Limit of 10 or less.
For salesforce limits you can follow this link
www.salesforce.com/us/developer/docs/apexcode/Content/apex_gov_limits.htm

Thanks