Skip to main content
Version: 8.6

Query decision instances (alpha)

POST 

/decision-instances/search

Search for decision instances based on given criteria.

note

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

Body

    sort object[]
  • Array [
  • field stringrequired
    order string

    Default value: asc

  • ]
  • page object
    from int32
    limit int32
    searchAfter object[]
    searchBefore object[]
    filter object
    key int64

    The key of the decision instance.

    state DecisionInstanceStateEnum

    Possible values: [EVALUATED, FAILED, UNKNOWN, UNSPECIFIED]

    The state of the decision instance.

    evaluationFailure string

    The evaluation failure of the decision instance.

    processDefinitionKey int64

    The key of the process definition.

    processInstanceKey int64

    The key of the process instance.

    decisionDefinitionKey int64

    The key of the decision.

    decisionDefinitionId string

    The ID of the DMN decision.

    decisionDefinitionName string

    The name of the DMN decision.

    decisionDefinitionVersion int32

    The version of the decision.

    decisionDefinitionType DecisionInstanceTypeEnum

    Possible values: [DECISION, DECISION_TABLE, LITERAL_EXPRESSION, RELATION, UNSPECIFIED, UNKNOWN]

    The type of the decision.

    tenantId string

    The tenant ID of the decision instance.

Responses

The decision instance search successful response.

Schema
    page object
    totalItems int64
    firstSortValues object[]
    lastSortValues object[]
    items object[]
  • Array [
  • key int64

    The key of the decision instance.

    state DecisionInstanceStateEnum

    Possible values: [EVALUATED, FAILED, UNKNOWN, UNSPECIFIED]

    The state of the decision instance.

    evaluationDate date-time

    The evaluation date of the decision instance.

    evaluationFailure string

    The evaluation failure of the decision instance.

    processDefinitionKey int64

    The key of the process definition.

    processInstanceKey int64

    The key of the process instance.

    decisionDefinitionKey int64

    The key of the decision.

    decisionDefinitionId string

    The ID of the DMN decision.

    decisionDefinitionName string

    The name of the DMN decision.

    decisionDefinitionVersion int32

    The version of the decision.

    decisionDefinitionType DecisionInstanceTypeEnum

    Possible values: [DECISION, DECISION_TABLE, LITERAL_EXPRESSION, RELATION, UNSPECIFIED, UNKNOWN]

    The type of the decision.

    result string

    The result of the decision instance.

    tenantId string

    The tenant ID of the decision instance.

  • ]
Loading...