new QueryHaltedProcessInstancesRequest(query, pageSize)
RestApiService.getProcessManagementService().queryHaltedProcessInstances(request, callback);
Parameters:
Name | Type | Description |
---|---|---|
query |
string | Full (SQL syntax) query string. The "FROM process" clause should be included in the query.
You cannot use INSTANCE.STATUS in the query's condition expression. If you do, an error will be returned. (The function itself restricts the query to instances WHERE INSTANCE.STATUS = 'HALTED'.) |
pageSize |
number | (Java type: int) Page size to be used to return the list of process instances. One of the following values:
If you specify a paged result (pageSize = -1 or a number greater than 0), use the queryFirstPage, queryLastPage, queryNextPage, and queryPreviousPage functions to navigate the paged list, and queryDone to clear resources when you are finished with the paged list. (Note that the result limit for non-paginated queries (pageSize=0) is 500.) If a user-defined attribute is used in the SELECT statement of a paginated query, that attribute and its type should be included in the name and type parameters (see below), otherwise a database query must be made to get the type of the user-defined attribute, making the request less efficient. |
- Since:
- 4.0.0
Members
names :Array.<string>
Type:
- Array.<string>
- Since:
- 4.0.0
types :Array.<string>
Type:
- Array.<string>
- Since:
- 4.0.0