+ Start a Discussion
AmulyaAmulya 

How do we refer Bulk Data Load Jobs in Apex

Hi All,
I have a requirement where, we need to send an Email on the status of failed Bulk Data Load jobs. But I am not sure the Object Name or how to refer those jobs programatically in my APex code. When I use 'AsyncApexJob', it's referring to Scheduled Apex Jobs. But I want the reference of Bulk Data Load Jobs. (Bulk Data Load jobs will be submitted by Mule ESB process using Salesforce Connectors.) Any info on this helps.
Thanks.
Best Answer chosen by Amulya
Prateek Singh SengarPrateek Singh Sengar
Hi Amulya,
Bulk data load jobs such as bulk load from external tools such as dataloader etc are stored in object which is not yet exposed to salesforce for querying. You can manually fitler and view these jobs but not programmatically.

https://help.salesforce.com/apex/HTViewHelpDoc?id=monitoring_async_api_jobs.htm&language=en_US