AnsweredAssumed Answered

Custom group member verification

Question asked by errorcv on Jun 8, 2015
Latest reply on Jun 12, 2015 by jbarrez
Hi everyone,

I have a simple workflow with one usertask. My user task contains:


and I can search tasks by this query:

List<Task> tasks = taskService.createTaskQuery().taskCandidateOrAssigned("myuser").list();

I read about IdentityService and custom session factories (how to manage users and groups)
but I need to implement retriving user tasks without real assignement to group

For instanse I have group name "mygroup" and user name "myuser" which is not assigned to group but has permission attribute.

How can I extend activiti functionality for fetching user tasks by username using custom group permission verification?

Thanks in advance