Table of Contents

Search

  1. Preface
  2. API Reference

global static void updateExecutionProgress (Id batchQueueId, Integer totalRecords, Integer itemProcessed)

global static void updateExecutionProgress (Id batchQueueId, Integer totalRecords, Integer itemProcessed)

Updates the batch status with the total items available in a submitted apex job and the number of items processed by the job.
This function must be invoked from the external batch execute method.

Parameters:

batchQueueId
The queue ID in the CC360 Batch Queue.
totalRecords
The total records present in the batch job.
itemProcessed
The number of records processed by the job.

0 COMMENTS

We’d like to hear from you!