getTasksAssignedAsPotentialOwner method of TaskService returns duplicate record
Issue
- Create a process with a User Task which has both
actorIdandgroupId, Start a process and let it create a Task. - Now call
getTasksAssignedAsPotentialOwnerwithactorIdandgroupIds,
List<String> groupIds = new ArrayList<String>();
groupIds.add("PM");
List<TaskSummary> list = localTaskService.getTasksAssignedAsPotentialOwner("john", groupIds, "en-UK");
System.out.println("list.size() = " + list.size());
getTasksAssignedAsPotentialOwner()method returns duplicate record.
Is that a Bug and what is the workaround?
Environment
- Red Hat JBoss BRMS (BRMS)
- 5.3.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
