cancel
Showing results for 
Search instead for 
Did you mean: 

people.getGroup('GROUP_<name>') return null [SOLVED]

luisalves00
Champ in-the-making
Champ in-the-making
Hello,

I'm trying to implement an workflow with pooled actors. I'm using the Alfresco JS debugger

<pooledactors>#{people.getGroup('GROUP_group name')}</pooledactors> <- this returns 'null' even with: people.getGroup('GROUP_ADMINISTRATORS'), so throws an exception!

FYI: if people.getGroup('admin') <- returns person admin

<pooledactors>GROUP_group name</pooledactors> <- this doesn't throws any error but the user on that group don't receive any task
<pooledactors>group name</pooledactors> <- this doesn't throws any error but the user on that group don't receive any task

<pooledactors>#{groups.getGroup('GROUP_group name'))}</pooledactors> ->throws an error: 07270017 pooledactors expression does not evaluate to a collection of authorities

so tried:
<pooledactors>#{groups.getGroup('GROUP_group name').getChildAuthorities()}</pooledactors> <- this doesn't throws any error but the user on that group don't receive any task

so what I should write on the <pooledactors> ??? GOT a group named "Workers" for example.

Using Alfresco Comunity v 3.3

best regards,


——————————————————————————–EDIT——————————————————————————

SOLUTION: use GROUP_GROUP_Workers

Found out when trying to get the ADMINISTRATORS Group

on the admin dialog: is called ALFRESCO_ADMINISTRATORS -> so: GROUP_ALFRESCO_ADMINISTRATORS works…
since my groups appear as GROUP_groupname -> I need to duplicate the GROUP_

———————————————————————————————————————————————————————
1 REPLY 1

cjimenez2581
Champ in-the-making
Champ in-the-making
Thank you! That is soluion! unusual but it is!  Smiley Very Happy
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.