AnsweredAssumed Answered

How to set Assinees variable in alfresco execution script in workflow

Question asked by alex_russ on Nov 30, 2016
Latest reply on Nov 30, 2016 by afaust

Hello, i'm trying to assign bpm_assignees variable in the sequence flow, and added this code(Alfresco execution script):

var approvers = ["admin","jack"];

execution.setVariable('bpm_assignees',approvers);

 

And i get a error like this  "Cannot serialize native javascript array to variable".

 

 

HELP PLEASE, what i'm doing wrong?

 

 

Thanks

Outcomes