AnsweredAssumed Answered

Activiti notify group users by email

Question asked by signjoy on May 21, 2019



I need to send an emails to every users in the group as and when the new task is assigned to the group. I have written a TaskListener for that. I am trying to get all the user email ids from the group id but it is always returning empty user list.


List<User> users = Context.getProcessEngineConfiguration().getIdentityService().createUserQuery().memberOfGroup("2007").list();

Also let me know if there is any better way to achieve the notifications.


Thanks for your time