Variable Instance

Get Variable Instance Count (POST)

Query for the number of variable instances that fulfill given parameters. This method takes the same message body as the [Get Variable Instances POST](https://docs.cibseven.org/manual/2.1/reference/rest/variable- instance/post-query/) method and therefore it is slightly more powerful than the Get Variable Instance Count method.

post/variable-instance/count

Request

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

Request body

variableNamestring nullable

Filter by variable instance name.

variableNameLikestring nullable

Filter by the variable instance name. The parameter can include the wildcard % to express like-strategy such as: starts with (%name), ends with (name%) or contains (%name%).

processInstanceIdInstring[] nullable

Only include variable instances which belong to one of the passed process instance ids.

executionIdInstring[] nullable

Only include variable instances which belong to one of the passed execution ids.

caseInstanceIdInstring[] nullable

Only include variable instances which belong to one of the passed case instance ids.

caseExecutionIdInstring[] nullable

Only include variable instances which belong to one of the passed case execution ids.

taskIdInstring[] nullable

Only include variable instances which belong to one of the passed task ids.

batchIdInstring[] nullable

Only include variable instances which belong to one of the passed batch ids.

activityInstanceIdInstring[] nullable

Only include variable instances which belong to one of the passed activity instance ids.

tenantIdInstring[] nullable

Only include variable instances which belong to one of the passed tenant ids.

variableNamesIgnoreCaseboolean nullable

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

variableValuesIgnoreCaseboolean nullable

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

variableScopeIdInstring[] nullable

Only include variable instances which belong to one of passed scope ids.

Response

Request successful.

countinteger

The number of matching instances.

Changes

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