Download OpenAPI specification:
API to interact with a process engine via HTTP.
Performs an element query.
| offset | integer <int32> The number of results to skip, before returning any result. If offset is |
| limit | integer <int32> Maximum number of results to return. If limit is |
| processId | integer <int32> Process filter. |
| bpmnElementId | string BPMN element ID filter. |
{- "processId": 0,
- "bpmnElementId": "string"
}{- "count": 4,
- "results": [
- {
- "id": 1,
- "processId": 1,
- "bpmnElementId": "serviceTest",
- "bpmnElementType": "PROCESS"
}, - {
- "id": 2,
- "processId": 1,
- "bpmnElementId": "startEvent",
- "bpmnElementType": "NONE_START_EVENT"
}, - {
- "id": 3,
- "processId": 1,
- "bpmnElementId": "serviceTask",
- "bpmnElementType": "SERVICE_TASK"
}, - {
- "id": 4,
- "processId": 1,
- "bpmnElementId": "endEvent",
- "bpmnElementType": "NONE_END_EVENT"
}
]
}An element instance is an instance of a BPMN element in the scope of an process instance.
Performs an element instance query.
| offset | integer <int32> The number of results to skip, before returning any result. If offset is |
| limit | integer <int32> Maximum number of results to return. If limit is |
| partition | string <date> Partition filter. |
| id | integer <int32> Element instance filter. |
| processId | integer <int32> Process filter. |
| processInstanceId | integer <int32> Process instance filter. |
| bpmnElementId | string BPMN element ID filter. |
| states | Array of strings (InstanceState) <= 7 items unique Items Enum: "CANCELED" "COMPLETED" "CREATED" "QUEUED" "STARTED" "SUSPENDED" "TERMINATED" States to include. |
{- "partition": "2025-05-01",
- "processInstanceId": 576
}{- "count": 3,
- "results": [
- {
- "partition": "2025-05-01",
- "id": 2295,
- "elementId": 5,
- "processId": 2,
- "processInstanceId": 576,
- "bpmnElementId": "parallelServiceTasksTest",
- "bpmnElementType": "PROCESS",
- "createdAt": "2025-05-01T17:44:19.997Z",
- "createdBy": "go-bpmn",
- "startedAt": "2025-05-01T17:44:19.997Z",
- "state": "SUSPENDED"
}, - {
- "partition": "2025-05-01",
- "id": 2296,
- "parentId": 2295,
- "elementId": 6,
- "processId": 2,
- "processInstanceId": 576,
- "bpmnElementId": "startEvent",
- "bpmnElementType": "NONE_START_EVENT",
- "createdAt": "2025-05-01T17:44:19.997Z",
- "createdBy": "go-bpmn",
- "endedAt": "2025-05-01T17:44:19.997Z",
- "startedAt": "2025-05-01T17:44:19.997Z",
- "state": "COMPLETED"
}, - {
- "partition": "2025-05-01",
- "id": 2297,
- "parentId": 2295,
- "elementId": 8,
- "processId": 2,
- "processInstanceId": 576,
- "bpmnElementId": "serviceTaskA",
- "bpmnElementType": "SERVICE_TASK",
- "createdAt": "2025-05-01T17:44:19.997Z",
- "createdBy": "go-bpmn",
- "startedAt": "2025-05-01T17:44:19.997Z",
- "state": "STARTED"
}
]
}Gets variables of an active or ended element instance.
| partition required | string <date> Element instance partition. |
| id required | integer <int32> Element instance ID. |
| names | string Examples: names=a,b,c Comma separated list of variables to include. |
{- "count": 2,
- "variables": [
- {
- "name": "a",
- "data": {
- "encoding": "json",
- "encrypted": true,
- "value": "{...}"
}
}, - {
- "name": "b",
- "data": {
- "encoding": "text",
- "value": "any text"
}
}
]
}Sets or deletes variables of an active element instance.
| partition required | string <date> Element instance partition. |
| id required | integer <int32> Element instance ID. |
Array of objects (VariableData) <= 100 items Variables to set or delete. For a variable deletion, no data must be provided. | |
| workerId required | string ID of the worker that set the variables. |
{- "variables": {
- "a": {
- "encoding": "json",
- "encrypted": true,
- "value": "{...}"
}
}, - "workerId": "go-bpmn"
}{- "status": 400,
- "type": "HTTP_REQUEST_BODY",
- "title": "invalid request body",
- "detail": "failed to validate request body",
- "errors": [
- {
- "pointer": "#/variables/,",
- "type": "variable_name",
- "detail": "must match regex ^[a-zA-Z0-9_-]+$",
- "value": ","
}, - {
- "pointer": "#/variables/,/encoding",
- "type": "required",
- "detail": "is required"
}, - {
- "pointer": "#/variables/,/value",
- "type": "required",
- "detail": "is required"
}
]
}Sends a message to notify a message subscriber or to buffer the message.
A subscriber can be a message start, boundary or catch event. In case of a message start event, a new process instance is created. In case of a message boundary or catch event, an existing process instance is continued.
| correlationKey required | string Key, used to correlate a message subscription with the message. |
object (Timer) A timer defines a point in time using a time value, a CRON expression or a duration. | |
| name required | string Message name. |
| uniqueKey | string Optional key that uniquely identifies the message. If a message with the same name, correlation key and unique key already exists, the message is discarded. |
Array of objects (VariableData) <= 100 items Variables to set or delete at process instance scope. For a variable deletion, no data must be provided. | |
| workerId required | string ID of the worker that sent the message. |
{- "correlationKey": "example-key",
- "expirationTimer": {
- "timeDuration": "PT1H"
}, - "name": "example-message",
- "variables": [
- {
- "name": "a",
- "data": {
- "encoding": "json",
- "encrypted": true,
- "value": "{...}"
}
}
], - "workerId": "go-bpmn"
}{- "id": 9,
- "correlationKey": "example-key",
- "createdAt": "2025-05-01T17:44:19.997Z",
- "createdBy": "go-bpmn",
- "expiresAt": "2025-05-01T18:44:19.997Z",
- "correlated": false,
- "name": "example-message"
}Performs a message query.
| offset | integer <int32> The number of results to skip, before returning any result. If offset is |
| limit | integer <int32> Maximum number of results to return. If limit is |
| id | integer <int64> Message filter. |
| excludeExpired | boolean Determines if expired messages are returned. |
| name | string Message name filter. |
{- "id": 0,
- "excludeExpired": true,
- "name": "string"
}{- "count": 1,
- "results": [
- {
- "id": 9,
- "correlationKey": "example-key",
- "createdAt": "2025-05-01T17:44:19.997Z",
- "createdBy": "go-bpmn",
- "expiresAt": "2025-05-01T18:44:19.997Z",
- "correlated": false,
- "name": "example-message"
}
]
}Sends a signal to notify signal subscribers.
A subscriber can be a signal start or catch event. In case of a signal start event, a new process instance is created. In case of a signal boundary or catch event, an existing process instance is continued.
| name required | string Signal name. |
Array of objects (VariableData) <= 100 items Variables to set or delete at process instance scope. For a variable deletion, no data must be provided. | |
| workerId required | string ID of the worker that sent the signal. |
{- "name": "example-signal",
- "variables": [
- {
- "name": "a",
- "data": {
- "encoding": "json",
- "encrypted": true,
- "value": "{...}"
}
}
], - "workerId": "go-bpmn"
}{- "id": 9,
- "createdAt": "2025-05-01T17:44:19.997Z",
- "createdBy": "go-bpmn",
- "name": "example-signal",
- "subscriberCount": 3
}An incident represents a failed job or task, which has no more retries left. An incident is related to either a job or a task.
Performs an incident query.
| offset | integer <int32> The number of results to skip, before returning any result. If offset is |
| limit | integer <int32> Maximum number of results to return. If limit is |
| partition | string <date> Partition filter. |
| id | integer <int32> Incident filter. |
| jobId | integer <int32> Job filter. |
| processInstanceId | integer <int32> Process instance filter. |
| taskId | integer <int32> Process filter. |
{- "partition": "2019-08-24",
- "id": 0,
- "jobId": 0,
- "processInstanceId": 0,
- "taskId": 0
}{- "count": 1,
- "results": [
- {
- "partition": "2025-05-01",
- "id": 1,
- "elementId": 8,
- "elementInstanceId": 2298,
- "jobId": 576,
- "processId": 2,
- "processInstanceId": 576,
- "createdAt": "2025-05-01T18:17:08.044Z",
- "createdBy": "go-bpmn",
- "resolvedAt": "2025-05-01T18:44:26.608Z",
- "resolvedBy": "go-bpmn"
}
]
}Resolves a job or task related incident.
When an incident is resolved, a retry job or task is created. The retry count is set to 0.
| partition required | string <date> Incident partition. |
| id required | integer <int32> Incident ID. |
| retryTimer | string Duration until the retry job or task becomes due. |
| workerId required | string ID of the worker that resolved the incident |
{- "workerId": "go-bpmn"
}{- "status": 400,
- "type": "HTTP_REQUEST_BODY",
- "title": "invalid request body",
- "detail": "failed to validate request body",
- "errors": [
- {
- "pointer": "#/retryCount",
- "type": "gte",
- "detail": "must be greater than or equal to 1",
- "value": "0"
}, - {
- "pointer": "#/retryTimer",
- "type": "iso8601_duration",
- "detail": "is invalid",
- "value": "PT"
}
]
}A job is a unit of work related to an element instance, which must be locked, executed and completed by a worker.
Locks due jobs, which match the specified conditions.
| partition | string <date> Partition condition. |
| id | integer <int32> Job condition - must be used in combination with a partition. |
| processIds | Array of integers <int32> <= 100 items unique [ items <int32 > ] IDs of processes to include. |
| processInstanceId | integer <int32> Process instance condition - must be used in combination with a partition. |
| limit | integer <int32> [ 1 .. 1000 ] Maximum number of jobs to lock. |
| workerId required | string ID of the worker that locks the jobs. |
{- "partition": "2025-05-01",
- "processIds": [
- 2
], - "limit": 1,
- "workerId": "go-bpmn"
}{- "count": 1,
- "jobs": [
- {
- "partition": "2025-05-01",
- "id": 1042,
- "elementId": 8,
- "elementInstanceId": 2298,
- "processId": 2,
- "processInstanceId": 576,
- "bpmnElementId": "serviceTaskA",
- "createdAt": "2025-05-01T17:44:19.997Z",
- "createdBy": "go-bpmn",
- "dueAt": "2025-05-01T17:44:19.997Z",
- "lockedAt": "2025-05-01T17:59:30.657Z",
- "lockedBy": "go-bpmn",
- "retryCount": 0,
- "state": "LOCKED",
- "type": "EXECUTE"
}
]
}Performs a job query.
| offset | integer <int32> The number of results to skip, before returning any result. If offset is |
| limit | integer <int32> Maximum number of results to return. If limit is |
| partition | string <date> Partition filter. |
| id | integer <int32> Job filter. |
| elementId | integer <int32> Element filter. |
| elementInstanceId | integer <int32> Element instance filter. |
| processId | integer <int32> Process filter. |
| processInstanceId | integer <int32> Process instance filter. |
{- "partition": "2025-04-11",
- "processInstanceId": 576
}{- "count": 2,
- "results": [
- {
- "partition": "2025-05-01",
- "id": 1042,
- "elementId": 8,
- "elementInstanceId": 2298,
- "processId": 2,
- "processInstanceId": 576,
- "bpmnElementId": "serviceTaskA",
- "createdAt": "2025-05-01T17:44:19.997Z",
- "createdBy": "go-bpmn",
- "dueAt": "2025-05-01T17:44:19.997Z",
- "retryCount": 0,
- "state": "CREATED",
- "type": "EXECUTE"
}, - {
- "partition": "2025-05-01",
- "id": 1043,
- "elementId": 9,
- "elementInstanceId": 2299,
- "processId": 2,
- "processInstanceId": 576,
- "bpmnElementId": "serviceTaskB",
- "createdAt": "2025-05-01T17:44:19.997Z",
- "createdBy": "go-bpmn",
- "dueAt": "2025-05-01T17:44:19.997Z",
- "retryCount": 0,
- "state": "CREATED",
- "type": "EXECUTE"
}
]
}Unlocks locked, but uncompleted, jobs that are currently locked by a specific worker.
| partition | string <date> Partition condition. |
| id | integer <int32> Job condition - must be used in combination with a partition. |
| workerId required | string Condition that restricts the jobs, to be locked by a specific worker. |
{- "partition": "2025-05-01",
- "workerId": "default-worker"
}{- "count": 1
}Completes a locked job.
| partition required | string <date> Job partition. |
| id required | integer <int32> Job ID. |
object (JobCompletion) A job completion is used to complete jobs of various types. | |
Array of objects (VariableData) <= 100 items Variables to set or delete at element instance scope. For a variable deletion, no data must be provided. | |
| error | string Optional error, used to fail a job due to a technical problem. |
Array of objects (VariableData) <= 100 items Variables to set or delete at process instance scope. For a variable deletion, no data must be provided. | |
| retryLimit | integer <int32> >= 0 Maximum number of retries. If the retry count is less than the retry limit, a retry job is created. Otherwise, an incident is created. |
| retryTimer | string Duration until a retry job becomes due. At this point in time a retry job can be locked by a worker. |
| workerId required | string ID of the worker that locked and completed the job. |
{- "processVariables": [
- {
- "name": "a",
- "data": {
- "encoding": "json",
- "value": "{...}"
}
}
], - "workerId": "go-bpmn"
}{- "partition": "2025-05-01",
- "id": 1042,
- "elementId": 8,
- "elementInstanceId": 2298,
- "processId": 2,
- "processInstanceId": 576,
- "bpmnElementId": "serviceTaskA",
- "completedAt": "2025-05-01T18:17:08.044Z",
- "createdAt": "2025-05-01T17:44:19.997Z",
- "createdBy": "go-bpmn",
- "dueAt": "2025-05-01T17:44:19.997Z",
- "lockedAt": "2025-05-01T17:59:30.657Z",
- "lockedBy": "go-bpmn",
- "retryCount": 0,
- "state": "DONE",
- "type": "EXECUTE"
}Creates a process that is modeled as BPMN XML.
If a process with the same BPMN process ID and version exists, the BPMN XML is compared. When the BPMN XML equals, the existing process is returned. When the BPMN XML differs, a problem of type CONFLICT is returned.
| bpmnProcessId required | string ID of the process element within the BPMN XML. |
| bpmnXml required | string Model of the BPMN process as XML. |
Array of objects (ErrorDefinition) <= 100 items Error event definitions. | |
Array of objects (EscalationDefinition) <= 100 items Escalation event definitions. | |
Array of objects (MessageDefinition) <= 100 items Message event definitions. | |
| parallelism | integer <int32> >= 0 Maximum number of parallel process instances being executed. If |
Array of objects (SignalDefinition) <= 100 items Signal event definitions. | |
Array of objects (Tag) <= 100 items Tags. | |
Array of objects (TimerDefinition) <= 100 items Timer event definitions. | |
| version required | string Any process version. |
| workerId required | string ID of the worker that created the process. |
{- "bpmnProcessId": "parallelServiceTasksTest",
- "bpmnXml": "<...>",
- "parallelism": 5,
- "tags": [
- {
- "name": "x",
- "value": "y"
}
], - "version": "1",
- "workerId": "go-bpmn"
}{- "id": 2,
- "bpmnProcessId": "parallelServiceTasksTest",
- "createdAt": "2025-05-01T17:43:34.956Z",
- "createdBy": "go-bpmn",
- "parallelism": 5,
- "tags": [
- {
- "name": "x",
- "value": "y"
}
], - "version": "1"
}Performs a process query.
| offset | integer <int32> The number of results to skip, before returning any result. If offset is |
| limit | integer <int32> Maximum number of results to return. If limit is |
| id | integer <int32> Process filter. |
Array of objects (Tag) <= 100 items Tags, a process must have, to be included. |
{- "id": 0,
- "tags": [
- {
- "name": "string",
- "value": "string"
}
]
}{- "count": 2,
- "results": [
- {
- "id": 1,
- "bpmnProcessId": "serviceTest",
- "createdAt": "2025-05-01T16:04:17.911Z",
- "createdBy": "default-worker",
- "version": "1"
}, - {
- "id": 2,
- "bpmnProcessId": "parallelServiceTasksTest",
- "createdAt": "2025-05-01T17:43:34.956Z",
- "createdBy": "go-bpmn",
- "parallelism": 5,
- "tags": {
- "x": "y"
}, - "version": "1"
}
]
}Gets the BPMN XML of an existing process.
| id required | integer <int32> Process ID. |
{- "status": 404,
- "type": "NOT_FOUND",
- "title": "failed to get BPMN XML",
- "detail": "process 7 could not be found"
}Creates a process instance from an existing process.
| bpmnProcessId required | string BPMN ID of an existing process. |
| correlationKey | string Optional key, used to correlate a process instance with a business entity. |
Array of objects (Tag) <= 100 items Tags. | |
Array of objects (VariableData) <= 100 items Variables to set at process instance scope. | |
| version required | string Version of an existing process. |
| workerId required | string ID of the worker that created the process instance. |
{- "bpmnProcessId": "parallelServiceTasksTest",
- "correlationKey": "123456",
- "tags": {
- "x": "y"
}, - "variables": [
- {
- "name": "a",
- "data": {
- "encoding": "json",
- "encrypted": true,
- "value": "{...}"
}
}
], - "version": "1",
- "workerId": "go-bpmn"
}{- "partition": "2025-04-11",
- "id": 576,
- "processId": 2,
- "bpmnProcessId": "parallelServiceTasksTest",
- "correlationKey": "123456",
- "createdAt": "2025-05-01T17:44:19.997Z",
- "createdBy": "go-bpmn",
- "startedAt": "2025-05-01T17:44:19.997Z",
- "state": "STARTED",
- "tags": [
- {
- "name": "x",
- "value": "y"
}
], - "version": "1"
}Performs a process instance query.
| offset | integer <int32> The number of results to skip, before returning any result. If offset is |
| limit | integer <int32> Maximum number of results to return. If limit is |
| partition | string <date> Partition filter. |
| id | integer <int32> Process instance filter. |
| processId | integer <int32> Process filter. |
Array of objects (Tag) <= 100 items Tags, a process instance must have, to be included. |
{- "partition": "2019-08-24",
- "id": 0,
- "processId": 0,
- "tags": [
- {
- "name": "string",
- "value": "string"
}
]
}{- "count": 2,
- "results": [
- {
- "partition": "2025-05-09",
- "id": 47,
- "processId": 1,
- "bpmnProcessId": "serviceTest",
- "correlationKey": "123456",
- "createdAt": "2025-05-09T17:43:52.417Z",
- "createdBy": "default-worker",
- "endedAt": "2025-05-09T17:44:02.421Z",
- "startedAt": "2025-05-09T17:43:52.417Z",
- "state": "COMPLETED",
- "version": "1"
}, - {
- "partition": "2025-05-09",
- "id": 48,
- "processId": 2,
- "bpmnProcessId": "parallelServiceTasksTest\"",
- "createdAt": "2025-05-09T17:43:56.392Z",
- "createdBy": "go-bpmn",
- "startedAt": "2025-05-09T17:43:56.392Z",
- "state": "STARTED",
- "version": "1"
}
]
}Resumes a suspended process instance.
| partition required | string <date> Process instance partition. |
| id required | integer <int32> Process instance ID. |
| workerId required | string ID of the worker that resumed the process instance. |
{- "workerId": "go-bpmn"
}{- "status": 404,
- "type": "NOT_FOUND",
- "title": "failed to resume process instance",
- "detail": "process instance 2025-05-01/577 could not be found"
}Suspends a started process instance.
| partition required | string <date> Process instance partition. |
| id required | integer <int32> Process instance ID. |
| workerId required | string ID of the worker that suspended the process instance. |
{- "workerId": "go-bpmn"
}{- "status": 404,
- "type": "NOT_FOUND",
- "title": "failed to suspend process instance",
- "detail": "process instance 2025-05-01/577 could not be found"
}Gets variables of an active or ended process instance.
| partition required | string <date> Process instance partition. |
| id required | integer <int32> Process instance ID. |
| names | string Examples: names=a,b,c Comma separated list of variables to include. |
{- "count": 2,
- "variables": [
- {
- "name": "a",
- "data": {
- "encoding": "json",
- "encrypted": true,
- "value": "{...}"
}
}, - {
- "name": "b",
- "data": {
- "encoding": "text",
- "value": "any text"
}
}
]
}Sets or deletes variables of an active process instance.
| partition required | string <date> Process instance partition. |
| id required | integer <int32> Process instance ID. |
Array of objects (VariableData) <= 100 items Variables to set or delete. For a variable deletion, no data must be provided. | |
| workerId required | string ID of the worker that set the variables. |
{- "variables": {
- "a": {
- "encoding": "json",
- "encrypted": true,
- "value": "{...}"
}
}, - "workerId": "go-bpmn"
}{- "status": 400,
- "type": "HTTP_REQUEST_BODY",
- "title": "invalid request body",
- "detail": "failed to validate request body",
- "errors": [
- {
- "pointer": "#/variables/,",
- "type": "variable_name",
- "detail": "must match regex ^[a-zA-Z0-9_-]+$",
- "value": ","
}, - {
- "pointer": "#/variables/,/encoding",
- "type": "required",
- "detail": "is required"
}, - {
- "pointer": "#/variables/,/value",
- "type": "required",
- "detail": "is required"
}
]
}Locks and executes due tasks, which match the specified conditions.
Due tasks are normally handled by a task executor, running inside the engine. When waiting for a due task to be completed during testing, this operation must be called!
| partition | string <date> Partition condition. |
| id | integer <int32> Task condition - must be used in combination with a partition. |
| processId | integer <int32> Process condition. |
| processInstanceId | integer <int32> Process instance condition - must be used in combination with a partition. |
| type | string (TaskType) Enum: "DEQUEUE_PROCESS_INSTANCE" "JOIN_PARALLEL_GATEWAY" "START_PROCESS_INSTANCE" "TRIGGER_EVENT" "CREATE_PARTITION" "DETACH_PARTITION" "DROP_PARTITION" "PURGE_MESSAGES" "PURGE_SIGNALS" TaskType describes the different types of tasks, an engine needs to execute.
Management related types, that are only relevant for a pg engine:
|
| limit | integer <int32> [ 1 .. 100 ] Maximum number of tasks to lock and execute. |
{- "partition": "2025-05-01",
- "processInstanceId": 576,
- "limit": 1
}{- "locked": 1,
- "completed": 1,
- "failed": 0,
- "completedTasks": [
- {
- "partition": "2025-05-01",
- "id": 2,
- "elementId": 10,
- "elementInstanceId": 4932,
- "processId": 2,
- "processInstanceId": 576,
- "completedAt": "2025-05-01T19:38:23.021Z",
- "createdAt": "2025-05-01T19:38:16.633Z",
- "createdBy": "go-bpmn",
- "dueAt": "2025-05-01T19:38:16.633Z",
- "lockedAt": "2025-05-01T19:38:23.001Z",
- "lockedBy": "default-engine",
- "retryCount": 0,
- "state": "DONE",
- "type": "JOIN_PARALLEL_GATEWAY"
}
], - "failedTasks": [ ]
}Performs a task query.
| offset | integer <int32> The number of results to skip, before returning any result. If offset is |
| limit | integer <int32> Maximum number of results to return. If limit is |
| partition | string <date> Partition filter. |
| id | integer <int32> Task filter. |
| elementId | integer <int32> Element filter. |
| elementInstanceId | integer <int32> Element instance filter. |
| processId | integer <int32> Process filter. |
| processInstanceId | integer <int32> Process instance filter. |
| type | string (TaskType) Enum: "DEQUEUE_PROCESS_INSTANCE" "JOIN_PARALLEL_GATEWAY" "START_PROCESS_INSTANCE" "TRIGGER_EVENT" "CREATE_PARTITION" "DETACH_PARTITION" "DROP_PARTITION" "PURGE_MESSAGES" "PURGE_SIGNALS" TaskType describes the different types of tasks, an engine needs to execute.
Management related types, that are only relevant for a pg engine:
|
{- "partition": "2019-08-24",
- "id": 0,
- "elementId": 0,
- "elementInstanceId": 0,
- "processId": 0,
- "processInstanceId": 0,
- "type": "DEQUEUE_PROCESS_INSTANCE"
}{- "count": 3,
- "results": [
- {
- "partition": "2025-05-01",
- "id": 1,
- "elementId": 10,
- "elementInstanceId": 4259,
- "processId": 2,
- "processInstanceId": 576,
- "completedAt": "2025-05-01T19:26:16.694Z",
- "createdAt": "2025-05-01T19:25:42.749Z",
- "createdBy": "go-bpmn",
- "dueAt": "2025-05-01T19:25:42.749Z",
- "lockedAt": "2025-05-01T19:26:16.671Z",
- "lockedBy": "default-engine",
- "retryCount": 0,
- "state": "DONE",
- "type": "JOIN_PARALLEL_GATEWAY"
}, - {
- "partition": "2025-05-02",
- "id": 1,
- "createdAt": "2025-05-01T16:04:11.365Z",
- "createdBy": "default-engine",
- "dueAt": "2025-05-02T00:00:00Z",
- "retryCount": 0,
- "serializedTask": "{\"Partition\":\"2025-05-04\"}",
- "state": "CREATED",
- "type": "CREATE_PARTITION"
}, - {
- "partition": "2025-05-03",
- "id": 1,
- "createdAt": "2025-05-01T16:04:11.365Z",
- "createdBy": "default-engine",
- "dueAt": "2025-05-03T00:05:00Z",
- "retryCount": 0,
- "serializedTask": "{\"Partition\":\"2025-05-01\"}",
- "state": "CREATED",
- "type": "DETACH_PARTITION"
}
]
}Unlocks locked, but uncompleted, tasks that are currently locked by a specific engine.
| partition | string <date> Partition condition. |
| id | integer <int32> Task condition - must be used in combination with a partition. |
| engineId required | string Condition that restricts the tasks, to be locked by a specific engine. |
{- "partition": "2025-05-01",
- "engineId": "default-engine"
}{- "count": 1
}A variable is data, identified by a name, that exists in the scope of a process instance or element instance.
Gets variables of an active or ended element instance.
| partition required | string <date> Element instance partition. |
| id required | integer <int32> Element instance ID. |
| names | string Examples: names=a,b,c Comma separated list of variables to include. |
{- "count": 2,
- "variables": [
- {
- "name": "a",
- "data": {
- "encoding": "json",
- "encrypted": true,
- "value": "{...}"
}
}, - {
- "name": "b",
- "data": {
- "encoding": "text",
- "value": "any text"
}
}
]
}Sets or deletes variables of an active element instance.
| partition required | string <date> Element instance partition. |
| id required | integer <int32> Element instance ID. |
Array of objects (VariableData) <= 100 items Variables to set or delete. For a variable deletion, no data must be provided. | |
| workerId required | string ID of the worker that set the variables. |
{- "variables": {
- "a": {
- "encoding": "json",
- "encrypted": true,
- "value": "{...}"
}
}, - "workerId": "go-bpmn"
}{- "status": 400,
- "type": "HTTP_REQUEST_BODY",
- "title": "invalid request body",
- "detail": "failed to validate request body",
- "errors": [
- {
- "pointer": "#/variables/,",
- "type": "variable_name",
- "detail": "must match regex ^[a-zA-Z0-9_-]+$",
- "value": ","
}, - {
- "pointer": "#/variables/,/encoding",
- "type": "required",
- "detail": "is required"
}, - {
- "pointer": "#/variables/,/value",
- "type": "required",
- "detail": "is required"
}
]
}Gets variables of an active or ended process instance.
| partition required | string <date> Process instance partition. |
| id required | integer <int32> Process instance ID. |
| names | string Examples: names=a,b,c Comma separated list of variables to include. |
{- "count": 2,
- "variables": [
- {
- "name": "a",
- "data": {
- "encoding": "json",
- "encrypted": true,
- "value": "{...}"
}
}, - {
- "name": "b",
- "data": {
- "encoding": "text",
- "value": "any text"
}
}
]
}Sets or deletes variables of an active process instance.
| partition required | string <date> Process instance partition. |
| id required | integer <int32> Process instance ID. |
Array of objects (VariableData) <= 100 items Variables to set or delete. For a variable deletion, no data must be provided. | |
| workerId required | string ID of the worker that set the variables. |
{- "variables": {
- "a": {
- "encoding": "json",
- "encrypted": true,
- "value": "{...}"
}
}, - "workerId": "go-bpmn"
}{- "status": 400,
- "type": "HTTP_REQUEST_BODY",
- "title": "invalid request body",
- "detail": "failed to validate request body",
- "errors": [
- {
- "pointer": "#/variables/,",
- "type": "variable_name",
- "detail": "must match regex ^[a-zA-Z0-9_-]+$",
- "value": ","
}, - {
- "pointer": "#/variables/,/encoding",
- "type": "required",
- "detail": "is required"
}, - {
- "pointer": "#/variables/,/value",
- "type": "required",
- "detail": "is required"
}
]
}Performs a variable query.
| offset | integer <int32> The number of results to skip, before returning any result. If offset is |
| limit | integer <int32> Maximum number of results to return. If limit is |
| partition | string <date> Partition filter. |
| elementInstanceId | integer <int32> Element instance filter. |
| processInstanceId | integer <int32> Process instance filter. |
| names | Array of strings Names of variables to include. |
{- "partition": "2025-05-09",
- "processInstanceId": 48,
- "names": [
- "x",
- "y",
- "z"
]
}{- "count": 1,
- "results": [
- {
- "partition": "2025-05-09",
- "id": 48,
- "processId": 2,
- "processInstanceId": 48,
- "createdAt": "2025-05-09T17:43:56.392Z",
- "createdBy": "go-bpmn",
- "encoding": "text",
- "encrypted": true,
- "name": "x",
- "updatedAt": "2025-05-09T17:43:56.392Z",
- "updatedBy": "go-bpmn"
}
]
}Increases the engine's time for testing purposes.
| time required | string <date-time> A future point in time. |
{- "time": "2025-05-10T00:00:00.000Z"
}{- "status": 409,
- "type": "CONFLICT",
- "title": "failed to set time",
- "detail": "time 2025-05-08T17:43:56Z is before engine time 2025-05-09T19:19:21Z"
}