Skip to content

IF_Async.AsynchronousExecutionStrategy

Class

apex
global enum IF_Async.AsynchronousExecutionStrategy

Enum defining different asynchronous execution strategies.

Since: 1.0


Values

ValueDescription
global AUTOAutomatically decide between parallel, chainable, or batch based on data size and limits.
global BATCHForce batch execution regardless of data size.
global CHAINABLEForce chainable queueable execution (single parent with chained children).
global PARALLEL_QUEUEABLESForce parallel queueable execution (multiple queueables enqueued simultaneously).

Value Details

AUTO

apex
global AUTO

Automatically decide between parallel, chainable, or batch based on data size and limits.

BATCH

apex
global BATCH

Force batch execution regardless of data size.

CHAINABLE

apex
global CHAINABLE

Force chainable queueable execution (single parent with chained children).

PARALLEL_QUEUEABLES

apex
global PARALLEL_QUEUEABLES

Force parallel queueable execution (multiple queueables enqueued simultaneously).