04-11-2013 01:45 AM
Task tasks = processEngine.getTaskService().createTaskQuery().taskDefinitionKey("fof").list();
Task tasks = processEngine.getTaskService().getNextTask(User currentUser);
04-11-2013 05:37 AM
I know there is processEngine.getTaskService().createTaskQuery().taskAssignee(), but is returns all the tasks that are assigned to a specific user and not the next task for the user.
04-11-2013 01:50 PM
List<Task> tasks = processEngine.getTaskService().createTaskQuery().taskDefinitionKey("TA").list();
04-12-2013 07:53 AM
04-12-2013 04:22 PM
04-13-2013 07:16 AM
04-13-2013 01:12 PM
why do we need to pass TaskDefinitionKey in order to fetch the task object
11-20-2017 05:15 AM
Yes you are right,but to query by assignee first we need to set the assignee. I am stuck here itself,suppose two user task with two different assignee.On starting the process i get access to only first user task because for activiti engine the 2nd user task doesn't exist still.But i want to pre-assign the assignee to all user tasks and start the process flow,querying by assignee.
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.