Async Job Info
The forvendi.AsyncJobInfo class represents data and runtime state metadata associated with an asynchronous job execution.
processName
The developer name of the process being executed.
Signature:
public String processNameexecutionStrategy
The strategy used to execute the asynchronous process.
Signature:
public String executionStrategyrecordKey
The unique key identifying the record being processed.
Signature:
public String recordKeyqueued
Indicates whether the job is currently queued for processing.
Signature:
public Boolean queuedpayload
The contextual payload string/data passed to the job.
Signature:
public String payloadqueueRecordId
The Salesforce Record ID (Id) of the underlying queue tracking record.
Signature:
public Id queueRecordIdexecutionAttempts
The total number of execution attempts performed for this job instance.
Signature:
public Integer executionAttemptscontextUserId
The Salesforce User ID (Id) of the user who initiated or created the execution context.
Signature:
public Id contextUserIdchainedExecution
Indicates whether the job is configured for chained execution across multiple iterations.
Signature:
public Boolean chainedExecutionnumberOfChainedExecutions
The count of completed chained execution steps.
Signature:
public Integer numberOfChainedExecutionschainExecution(String payload)
Forces one additional chained process execution pass with an updated payload.
Signature:
public void chainExecution(String payload)Parameters:
payload: Updated payload string for the next chained execution pass.
Return Value: void