AsyncJobInfo
AsyncJobInfo
The AsyncJobInfo class represents information about an asynchronous job.
processName
The name of the process being executed.
Signature:
new AsyncJobInfo().processName;
executionStrategy
The strategy used to execute the process.
Signature:
new AsyncJobInfo().executionStrategy;
recordKey
The key that identifies the record being processed.
Signature:
new AsyncJobInfo().recordKey;
queued
Indicates whether the job is queued or not.
Signature:
new AsyncJobInfo().queued;
payload
The payload of the job.
Signature:
new AsyncJobInfo().payload;
queueRecordId
The Id of the queue record.
Signature:
new AsyncJobInfo().queueRecordId;
executionAttempts
The number of times the job has been attempted.
Signature:
new AsyncJobInfo().executionAttempts;
contextUserId
The Id of user who created a record.
Signature:
new AsyncJobInfo().contextUserId;
chainedExecution
Indicates whether the job should be executed more times.
Signature:
new AsyncJobInfo().chainedExecution;
numberOfChainedExecutions
The number of chained executions.
Signature:
new AsyncJobInfo().numberOfChainedExecutions;
chainExecution
Forces one more process execution
Signature:
new AsyncJobInfo().chainExecution(String payload);