[
https://jira.jboss.org/jira/browse/JBPM-2648?page=com.atlassian.jira.plug...
]
Sebastian Castellanos commented on JBPM-2648:
---------------------------------------------
Well, download the jbpm project and looking for a bit I found this possible solution
I`m not sure if this does not impact on tros places, I think not.
in class TaskQueryImpl change the query to the database.
hql.append ( "select task");
by
hql.append ( "select distinct task");
The solution is quite logical.
Greetings. and thanks.
Sebastián Castellanos.
Candidate-Groups
-----------------
Key: JBPM-2648
URL:
https://jira.jboss.org/jira/browse/JBPM-2648
Project: jBPM
Issue Type: Task
Security Level: Public(Everyone can see)
Components: Runtime Engine
Affects Versions: jBPM 4.2
Reporter: Sebastian Castellanos
Attachments: candidates.rar
Hi,
I have a problem when seeking tasks using candidate-groups.
I created tarea1 which has associated candidate-groups "Group1, Group2, Group3.
Then I have a user "sebastian" which is a member of Group 1, Group 2 and Group
3.
The problem is that when I run taskService().findGroupTasks("sebastian");
I returned a list of 3 tasks equal, Tarea1, Tarea1, Tarea1. When it should be listed just
once the task (Tarea1).
I'm not sure if it's a conceptual issue or a bug in the API.
I would be grateful for your help.
P/d: I'm not using swimlane because I had problems with respect to the Fork / Join.
Greetings. Sebastian
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira