Skip to content
Async Job Info

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 processName

executionStrategy

The strategy used to execute the asynchronous process.

Signature:

public String executionStrategy

recordKey

The unique key identifying the record being processed.

Signature:

public String recordKey

queued

Indicates whether the job is currently queued for processing.

Signature:

public Boolean queued

payload

The contextual payload string/data passed to the job.

Signature:

public String payload

queueRecordId

The Salesforce Record ID (Id) of the underlying queue tracking record.

Signature:

public Id queueRecordId

executionAttempts

The total number of execution attempts performed for this job instance.

Signature:

public Integer executionAttempts

contextUserId

The Salesforce User ID (Id) of the user who initiated or created the execution context.

Signature:

public Id contextUserId

chainedExecution

Indicates whether the job is configured for chained execution across multiple iterations.

Signature:

public Boolean chainedExecution

numberOfChainedExecutions

The count of completed chained execution steps.

Signature:

public Integer numberOfChainedExecutions

chainExecution(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