Dear Team,
I have written java script for Review and Approval workflow process (activiti$activitiReviewPooled),
Now i need to move files from the current folder to an "approval" folder when the files are approved or to the "rejection" folder when the files are rejected.
What should i do in script,
Please refer the script and suggest!
var workflow = actions.create("start-workflow");
workflow.parameters.workflowName = "activiti$activitiReviewPooled";
workflow.parameters["bpm:workflowDescription"] = "Please assign approver for "+ document.name;
workflow.parameters["bpm:groupAssignee"] = people.getGroup("GROUP_cadgroup");
workflow.parameters["bpm:sendEMailNotifications"] = true;
workflow.execute(document);