cancel
Showing results for 
Search instead for 
Did you mean: 

Ability to view Processes that have been claimed

kkakpati01
Champ in-the-making
Champ in-the-making
Hi Team,

I am currently working on a migration project to Activiti. Is it possible for a user to be able to see all workitems assigned to his group regardless of whether the work has been claimed or not. We have a requirement to provide managers with the ability to view work that has already been claimed so it can be transferred to someone else if the current assigned resource is taking too much time on the work item.

Thanks
K.U.A
3 REPLIES 3

martin_grofcik
Confirmed Champ
Confirmed Champ
Yes,

use org.activiti.engine.task.TaskQuery. (There are several ways described in the doc how to query tasks)

Regards
Martin

sunilkumartk
Champ on-the-rise
Champ on-the-rise
in version 5.19
i think this is still an issue.

i tried
taskService.createTaskQuery()
                            .taskCandidateGroup("techassessment")
                            .includeProcessVariables()
                            .list();

as I have NOT used .taskUnassigned(), it should have returned everything. It doesnt!!
I think it should have returned everything as default and only unassigned when taskUnassigned is used.

i tried using the Native Query also but i am unable to add process Variables data with it..
(posted else where too. just fYI)

trademak
Star Contributor
Star Contributor
Already responded to a very similar post from you.