02-03-2016 01:17 AM
function main()
{
var name = document.name;
var workflow = actions.create("start-workflow");
workflow.parameters.workflowName = "activiti$activitiReview";
workflow.parameters["bpm:workflowPackage"] = document;
workflow.parameters["bpm:workflowDescription"] = "Please review " + document.name ;
var assignee = people.getPerson("admin");
workflow.parameters["bpm:assignee"] = assignee;
workflow.execute(document);
}
main();
workflow.parameters["initiator"] = people.getPerson("someone");
02-03-2016 03:13 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.