Get Cleanable Decision Instance Report Count

Queries for the number of report results about a decision definition and finished decision instances relevant to history cleanup (see History cleanup). Takes the same parameters as the Get Cleanable Decision Instance Report method.

Method

GET /history/decision-definition/cleanable-decision-instance-report/count

Parameters

Query Parameters

Name Description
decisionDefinitionIdIn Filter by decision definition ids. Must be a comma-separated list of decision definition ids.
decisionDefinitionKeyIn Filter by decision definition keys. Must be a comma-separated list of decision definition keys.
tenantIdIn Filter by a comma-separated list of tenant ids. A decision definition must have one of the given tenant ids.
withoutTenantId Only include decision definitions which belong to no tenant. Value may only be true, as false is the default behavior.
compact Only include decision instances which have more than zero finished instances. Value may only be true, as false is the default behavior.

Result

A JSON array containing finished decision instance information relevant to history cleanup. Each report result has the following properties:

Name Type Description
count Number The number of report results.

Response Codes

Code Media type Description
200 application/json Request successful.
500 application/json See the Introduction for the error response format.

Examples

Request

GET /history/decision-definition/cleanable-decision-instance-report/count

Response

{
  "count": 1
}

On this Page: