04-15-2013 05:36 AM
// 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);
04-15-2013 06:01 AM
04-15-2013 07:20 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.