cancel
Showing results for 
Search instead for 
Did you mean: 

my workflow error

adhi27
Champ in-the-making
Champ in-the-making
I want to ask

I create workflows and make the division of tasks if he is in the group he was going to the task manager and if he is not a manager him to task b

and I take the user from the group manager using
var capacity = people.getGroup ("WF_SO_USR_MGR");
var nameGroup;
nameGroup.members = people.getMembers (capacity);

but there are errors like this org.alfresco.scripts.ScriptException: 08100020 Failed to execute supplied script: Group is a mandatory parameter

whether there could be help

sorry bad english
1 REPLY 1

darkredd
Star Contributor
Star Contributor
Hi,

The use of the group search is specific, any group search is prefixed by the keyword "GROUP_", therefore your code would look like
people.getGroup("GROUP_WF_SO_USR_MGR")