@camunda8/orchestration-cluster-api
    Preparing search index...

    Type Alias ActivatedJobResult

    type ActivatedJobResult = {
        businessId: BusinessId | null;
        customHeaders: { [key: string]: unknown };
        deadline: number;
        elementId: ElementId;
        elementInstanceKey: ElementInstanceKey;
        jobKey: JobKey;
        kind: JobKindEnum;
        listenerEventType: JobListenerEventTypeEnum;
        priority: number;
        processDefinitionId: ProcessDefinitionId;
        processDefinitionKey: ProcessDefinitionKey;
        processDefinitionVersion: number;
        processInstanceKey: ProcessInstanceKey;
        retries: number;
        rootProcessInstanceKey: ProcessInstanceKey | null;
        tags: TagSet;
        tenantId: TenantId;
        type: string;
        userTask: UserTaskProperties | null;
        variables: { [key: string]: unknown };
        worker: string;
    }
    Index
    businessId: BusinessId | null

    The business ID of the owning process instance, inherited when the job was created. This is null for jobs created before version 8.10 and for jobs whose owning process instance has no business ID.

    customHeaders: { [key: string]: unknown }

    A set of custom headers defined during modelling; returned as a serialized JSON document.

    deadline: number

    When the job can be activated again, sent as a UNIX epoch timestamp.

    elementId: ElementId

    The associated task element ID.

    elementInstanceKey: ElementInstanceKey

    The element instance key of the task.

    jobKey: JobKey

    The key, a unique identifier for the job.

    listenerEventType: JobListenerEventTypeEnum
    priority: number

    The priority of the job. Higher values indicate higher priority. Jobs created before 8.10 have no stored priority; the API returns 0 for such jobs.

    processDefinitionId: ProcessDefinitionId

    The bpmn process ID of the job's process definition.

    processDefinitionKey: ProcessDefinitionKey

    The key of the job's process definition.

    processDefinitionVersion: number

    The version of the job's process definition.

    processInstanceKey: ProcessInstanceKey

    The job's process instance key.

    retries: number

    The amount of retries left to this job (should always be positive).

    rootProcessInstanceKey: ProcessInstanceKey | null

    The key of the root process instance. The root process instance is the top-level ancestor in the process instance hierarchy. This field is only present for data belonging to process instance hierarchies created in version 8.9 or later.

    tags: TagSet
    tenantId: TenantId

    The ID of the tenant that owns the job.

    type: string

    The type of the job (should match what was requested).

    userTask: UserTaskProperties | null

    User task properties, if the job is a user task. This is null if the job is not a user task.

    variables: { [key: string]: unknown }

    All variables visible to the task scope, computed at activation time.

    worker: string

    The name of the worker which activated this job.