Closed k4jiang closed 6 years ago
Reference: https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/asynch_api_batches_interpret_status.htm
BulkAPI#isCompleted only considers the Complete and Failed state. It does not consider the other states (Queued, InProgress, Not Processed).
BulkAPI#isCompleted
Complete
Failed
Queued
InProgress
Not Processed
This PR adds logic to interpret all the batch states.
LGTM cc: @samuel-pt
Reference: https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/asynch_api_batches_interpret_status.htm
BulkAPI#isCompleted
only considers theComplete
andFailed
state. It does not consider the other states (Queued
,InProgress
,Not Processed
).This PR adds logic to interpret all the batch states.