Task Engine 10.11 | Task Engine Webhelp | webMethods Task Engine API and Service Reference | Using the Task Engine Built-in Services | pub.task.TaskSearchQueryV2
WmTaskClient. Document type that you use to specify the search criteria for the pub.task.taskclient:searchTasksIndexed and pub.task.taskclient:searchTasksIndexedHPSTRA services.
The pub.task.TaskSearchQueryV2 document type includes the same fields as pub.task:TaskSearchQuery plus the additional fields listed in the table below to support queries on indexed business data.
Integer Specifies the starting index of the page of search results. Zero represents the first index of the result set.
Integer Indicates the end of the search results indexed on the page. The toIndex must be greater than the fromIndex and less than or equal to the total result count
String Optional. Specifies the comma-separated list of field names used to sort the search results. The first entry is the primary sort key, second entry is the secondary sort key, matching the results to the order of the sort key sequence.
When specifying indexed field names, you must provide the database index field name. To determine the value of the database index field name, see pub.task:TaskSearchQueryTerm.
String Optional. Specifies the comma-separated list of values ascending (ASC) or descending (DESC) that match the sortBy list of fields. sortOrder indicates the sort order used to list the fields, ascending or descending order.
Set sortBy to:
*ASC to display the results in ascending order.
*DESC to display the results in descending order.
The default sortOrderis ascending (ASC).