Skip to main content
Version: Next

Query decision instances

POST 

/decision-instances/search

Search for decision instances based on given criteria.

Request

Body

    sort object[]

    Sort field criteria.

  • Array [
  • field stringrequired

    The field to sort by.

    order SortOrderEnum

    Possible values: [ASC, DESC]

    Default value: ASC

    The order in which to sort the related field.

  • ]
  • page object

    Pagination criteria.

    from int32

    The index of items to start searching from.

    limit int32

    The maximum number of items to return in one request.

    searchAfter object[]

    Items to search after. Correlates to the lastSortValues property of a previous search response.

    searchBefore object[]

    Items to search before. Correlates to the firstSortValues property of a previous search response.

    filter object

    Decision instance search filter.

    decisionInstanceKey int64

    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.

    decisionInstanceId string

    The ID of the decision instance.

    state DecisionInstanceStateEnum

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

    The state of the decision instance.

    evaluationFailure string

    The evaluation failure of the decision instance.

    evaluationDate object

    The evaluation date of the decision instance.

    oneOf

    string

    processDefinitionKey int64

    The key of the process definition.

    processInstanceKey int64

    The key of the process instance.

    decisionDefinitionKey object

    The key of the decision.

    oneOf

    integer

    decisionDefinitionId string

    The ID of the DMN decision.

    decisionDefinitionName string

    The name of the DMN decision.

    decisionDefinitionVersion int32

    The version of the decision.

    decisionDefinitionType DecisionDefinitionTypeEnum

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

    The type of the decision.

    tenantId string

    The tenant ID of the decision instance.

Responses

The decision instance search result.

Schema
    page object

    Pagination information about the search results.

    totalItems int64

    Total items matching the criteria.

    firstSortValues object[]

    The sort values of the first item in the result set. Use this in the searchBefore field of an ensuing request.

    lastSortValues object[]

    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.

  • Array [
  • decisionInstanceKey int64

    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.

    decisionInstanceId string

    The ID of the decision instance.

    state DecisionInstanceStateEnum

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

    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 DecisionDefinitionTypeEnum

    Possible values: [DECISION_TABLE, LITERAL_EXPRESSION, 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...