AnsweredAssumed Answered

Custom group assignment

Question asked by on Jan 10, 2017
Latest reply on Jan 12, 2017 by Jayesh Prajapati



How do we assign workflow to custom group .

I have created group TestGroup under that I have added users like Ravi,Nanda,Tushar and Admin.

So when I assigned to group workflow gets assigned in Alphbetical order.

1st it assigned to Admin and it gets approved it went to Nanda and so on.

I want to assign based on how group gets created.

I have used below script.


var workflow = actions.create("start-workflow");
var node=people.getGroup("GROUP_TestGroup ");
workflow.parameters.workflowName = "activiti$<YOUR_WORKFLOW>";
var node= workflow.parameters["bpm:groupAssignee"]=node;


Please assist on this.