REST API - queryProcessInstanceCount

The table summarizes the REST API - queryProcessInstanceCount.

Request

Format
GET <baseurl>/process/count/instance/<query>
Path parameters query: Query string (in SQL syntax) to determine the process instance count. The query can be either a full SQL query string, or just the WHERE clause. If a full query string is used, the "FROM process" clause should be included.

For information about valid query strings, see Sorting and Filtering Lists of Process Templates and Instances .

Response

JSON If successful, returns 204 No Content in the response header. The response body contains an integer value indicating the number of process instances that satisfied the query.
XML If successful, returns 204 No Content in the response header. The response body contains an integer value indicating the number of process instances that satisfied the query.

Example

Request
GET <baseurl>/process/count/instance/INSTANCE.PRIORITY%20%3D%20200
Response
29