Activiti notify group users by email
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2019 10:59 AM
Hi,
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
Labels:
- Labels:
-
Alfresco Process Services
0 REPLIES 0
