# Class: QueryProcessInstancesAltInputType

## tibco.objectapi.pm.QueryProcessInstancesAltInputType

#### new QueryProcessInstancesAltInputType()

Constructs a new QueryProcessInstancesAltInputType.

The following features are supported:

- `Select`
- `Where`
- `Order By`
- `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

#### orderBy :string

Sorting/grouping criteria to be used in the query. This property holds the value of the 'Order By' attribute.

##### Type:

- string

#### 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. >0: 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

#### select :string

Attributes to be selected for each process instance in the result set. The "FROM process" clause should be included. This property holds the value of the 'Select' 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

#### where :string

Filter criteria to be used in the query. This property holds the value of the 'Where' attribute.

##### Type:

- string