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
Tim Osborn 4Tim Osborn 4 

Is it possible to run a SOQL query against Bulk Data Load Jobs? If so, what is the api name?

I would like to be able to query the results shown on the Monitor Bulk Data Load Jobs page, but I need to know if that is possible and if it is, I need to know the api name.

Thanks!
Best Answer chosen by Tim Osborn 4
Raj VakatiRaj Vakati
Using UI 

https://help.salesforce.com/articleView?id=monitoring_async_api_jobs.htm&type=5


Using REST API

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


You can see result from 


You can only view errors resulting from Async SOQL or Bulk API requests that you initiated, unless you have the global permission to view all data.



https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_objects_backgroundoperationresult.htm
https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_objects_backgroundoperation.htm
SELECT CreatedbyId, CreatedDate, Id, Message, MessageType, ParentId FROM BackgroundOperationResult WHERE ParentId = “751xx000000006OAAQ”

 

All Answers

Raj VakatiRaj Vakati
Using UI 

https://help.salesforce.com/articleView?id=monitoring_async_api_jobs.htm&type=5


Using REST API

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


You can see result from 


You can only view errors resulting from Async SOQL or Bulk API requests that you initiated, unless you have the global permission to view all data.



https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_objects_backgroundoperationresult.htm
https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_objects_backgroundoperation.htm
SELECT CreatedbyId, CreatedDate, Id, Message, MessageType, ParentId FROM BackgroundOperationResult WHERE ParentId = “751xx000000006OAAQ”

 
This was selected as the best answer
Tim Osborn 4Tim Osborn 4
Thanks Raj Vakati! This was what I needed to know.