Interface CreateProcessInstanceFromProcessDefinition<V>

interface CreateProcessInstanceFromProcessDefinition<V> {
    operationReference?: number | LosslessNumber;
    processDefinitionKey: string;
    requestTimeout?: number;
    startInstructions?: ProcessInstanceCreationStartInstruction[];
    tenantId?: string;
    variables: V;
    version?: number;
}

Type Parameters

Hierarchy (view full)

Properties

operationReference?: number | LosslessNumber

a reference key chosen by the user and will be part of all records resulted from this operation

processDefinitionKey: string

the key of the process definition

requestTimeout?: number

Timeout (in ms) the request waits for the process to complete. By default or when set to 0, the generic request timeout configured in the cluster is applied.

List of start instructions. If empty (default) the process instance will start at the start event. If non-empty the process instance will apply start instructions after it has been created

tenantId?: string

The tenantId for a multi-tenant enabled cluster.

variables: V

JSON document that will instantiate the variables for the root variable scope of the process instance.

version?: number

the version of the process; if not specified it will use the latest version

Generated using TypeDoc