# Class: QueryProcessInstancesCountAltInputType

## tibco.objectapi.pm.QueryProcessInstancesCountAltInputType

#### new QueryProcessInstancesCountAltInputType()

Constructs a new QueryProcessInstancesCountAltInputType.

The following features are supported:

- `Query String`
- `Status Mode`

### Members

#### queryString :string

Request element for queryProcessInstanceCount and queryProcessTemplateCount operations, which require a query string (in SQL syntax) as their input. 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. (The underlying code knows whether to count process templates or process instances, depending on the calling operation.) This property holds the value of the 'Query String' attribute.

##### Type:

- string

#### statusMode :tibco.objectapi.pm.StateModeType

status Mode - ACTIVE only, COMPLETED only, or ACTIVE and COMPLETED This property holds the value of the 'Status Mode' attribute.

##### Type:

- tibco.objectapi.pm.StateModeType