08-29-2012 03:56 AM
var workflow = actions.create("start-workflow");
var document = space.childByNamePath("Document.doc");
workflow.parameters.workflowName = "activiti$activitiParallelReview";
var l=document.assocs["drp:Revisori"].length;
for(i=0; i<l; i++)
{
var user=document.assocs["drp:Revisori"][i].properties.userName;
workflow.parameters["bpm:assignees"]=document.assocs["drp:Revisori"];
}
workflow.parameters.requiredApprovationPercent=100;
workflow.parameters["bpm:approveDestination"] = "/Siti/drp/documentLibrary/Approvati";
workflow.execute(document);
workflow.parameters.requiredApprovationPercent=100; but when the wf start I have08-29-2012 05:55 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.