Get Cleanable Case Instance Report Count

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

Method

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

Parameters

Query Parameters

Name Description
caseDefinitionIdIn Filter by case definition ids. Must be a comma-separated list of case definition ids.
caseDefinitionKeyIn Filter by case definition keys. Must be a comma-separated list of case definition keys.
tenantIdIn Filter by a comma-separated list of tenant ids. A case definition must have one of the given tenant ids.
withoutTenantId Only include case definitions which belong to no tenant. Value may only be true, as false is the default behavior.
compact Only include case 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 case 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/case-definition/cleanable-case-instance-report/count

Response

{
  "count": 1
}

On this Page: