Query flow node instances (alpha)
POST/flownode-instances/search
Search for flow node instances based on given criteria.
This endpoint is an alpha feature and not enabled on Camunda clusters out of the box. See the Camunda 8 REST API overview for further details.
Request
- application/json
Body
- Array [
- ]
sort object[]
Default value: asc
page object
filter object
The key of this flow node instance.
The process instance key.
The process definition key.
The state, one of ACTIVE, COMPLETED, TERMINATED.
The flow node type
The flow node id
The flow node name
The path of keys from process instance to this flow node instance separated by '/'
Shows whether this flow node instance has an incident related to
The key of incident if field incident is true
The tenant id
Responses
- 200
- 400
- 500
The Flow node instance search successful response.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
page object
items object[]
{
"items": [
{
"flowNodeInstanceKey": 0,
"processInstanceKey": 0,
"processDefinitionKey": 0,
"startDate": "string",
"endDate": "string",
"flowNodeId": "string",
"flowNodeName": "string",
"treePath": "string",
"type": "string",
"state": "string",
"incident": true,
"incidentKey": 0,
"tenantId": "string"
}
],
"page": {
"totalItems": 0,
"firstSortValues": [
{}
],
"lastSortValues": [
{}
]
}
}
The Flow node instance Search Query failed. More details are provided in the response body.
- 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"
}