[jbpm-issues] [JBoss JIRA] Updated: (JBPM-2773) TaskService: allow search for assigned candidate tasks

Kai Weingärtner (JIRA) jira-events at lists.jboss.org
Thu Jan 28 03:49:19 EST 2010


     [ https://jira.jboss.org/jira/browse/JBPM-2773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kai Weingärtner updated JBPM-2773:
-----------------------------------

    Attachment: unit-tests.zip


added unit tests + jpdl

> TaskService: allow search for assigned candidate tasks
> ------------------------------------------------------
>
>                 Key: JBPM-2773
>                 URL: https://jira.jboss.org/jira/browse/JBPM-2773
>             Project: jBPM
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: Runtime Engine
>    Affects Versions: jBPM 4.3
>         Environment: any
>            Reporter: Kai Weingärtner
>             Fix For: jBPM 4.x
>
>         Attachments: unit-tests.zip
>
>
> I would like to be able to find all tasks a user is a candidate for, regardless of the task being assigned or not. Currently the TaskQuery.candidate - filter also sets the unassigned filter. Thus, already assigned candidate tasks can never be found.
> Possible use cases:
> - a task needs to be reassigned due to sickness of the assignee
> - user A needs to take user B's task, when a customer approaches user A about a task concerning him
> Solution:
> - don't add the unassigned filter in the candidate filter of TaskQuery but make them separate. To achieve the current result, one could set both filters explicitly.

-- 
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

       



More information about the jbpm-issues mailing list