Query decision instances (alpha)
POST/decision-instances/search
Search for decision instances based on given criteria.
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
- application/json
Body
- Array [
- ]
- MOD1
- BasicLongFilter
sort object[]
Default value: asc
page object
filter object
The key of the decision instance.
Possible values: [EVALUATED
, FAILED
, UNSPECIFIED
, UNKNOWN
]
The state of the decision instance.
The evaluation failure of the decision instance.
The evaluation date of the decision instance.
The key of the process definition.
The key of the process instance.
decisionDefinitionKey object
The key of the decision.
integer
Checks for equality with the provided value.
Checks for inequality with the provided value.
Checks if the current property exists.
Checks if the property matches any of the provided values.
The ID of the DMN decision.
The name of the DMN decision.
The version of the decision.
Possible values: [DECISION_TABLE
, LITERAL_EXPRESSION
, UNSPECIFIED
, UNKNOWN
]
The type of the decision.
The tenant ID of the decision instance.
Responses
- 200
- 400
- 500
The decision instance search result.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
page object
items object[]
The key of the decision instance.
Possible values: [EVALUATED
, FAILED
, UNSPECIFIED
, UNKNOWN
]
The state of the decision instance.
The evaluation date of the decision instance.
The evaluation failure of the decision instance.
The key of the process definition.
The key of the process instance.
The key of the decision.
The ID of the DMN decision.
The name of the DMN decision.
The version of the decision.
Possible values: [DECISION_TABLE
, LITERAL_EXPRESSION
, UNSPECIFIED
, UNKNOWN
]
The type of the decision.
The result of the decision instance.
The tenant ID of the decision instance.
{
"items": [
{
"decisionInstanceKey": 0,
"evaluationDate": "2024-11-14T15:06:47.133Z",
"evaluationFailure": "string",
"processDefinitionKey": 0,
"processInstanceKey": 0,
"decisionDefinitionKey": 0,
"decisionDefinitionId": "string",
"decisionDefinitionName": "string",
"decisionDefinitionVersion": 0,
"result": "string",
"tenantId": "string"
}
],
"page": {
"totalItems": 0,
"firstSortValues": [
{}
],
"lastSortValues": [
{}
]
}
}
The decision 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"
}