Skip to main content
GET
/
history
/
decision-instance
/
count
Get Historic Decision Instance Count
curl --request GET \
  --url http://{host}:{port}/{contextPath}/history/decision-instance/count \
  --header 'Authorization: Basic <encoded-value>'
{
  "count": 4
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Query Parameters

decisionInstanceId
string

Filter by decision instance id.

decisionInstanceIdIn
string

Filter by decision instance ids. Must be a comma-separated list of decision instance ids.

decisionDefinitionId
string

Filter by the decision definition the instances belongs to.

decisionDefinitionIdIn
string

Filter by the decision definitions the instances belongs to. Must be a comma-separated list of decision definition ids.

decisionDefinitionKey
string

Filter by the key of the decision definition the instances belongs to.

decisionDefinitionKeyIn
string

Filter by the keys of the decision definition the instances belongs to. Must be a comma- separated list of decision definition keys.

decisionDefinitionName
string

Filter by the name of the decision definition the instances belongs to.

decisionDefinitionNameLike
string

Filter by the name of the decision definition the instances belongs to, that the parameter is a substring of.

processDefinitionId
string

Filter by the process definition the instances belongs to.

processDefinitionKey
string

Filter by the key of the process definition the instances belongs to.

processInstanceId
string

Filter by the process instance the instances belongs to.

caseDefinitionId
string

Filter by the case definition the instances belongs to.

caseDefinitionKey
string

Filter by the key of the case definition the instances belongs to.

caseInstanceId
string

Filter by the case instance the instances belongs to.

activityIdIn
string

Filter by the activity ids the instances belongs to. Must be a comma-separated list of acitvity ids.

activityInstanceIdIn
string

Filter by the activity instance ids the instances belongs to. Must be a comma-separated list of acitvity instance ids.

tenantIdIn
string

Filter by a comma-separated list of tenant ids. A historic decision instance must have one of the given tenant ids.

withoutTenantId
boolean

Only include historic decision instances that belong to no tenant. Value may only be true, as false is the default behavior.

evaluatedBefore
string<date-time>

Restrict to instances that were evaluated before the given date. By default, the date must have the format yyyy-MM- dd'T'HH:mm:ss.SSSZ, e.g., 2013-01-23T14:42:45.000+0200.

evaluatedAfter
string<date-time>

Restrict to instances that were evaluated after the given date. By default, the date must have the format yyyy-MM- dd'T'HH:mm:ss.SSSZ, e.g., 2013-01-23T14:42:45.000+0200.

userId
string

Restrict to instances that were evaluated by the given user.

rootDecisionInstanceId
string

Restrict to instances that have a given root decision instance id. This also includes the decision instance with the given id.

rootDecisionInstancesOnly
boolean

Restrict to instances those are the root decision instance of an evaluation. Value may only be true, as false is the default behavior.

decisionRequirementsDefinitionId
string

Filter by the decision requirements definition the instances belongs to.

decisionRequirementsDefinitionKey
string

Filter by the key of the decision requirements definition the instances belongs to.

Response

Request successful.

count
integer

The number of matching instances.