08-17-2012 09:41 AM
08-18-2012 05:04 PM
var workflow = actions.create("start-workflow");
workflow.parameters.workflowName = "jbpm$wf:parallelreview";
workflow.parameters.requiredApprovePercent = 100;
workflow.parameters["bpm:workflowDescription"] = "Please review and approve: " + document.name;
workflow.parameters["bpm:assignees"] = [people.getPerson("admin"), people.getPerson("cyber")];
var futureDate = new Date();
futureDate.setDate(futureDate.getDate() + 7);
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.