Skip to main content
I need to test my code for the scenario "retrieve unprocessed records from bulk api v2.0" . I tried inserting records in Contact object for a bulk load and then aborted the job in-progress through Abort Rest API call and Salesforce website also.

From what i observed on the Salesforce website, the job though in aborted state doesn't abort the batches inside it, they are still in-progress or queued. The API call to retireve unprocessed records for the aborted state job returns empty results and later the batches complete and the records are returned as Failed records not unprocessed.

How can i simulate unprocessed records in Bulk API v2.0
2 risposte
  1. 22 set 2020, 08:12
    Thanks for your response @Shrisha . The blog helps in knowing that 10 retries are attempted in Salesforce before moving job to failed and records to unprocessed but I am still looking for how can i create unprocessed records in Salesforce. I aborted the job but the internal batches still keep running and the records are returned as failed after internal batch completion. Any thoughts on how i can create unprocessed records in Salesforce?
0/9000