Multidomain MDM
- Multidomain MDM 10.3 HotFix 1
- All Products
Parameter | Description |
---|---|
TaskMetadata | Contains the filter criteria to apply to tasks for the search. By default, GetTasks searches for tasks with priority=NORMAL and status=OPEN. To search for tasks with other priorities or statuses, specify the priority and status in the TaskMetadata parameter. |
OverdueOnly | If set to true , GetTasks only returns tasks with due dates that have already passed. |
SummaryOnly | If set to true , GetTasks only returns the task metadata. The records and comments associated with the task are not returned. |
Unassigned | If set to true , GetTasks only returns unassigned tasks. |
CanBeAssignedToUser | If set to true , GetTasks only returns tasks that can be assigned to the user specified in the GetTasks request. |
BDDApplicationName | If set to true , GetTasks only returns tasks for an IDD instance. |
DisablePaging | The default value of DisablePaging is false . If set to false , paging is enabled and a search token is returned. Use GetSearchResults to fetch subsequent pages of search results. true , paging is disabled. |
GetTasksRequest request = new GetTasksRequest(); TaskMetaData taskMetadata = new TaskMetaData(); taskMetadata.setOwnerUid("USER.admin"); request.setTaskMetaData(taskMetadata); request.setOverdueOnly(true); GetTasksResponse response = (GetTasksResponse) sipClient.process(request);
taskMetadata.setPriority(1);
taskMetadata.setTaskId("1234");
GetTasksResponse response = new GetTasksResponse(); int i=0; for(Iterator iter=response.getTaskList().iterator(); iter.hasNext();) { //iterate through response records System.out.println("Printing task " + i); TaskMetaData task = (TaskMetaData) iter.next(); System.out.println(task.getTitle()+", "+task.getTaskType()+", "+task.getStatus()); }