# Class: QueryProcessInstanceCountAltRequestAlt

## tibco.objectapi.service.request.QueryProcessInstanceCountAltRequestAlt

#### new QueryProcessInstanceCountAltRequestAlt(statusMode, query)

Object QueryProcessInstanceCountAltRequestAlt Usage: `RestApiService.getProcessManagementService().queryProcessInstanceCountAlt(request, callback);`

##### Parameters:

Name | Type | Description
--- | --- | ---
`statusMode` | string | The status of the process instances being queried. The valid options are ACTIVE, TERMINATED, ACTIVE_AND_TERMINATED.
`query` | string | 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.

Since:
  - 4.0.0