Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

Batch Retry Header

Use Sforce-Disable-Batch-Retry to disable retries on unfinished batches.

When you create a bulk job, the Batch Retry request header lets you disable retries for unfinished batches included in the job. Use this header to limit the batch processing time for batches that consistently time out.

Header Field Name and Values

Field name: Sforce-Disable-Batch-Retry

Field values:

  • TRUE. Unfinished batches in this job aren’t retried.
  • FALSE. Unfinished batches in this job are retried the standard number of times (15 for bulk queries and 10 for bulk uploads). If the header isn’t provided in the request, this is the default value.

Example: Sforce-Disable-Batch-Retry: TRUE