]
Huisheng Xu updated JBPM-2773:
------------------------------
Fix Version/s: jBPM 4.5
(was: jBPM 4.x)
Affects Version/s: jBPM 4.4
TaskService: allow search for assigned candidate tasks
------------------------------------------------------
Key: JBPM-2773
URL:
https://jira.jboss.org/browse/JBPM-2773
Project: jBPM
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: Runtime Engine
Affects Versions: jBPM 4.3, jBPM 4.4
Environment: any
Reporter: Kai Weingärtner
Assignee: Huisheng Xu
Fix For: jBPM 4.5
Attachments: JBPM-2773.patch, 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: