Deleted.

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Established Member

Deleted.

Jump to solution

Deleted.

1 Solution

Accepted Solutions
Highlighted
Established Member

Deleted.

Jump to solution
3 Replies
Highlighted
Established Member

Deleted.

Jump to solution
Highlighted
Established Member II

Re: Dynamic calculation of the number of groups members

Jump to solution

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

Highlighted
Established Member

Deleted.

Jump to solution

Deleted.