AnsweredAssumed Answered

not able to run advanced workflow using api

Question asked by unknown-user on Jul 26, 2007
Latest reply on Jan 14, 2008 by dhalupa
I try to run a custom worflow using alfresco api (not javascript). I have a parmeter bpm:assignees (multiple assignees) that i m not able to set . This is my code:
Action workflow = actionService.create("start-workflow");
workflow.setParameterValue(workflowName ,"jbpm$wf:myworkflow");
workflow.setParameterValue("bpm_workflowDescription", description);
workflow.setParameterValue("bpm_assignees",listPerson);
workflow.execute(nodeRef);

where listPerson is an array (or a list i have tried both) of personRef;
My worfflow failed when it try to execute the transition where there is the action ForEachFork.

thanks for any help

Outcomes