Query decision instances
POST/decision-instances/search
Search for decision instances based on given criteria.
Request
- application/json
Body
- Array [
- ]
- MOD1
- AdvancedDateTimeFilter
- MOD1
- BasicLongFilter
sort object[]
Sort field criteria.
The field to sort by.
Possible values: [ASC
, DESC
]
Default value: ASC
The order in which to sort the related field.
page object
Pagination criteria.
The index of items to start searching from.
The maximum number of items to return in one request.
Items to search after. Correlates to the lastSortValues
property of a previous search response.
Items to search before. Correlates to the firstSortValues
property of a previous search response.
filter object
Decision instance search filter.
The key of the decision instance. Note that this is not the unique identifier of the entity itself; the decisionInstanceId
serves as the primary identifier.
The ID of the decision instance.
Possible values: [EVALUATED
, FAILED
, UNSPECIFIED
, UNKNOWN
]
The state of the decision instance.
The evaluation failure of the decision instance.
evaluationDate object
The evaluation date of the decision instance.
string
Checks for equality with the provided value.
Checks for inequality with the provided value.
Checks if the current property exists.
Greater than comparison with the provided value.
Greater than or equal comparison with the provided value.
Lower than comparison with the provided value.
Lower than or equal comparison with the provided value.
Checks if the property matches any of the provided values.
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
- 401
- 403
- 500
The decision instance search result.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
page object
Pagination information about the search results.
Total items matching the criteria.
The sort values of the first item in the result set. Use this in the searchBefore
field of an ensuing request.
The sort values of the last item in the result set. Use this in the searchAfter
field of an ensuing request.
items object[]
The matching decision instances.
The key of the decision instance. Note that this is not the unique identifier of the entity itself; the decisionInstanceId
serves as the primary identifier.
The ID 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,
"decisionInstanceId": "string",
"evaluationDate": "2024-12-13T13:19:42.565Z",
"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"
}
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"
}
Forbidden. The request is not allowed.
- 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"
}