AnsweredAssumed Answered

Group Workflow

Question asked by aishu on Jul 17, 2019
Latest reply on Jul 17, 2019 by yash.patel.c2

Dear Team,

 

I have created custom workflow for document review and approval for Group,

for that i have written script, but script not working properly.

 

please refer below script:

var workflow = actions.create("start-workflow");
workflow.parameters.workflowName = "activiti$activitiReview";
workflow.parameters["bpm:workflowDescription"] = "Please assign approver for "+ document.name;
workflow.parameters["bpm:groupAssignee"] = people.getGroup("GROUP_cadgroup");

workflow.parameters["bpm:sendEMailNotifications"] = true;
workflow.execute(document);

 

Please suggest!

Outcomes