Get List Count (POST)
Queries for the number of process instances that fulfill the given parameters. This method takes the same message body as the Get Instances (POST) method and therefore it is slightly more powerful than the Get Instance Count method.
Request
- Base URL: http://localhost:8080/engine-rest
- URL: http://localhost:8080/engine-rest/process-instance/count
- Auth: HTTP basic
Request body
Filter by the deployment the id belongs to.
Filter by the process definition the instances run on.
Filter by the key of the process definition the instances run on.
Filter by a list of process definition keys. A process instance must have one of the given process definition keys. Must be a JSON array of Strings.
Exclude instances by a list of process definition keys. A process instance must not have one of the given process definition keys. Must be a JSON array of Strings.
Filter by process instance business key.
Filter by process instance business key that the parameter is a substring of.
Filter by case instance id.
Restrict query to all process instances that are sub process instances of the given process instance. Takes a process instance id.
Restrict query to all process instances that have the given process instance as a sub process instance. Takes a process instance id.
Restrict query to all process instances that are sub process instances of the given case instance. Takes a case instance id.
Restrict query to all process instances that have the given case instance as a sub case instance. Takes a case instance id.
Only include active process instances. Value may only be true, as false is the default behavior.
Only include suspended process instances. Value may only be true, as false is the default behavior.
Filter by a list of process instance ids. Must be a JSON array of Strings.
Filter by presence of incidents. Selects only process instances that have an incident.
Filter by the incident id.
Filter by the incident type. See the User Guide for a list of incident types.
Filter by the incident message. Exact match.
Filter by the incident message that the parameter is a substring of.
Filter by a list of tenant ids. A process instance must have one of the given tenant ids. Must be a JSON array of Strings.
Only include process instances which belong to no tenant. Value may only be true, as false is the default behavior.
Only include process instances which process definition has no tenant id.
Filter by a list of activity ids. A process instance must currently wait in a leaf activity with one of the given activity ids.
Restrict the query to all process instances that are top level process instances.
Restrict the query to all process instances that are leaf instances. (i.e. don't have any sub instances)
Match all variable names in this query case-insensitively. If set to true variableName and variablename are treated as equal.
Match all variable values in this query case-insensitively. If set to true variableValue and variablevalue are treated as equal.
Response
Request successful.
The number of matching instances.
Changes
No recorded changes to this operation across all 1 revision of this API.