Get decision instance
GET/decision-instances/:decisionInstanceId
Returns a decision instance.
Request
Path Parameters
The assigned ID of the decision instance, which acts as a unique identifier for this decision instance.
Responses
- 200
- 400
- 401
- 403
- 404
- 500
The decision instance is successfully returned.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- Array [
- ]
- ]
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.
evaluatedInputs object[]
The evaluated inputs of the decision instance.
The ID of the evaluated decision input.
The name of the evaluated decision input.
The value of the evaluated decision input.
matchedRules object[]
The matched rules of the decision instance.
The ID of the matched rule.
The index of the matched rule.
evaluatedOutputs object[]
The evaluated decision outputs.
The ID of the evaluated decision output.
The name of the evaluated decision output.
The value of the evaluated decision output.
{
"decisionInstanceKey": 0,
"decisionInstanceId": "string",
"evaluationDate": "2024-12-13T13:19:42.568Z",
"evaluationFailure": "string",
"processDefinitionKey": 0,
"processInstanceKey": 0,
"decisionDefinitionKey": 0,
"decisionDefinitionId": "string",
"decisionDefinitionName": "string",
"decisionDefinitionVersion": 0,
"result": "string",
"tenantId": "string",
"evaluatedInputs": [
{
"inputId": "string",
"inputName": "string",
"inputValue": "string"
}
],
"matchedRules": [
{
"ruleId": "string",
"ruleIndex": 0,
"evaluatedOutputs": [
{
"outputId": "string",
"outputName": "string",
"outputValue": "string"
}
]
}
]
}
The decision instance request 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"
}
The decision instance with the given ID was not found. 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"
}