04-03-2012 06:50 AM
org.activiti.engine.TaskService taskService = processEngine.getTaskService();
TaskQuery taskQuery = taskService.createTaskQuery();
taskQuery = taskQuery.taskCandidateUser(userId).orderByTaskCreateTime().asc();
List<org.activiti.engine.task.Task> list = taskQuery.listPage(0, MAX_TASKS_RESULTS);
SELECT DISTINCT t. *
FROM act_ru_task t
INNER JOIN act_ru_identitylink i
ON i.task_id_ = t.id_
WHERE i.type_ = 'candidate'
AND i.group_id_ IN ( 'DISPATCHER' )
AND t.assignee_ IS NULL
ORDER BY t.create_time_ ASC
04-03-2012 07:20 AM
04-04-2012 04:57 AM
04-10-2012 06:23 AM
05-03-2012 02:26 AM
CREATE INDEX idx_null ON test(object_id, 1);
05-03-2012 03:49 PM
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.