Skip to main content
Version: 8.9 (unreleased)

Type Alias: JobSearchResult

type JobSearchResult = object;

Defined in: gen/types.gen.ts:3622

Properties

creationTime?

optional creationTime: string;

Defined in: gen/types.gen.ts:3701

When the job was created. Field is present for jobs created after 8.9.


customHeaders

customHeaders: object;

Defined in: gen/types.gen.ts:3626

A set of custom headers defined during modelling.

Index Signature

[key: string]: string

deadline?

optional deadline: string | null;

Defined in: gen/types.gen.ts:3632

If the job has been activated, when it will next be available to be activated.


deniedReason?

optional deniedReason: string | null;

Defined in: gen/types.gen.ts:3636

The reason provided by the user task listener for denying the work.


elementId

elementId: ElementId;

Defined in: gen/types.gen.ts:3640

The element ID associated with the job.


elementInstanceKey

elementInstanceKey: ElementInstanceKey;

Defined in: gen/types.gen.ts:3644

The element instance key associated with the job.


endTime?

optional endTime: string;

Defined in: gen/types.gen.ts:3648

When the job ended.


errorCode?

optional errorCode: string | null;

Defined in: gen/types.gen.ts:3652

The error code provided for a failed job.


errorMessage?

optional errorMessage: string | null;

Defined in: gen/types.gen.ts:3656

The error message that provides additional context for a failed job.


hasFailedWithRetriesLeft

hasFailedWithRetriesLeft: boolean;

Defined in: gen/types.gen.ts:3660

Indicates whether the job has failed with retries left.


isDenied?

optional isDenied: boolean | null;

Defined in: gen/types.gen.ts:3664

Indicates whether the user task listener denies the work.


jobKey

jobKey: JobKey;

Defined in: gen/types.gen.ts:3668

The key, a unique identifier for the job.


kind

kind: JobKindEnum;

Defined in: gen/types.gen.ts:3669


lastUpdateTime?

optional lastUpdateTime: string;

Defined in: gen/types.gen.ts:3705

When the job was last updated. Field is present for jobs created after 8.9.


listenerEventType

listenerEventType: JobListenerEventTypeEnum;

Defined in: gen/types.gen.ts:3670


processDefinitionId

processDefinitionId: ProcessDefinitionId;

Defined in: gen/types.gen.ts:3674

The process definition ID associated with the job.


processDefinitionKey

processDefinitionKey: ProcessDefinitionKey;

Defined in: gen/types.gen.ts:3678

The process definition key associated with the job.


processInstanceKey

processInstanceKey: ProcessInstanceKey;

Defined in: gen/types.gen.ts:3682

The process instance key associated with the job.


retries

retries: number;

Defined in: gen/types.gen.ts:3687

The amount of retries left to this job.


rootProcessInstanceKey?

optional rootProcessInstanceKey: RootProcessInstanceKey;

Defined in: gen/types.gen.ts:3683


state

state: JobStateEnum;

Defined in: gen/types.gen.ts:3688


tenantId

tenantId: TenantId;

Defined in: gen/types.gen.ts:3689


type

type: string;

Defined in: gen/types.gen.ts:3693

The type of the job.


worker

worker: string;

Defined in: gen/types.gen.ts:3697

The name of the worker of this job.