View source: R/bulk-operation.R
sf_batch_status_bulk | R Documentation |
This function checks on and returns status information on an existing batch which has already been submitted to Bulk API Job
sf_batch_status_bulk(
job_id,
batch_id,
api_type = c("Bulk 1.0"),
verbose = FALSE
)
job_id |
|
batch_id |
|
api_type |
|
verbose |
|
A tbl_df
of parameters defining the batch identified by the batch_id
This is a legacy function used only with Bulk 1.0.
https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch
## Not run:
job_info <- sf_create_job_bulk(operation = "query", object = "Account")
soql <- "SELECT Id, Name FROM Account LIMIT 10"
batch_query_info <- sf_submit_query_bulk(job_id = job_info$id, soql = soql)
batch_status <- sf_batch_status_bulk(job_id = batch_query_info$jobId,
batch_id = batch_query_info$id)
job_close_ind <- sf_close_job_bulk(job_info$id)
sf_get_job_bulk(job_info$id)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.