Table of Contents

Search

  1. Preface
  2. API Reference

global static String getStatus (Id batchQueueId)

global static String getStatus (Id batchQueueId)

Gets the status of the submitted apex batch job from the CC360 Batch Queue.
The function may return any of the following values:
  • Registered - Internal Status
  • Waiting - Internal Status
  • Looping - Internal Status
  • Queued - Intenal Status
  • Running - Internal Status
  • Completed - BATCH_STATUS.SUCCESS
  • Failed - BATCH_STATUS.FAILURE
  • Aborted - BATCH_STATUS.ABORTED

Parameters:

batchQueueId
The queue ID of the submitted apex job in the CC360 Batch Queue.

Returns:

The current status of the job.

0 COMMENTS

We’d like to hear from you!