When retrieving the result of a batch of a query bulk job, according to the documentation, the following is returned.

<result-list xmlns="http://www.force.com/2009/06/asyncapi/dataload">

To get the actual results, we have to call the URL (sfdc)/services/async/48.0/job/jobId/batch/batchId/result/resultId with the result ID in the above result list.

Is it possible for the result-list to have more than one result ID?


See How Bulk Queries Are Processed for details, but basically, yes, if the result size exceeds 1GB, then they are split in to multiple results, each file being no larger than 1GB each.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.