Deleted.
Solved! Go to Solution.
Deleted.
Deleted.
Hi Aleksey Bykov ,
Is it possible in Activiti by using JavaScript to calculate the number of participants in these groups?..
You can use IdentityService's user query to get the number of participants of a group.
identityService.createUserQuery().memberOfGroup(group.getId()).list().size()
I ran a unit test for this and it works.
Hope this helps,
Thanks,
Thong Huynh
Deleted.
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.