salesforce-bulk icon indicating copy to clipboard operation
salesforce-bulk copied to clipboard

retrieving ids/status of bulk insert

Open actsasgeek opened this issue 4 years ago • 1 comments
trafficstars

The Salesforce documentation suggests that we can access the result of our bulk inserts (ids or if they failed, the reason for the failure) but I don't see that we're able to access that information through the library.

https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/asynch_api_batches_failed_records.htm

Not sure if this is undocumented or simply a feature request.

actsasgeek avatar Feb 18 '21 20:02 actsasgeek

I dug around the source code a bit more and found get_batch_status so it's there, just not in the documentation.

actsasgeek avatar Feb 23 '21 21:02 actsasgeek