queryProcessInstancesPreviousPage

This request returns the previous page of process instances — used after calling the queryProcessInstances request with the page size set to a value other than 0, then calling the queryProcessInstancesNext request to get the next page of process instances.

Note that if you call this request, and there are no process instances to return, an exception is thrown.

Syntax

com.tibco.wcc.base.Requests.queryProcessInstancesPrevousPage(requestId,
                                                             queryId);

Parameters

  • requestId - (String) Uniquely identifies the request. For more information, see Submitting Server Requests.
  • queryId - (String) A unique identifier for the queryProcessInstances request in which you have requested paging for the returned process instances. The value you must pass in this parameter is returned in the <ap:QueryId> element in the queryProcessInstances request response.

Returns

This returns the same elements as the queryProcessInstances request, except it does not include the <ap:QueryId> element. See queryProcessTemplates.

Note that this method could return zero items if the number of process instances has decreased since the initial query was made (because of process instances being completed or cancelled since the query).