Skip to main content
Version: Next

Query incidents (alpha)

POST 

/incidents/search

Search for incidents 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.

note

This endpoint is an alpha feature and may be subject to change in future releases.

Request

Body

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

    Default value: asc

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

    The assigned key, which acts as a unique identifier for this incident.

    processDefinitionKey int64

    The process definition key associated to this incident.

    processDefinitionId string

    The process definition ID associated to this incident.

    processInstanceKey int64

    The process instance key associated to this incident.

    errorType string

    Possible values: [UNSPECIFIED, UNKNOWN, IO_MAPPING_ERROR, JOB_NO_RETRIES, CONDITION_ERROR, EXTRACT_VALUE_ERROR, CALLED_ELEMENT_ERROR, UNHANDLED_ERROR_EVENT, MESSAGE_SIZE_EXCEEDED, CALLED_DECISION_ERROR, DECISION_EVALUATION_ERROR, FORM_NOT_FOUND]

    Incident error type with a defined set of values.

    errorMessage string

    Error message which describes the error in more detail.

    flowNodeId string

    The flow node ID associated to this incident.

    flowNodeInstanceKey int64

    The flow node instance key associated to this incident.

    creationTime date-time

    Date of incident creation.

    state string

    Possible values: [ACTIVE, MIGRATED, RESOLVED, PENDING]

    State of this incident with a defined set of values.

    jobKey int64

    The job key, if exists, associated with this incident.

    treePath string

    The path from process instance via flow node ids and flow node instance keys leading to this incident.

    tenantId string

    The tenant ID of the incident.

Responses

The incident search result.

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

    The assigned key, which acts as a unique identifier for this incident.

    processDefinitionKey int64

    The process definition key associated to this incident.

    processDefinitionId string

    The process definition ID associated to this incident.

    processInstanceKey int64

    The process instance key associated to this incident.

    errorType string

    Possible values: [UNSPECIFIED, UNKNOWN, IO_MAPPING_ERROR, JOB_NO_RETRIES, CONDITION_ERROR, EXTRACT_VALUE_ERROR, CALLED_ELEMENT_ERROR, UNHANDLED_ERROR_EVENT, MESSAGE_SIZE_EXCEEDED, CALLED_DECISION_ERROR, DECISION_EVALUATION_ERROR, FORM_NOT_FOUND]

    Incident error type with a defined set of values.

    errorMessage string

    Error message which describes the error in more detail.

    flowNodeId string

    The flow node ID associated to this incident.

    flowNodeInstanceKey int64

    The flow node instance key associated to this incident.

    creationTime date-time

    Date of incident creation.

    state string

    Possible values: [ACTIVE, MIGRATED, RESOLVED, PENDING]

    State of this incident with a defined set of values.

    jobKey int64

    The job key, if exists, associated with this incident.

    treePath string

    The path from process instance via flow node ids and flow node instance keys leading to this incident.

    tenantId string

    The tenant ID of the incident.

  • ]
Loading...