You need to sign in to do that
Don't have an account?
George Laird 55
Help! Need to make over 40 callouts in a batch job
Ok, here's one for you experts out there. I have to make a callout to get leads from a third party. The problem is that I have to pass a parent ID to this GET method that will retun the leads for that parent ID. The problem is that I have to make a seperate call for each parent ID. I know, it's silly but they don't have a way to just pass an array of all the parentIDs and get back a list of leads in one call.
So, the company wants this job to run at night and get all the leads from all the parentIDs. I know from the past that I can't have more than like 10 callouts in a transaction or something like that.
So, how can I do this? How can I create a batch job that makes a seperate callout for each parentID?
Thank you in advance!
So, the company wants this job to run at night and get all the leads from all the parentIDs. I know from the past that I can't have more than like 10 callouts in a transaction or something like that.
So, how can I do this? How can I create a batch job that makes a seperate callout for each parentID?
Thank you in advance!
I hope you find the above information is helpful. If it does, please mark as Best Answer to help others too.
Thanks.
All Answers
I hope you find the above information is helpful. If it does, please mark as Best Answer to help others too.
Thanks.