Retrieving assigned-task candidate to a group
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-21-2012 05:02 AM
I need to find all the task assigned or not candidate to one or many groups.
http://jira.codehaus.org/browse/ACT-1214
As shown in Jira the sql statement explicitly exclude assigned task. Is there a way to workaround this issue.
http://jira.codehaus.org/browse/ACT-1214
As shown in Jira the sql statement explicitly exclude assigned task. Is there a way to workaround this issue.
Labels:
- Labels:
-
Archive
5 REPLIES 5

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-21-2012 05:15 AM
I asked a closely related question a few days ago: http://forums.activiti.org/en/viewtopic.php?f=6&t=3965
No answers so far. It would be great if someone could reply to this.
No answers so far. It would be great if someone could reply to this.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-21-2012 05:25 AM
Sorry I didn't make a new search in the forum since I post the case in JIRA.
It's more than closely related, we have the same need ; Vote for the issue.
It's more than closely related, we have the same need ; Vote for the issue.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-24-2012 07:43 AM
As workaround I set a variableLocal associate to the assigned task and run a task query for the variable. In my case setting the """assigneeGroup""" is efficient.
taskService.setVariableLocal(String taskId, String variableName, Object value)
taskService.createTaskQuery().taskVariableValueEquals(String variableName, Object variableValue).list()

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-24-2014 01:01 AM
I need to do exactly the same.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-28-2014 04:51 AM
An alternative is always, if the API doesn't give what you need, to write a custom query: http://www.jorambarrez.be/blog/2014/01/17/execute-custom-sql-in-activiti/
