Execution

Get Execution Count (POST)

Queries for the number of executions that fulfill given parameters. This method takes the same message body as the Get Executions POST method and therefore it is slightly more powerful than the Get Execution Count method.

post/execution/count

Request

  • Base URL: http://localhost:8080/engine-rest
  • URL: http://localhost:8080/engine-rest/execution/count
  • Auth: HTTP basic

Request body

businessKeystring nullable

Filter by the business key of the process instances the executions belong to.

processDefinitionIdstring nullable

Filter by the process definition the executions run on.

processDefinitionKeystring nullable

Filter by the key of the process definition the executions run on.

processInstanceIdstring nullable

Filter by the id of the process instance the execution belongs to.

activityIdstring nullable

Filter by the id of the activity the execution currently executes.

signalEventSubscriptionNamestring nullable

Select only those executions that expect a signal of the given name.

messageEventSubscriptionNamestring nullable

Select only those executions that expect a message of the given name.

activeboolean nullable

Only include active executions. Value may only be true, as false is the default behavior.

suspendedboolean nullable

Only include suspended executions. Value may only be true, as false is the default behavior.

incidentIdstring nullable

Filter by the incident id.

incidentTypestring nullable

Filter by the incident type. See the User Guide for a list of incident types.

incidentMessagestring nullable

Filter by the incident message. Exact match.

incidentMessageLikestring nullable

Filter by the incident message that the parameter is a substring of.

tenantIdInstring[] nullable

Filter by a list of tenant ids. An execution must have one of the given tenant ids.

variableNamesIgnoreCaseboolean nullable

Match all variable names provided in variables and processVariables case- insensitively. If set to true variableName and variablename are treated as equal.

variableValuesIgnoreCaseboolean nullable

Match all variable values provided in variables and processVariables case- insensitively. If set to true variableValue and variablevalue are treated as equal.

Response

Request successful.

countinteger

The number of matching instances.

Changes

No recorded changes to this operation across all 1 revision of this API.