REST API - queryProcessInstanceCountAlt - Using Query Request
The table summarizes the REST API - queryProcessInstanceCountAlt.
Request
Format | GET <baseurl>/process/alt/count/instance/{query} |
Path parameters | query: Query string (in SQL syntax). 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 SQL syntax, see Sorting and Filtering Lists of Process Templates and Instances . |
Response
JSON | If successful, returns 200 OK in the response header, and instance count in the response body. |
XML | If successful, returns 200 OK in the response header, and instance count in the response body. |
Example
Request | GET <baseurl>/process/alt/count/instance/SELECT * FROM process WHERE INSTANCE.STATUS='ACTIVE' |
Response | 10 |