IF_Async.AsynchronousExecutionStrategy
Class · Group: Async Processing
Learn it: Async Processing guide
apex
global enum IF_Async.AsynchronousExecutionStrategyEnum defining different asynchronous execution strategies.
Inner Classes
| Class | Description |
|---|---|
| AUTO | Automatically decide between parallel, chainable, or batch based on data size and limits. |
| BATCH | Force batch execution regardless of data size. |
| CHAINABLE | Force chainable queueable execution (single parent with chained children). |
| PARALLEL_QUEUEABLES | Force parallel queueable execution (multiple queueables enqueued simultaneously). |
Value Details
AUTO
apex
global AUTOAutomatically decide between parallel, chainable, or batch based on data size and limits.
BATCH
apex
global BATCHForce batch execution regardless of data size.
CHAINABLE
apex
global CHAINABLEForce chainable queueable execution (single parent with chained children).
PARALLEL_QUEUEABLES
apex
global PARALLEL_QUEUEABLESForce parallel queueable execution (multiple queueables enqueued simultaneously). A processor that implements Finishable cannot use it, because its finish method would run once for every job: a launch that forces it for such a processor is refused, and AUTO never picks it for one.