# Class: QueryProcessInstancesInputType

## tibco.objectapi.pm.QueryProcessInstancesInputType

#### new QueryProcessInstancesInputType()

Constructs a new QueryProcessInstancesInputType.

The following features are supported:

- `Query`
- `Status Mode`
- `Page Size`
- `Attribute Map`

### Members

#### attributeMap :tibco.objectapi.pm.TemplateAttributes

(Optional) Specification of the types of user-defined attributes to be included in the query. Specifying this parameter will make the query more efficient. This property holds the value of the 'Attribute Map' containment reference.

##### Type:

- tibco.objectapi.pm.TemplateAttributes

#### pageSize :number

Page size to be used to return the list of process instances. One of the following values: 0: Return the entire result set in a single, non-paged list. -1: Return the result set in a paged list, using the default page size. positive integer: return the result set in a paged list, with the specified number of items on each page. This property holds the value of the 'Page Size' attribute.

##### Type:

- number

#### query :string

Full (SQL syntax) query string. The "FROM process" clause should be included in the query. This property holds the value of the 'Query' 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