Get process instance (alpha)
GET/process-instances/:processInstanceKey
Get the process instance by the process instance key.
Note that this endpoint is an alpha feature and not enabled on Camunda clusters out of the box. The Camunda 8 API (REST) Overview page provides further details.
This endpoint is an alpha feature and may be subject to change in future releases.
Request
Path Parameters
The process instance key.
Responses
- 200
- 400
- 401
- 404
- 500
The process instance is successfully returned.
- application/json
- Schema
- Example (from schema)
Schema
The key of this process instance.
The process definition ID.
The process definition name.
The process definition version.
The process definition version tag.
The process definition key.
The parent process instance key.
The parent flow node instance key.
The path of keys to this process instance, separated by '/'.
The start date.
The end date.
Possible values: [ACTIVE
, COMPLETED
, CANCELED
]
The state, one of ACTIVE, COMPLETED, CANCELED.
Whether this process instance has a related incident or not.
The tenant ID.
{
"processInstanceKey": 0,
"processDefinitionId": "string",
"processDefinitionName": "string",
"processDefinitionVersion": 0,
"processDefinitionVersionTag": "string",
"processDefinitionKey": 0,
"parentProcessInstanceKey": 0,
"parentFlowNodeInstanceKey": 0,
"treePath": "string",
"startDate": "2024-11-14T15:06:47.109Z",
"endDate": "2024-11-14T15:06:47.109Z",
"hasIncident": true,
"tenantId": "string"
}
The provided data is not valid.
- application/problem+json
- Schema
- Example (from schema)
Schema
Default value: about:blank
A URI identifying the problem type.
A summary of the problem type.
Possible values: >= 400
and <= 600
The HTTP status code for this problem.
An explanation of the problem in more detail.
A URI identifying the origin of the problem.
{
"type": "about:blank",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
The request lacks valid authentication credentials.
- application/problem+json
- Schema
- Example (from schema)
Schema
Default value: about:blank
A URI identifying the problem type.
A summary of the problem type.
Possible values: >= 400
and <= 600
The HTTP status code for this problem.
An explanation of the problem in more detail.
A URI identifying the origin of the problem.
{
"type": "about:blank",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
The process instance with the given key was not found.
- application/problem+json
- Schema
- Example (from schema)
Schema
Default value: about:blank
A URI identifying the problem type.
A summary of the problem type.
Possible values: >= 400
and <= 600
The HTTP status code for this problem.
An explanation of the problem in more detail.
A URI identifying the origin of the problem.
{
"type": "about:blank",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
An internal error occurred while processing the request.
- application/problem+json
- Schema
- Example (from schema)
Schema
Default value: about:blank
A URI identifying the problem type.
A summary of the problem type.
Possible values: >= 400
and <= 600
The HTTP status code for this problem.
An explanation of the problem in more detail.
A URI identifying the origin of the problem.
{
"type": "about:blank",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}