MaxResults | String Optional. ![]() ![]() ![]() Note: This element does not apply to tasks with an indexed search provider. In this case, the specified value is ignored. |
doNotShowAcceptedByOthers | Boolean Optional. Exclude tasks that are accepted by a user other than the user ID used in the search. Default is false. |
showNonActiveTasks | Boolean Optional. This field can be used when executing queries to fetch tasks from a user's inbox. This parameter is meant to override the default behavior of the searchUserTasks parameter wherever it is used and allow the return of non-active tasks. Set to: ![]() ![]() For example, by specifying searchUserTasks =true and showNonActiveTasks =true, the query returns all non-active tasks from a user's inbox (that is, those tasks already completed by user). The showNonActiveTasks parameter has no impact on non-user task searches. To construct a non-user task search to return only active tasks, you must set query terms of searchUserTasks =false and status =active. |
searchEngineType | String Optional. Specifies the search engine to use when searching for tasks. The default values are: ![]() ![]() You can also specify the name of any custom engine that you develop for task searches and register as an OSGi service in the My webMethods Server runtime. For more information and examples about adding custom task search engines, see the Software AG TECHcommunity website. |
activeVoting | Boolean Optional. When set to true, returns all task instances from a votable task type for which at least one user has voted. The default value is false. |
Terms | Document List An array of TaskSearchQueryTerm, in which each member of the array specifies query criteria for the search. See
pub.task:TaskSearchQueryTerm for a description of the fields in TaskSearchQueryTerm. When a search is performed, the criteria specified by the TaskSearchQueryTerm documents in Terms are combined using the logical "AND" operator. Only tasks that satisfy all TaskSearchQueryTerm documents in the Terms array are returned in the result set. |