04-15-2014 07:01 AM
05-16-2014 04:39 AM
var workflow = actions.create("start-workflow");
workflow.parameters.workflowName = "activiti$wf:adhoc";
workflow.parameters["bpm:workflowDescription"] = "Il seguente documento è stato inserito/modificato. Per favore da revisionare entro 3 giorni.";
workflow.parameters["bpm:assignee"] = "admin"; // utente assegnatario del task
var futureDate = new Date();
futureDate.setDate(futureDate.getDate() + 3);
workflow.parameters["bpm:workflowDueDate"] = futureDate;
workflow.execute(document);
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.