As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
// a workflow instance id was provided so query for tasks WorkflowTaskQuery taskQuery = new WorkflowTaskQuery(); taskQuery.setActive(null); taskQuery.setProcessId(workflowInstanceId); taskQuery.setTaskState(state); taskQuery.setOrderBy(new OrderBy[]{OrderBy.TaskDue_Asc}); if (authority != null) { taskQuery.setActorId(authority); } allTasks = workflowService.queryTasks(taskQuery);
taskQuery.setProcessId(workflowInstanceId);