Table of Contents

Search

  1. Preface
  2. API Reference

global static void UpdateStatus (Id batchQueueId, String phase, BATCH_STATUS batchStatus, Integer totalRecords, Integer itemProcessed)

global static void UpdateStatus (Id batchQueueId, String phase, BATCH_STATUS batchStatus, Integer totalRecords, Integer itemProcessed)

Updates the batch status with:
The phase and status of the submitted apex job.
The total number of items in the apex job and the number of items processed by the job.

Parameters:

batchQueuId
The queue ID of the submitted apex job in the CC360 Batch Queue.
phase
The phase of the job (Start, Execute, or Finish).
batchStatus
The status of the job (SUCCESS, ABORTED, OR FAILURE).
totalRecords
The total number of items in the job.
itemProcessed
The Total number of items processed by job.

0 COMMENTS

We’d like to hear from you!