01-13-2008 06:06 AM
01-28-2008 03:16 AM
var workflow = actions.create("start-workflow");
workflow.parameters.workflowName = "jbpm$wf:parallelreview";
workflow.parameters["bpm:workflowDescription"] = document.name;
workflow.parameters["bpm:assignees"] = "admin,psvent";
var futureDate = new Date();
futureDate.setDate(futureDate.getDate() + 7);
workflow.parameters["bpm:workflowDueDate"] = futureDate;
workflow.execute(document);
09:00:31,638 ERROR [org.jbpm.graph.def.GraphElement] action threw exception: Sourced file: inline evaluation of: ``wf_requiredPercent = wf_requiredApprovePercent; wf_reviewerCount = bpm_assignees . . . '' : Error in method invocation: No args method size() not found in class'java.lang.String'
Sourced file: inline evaluation of: ``wf_requiredPercent = wf_requiredApprovePercent; wf_reviewerCount = bpm_assignees . . . '' : Error in method invocation: No args method size() not found in class'java.lang.String' : at Line: 1 : in file: inline evaluation of: ``wf_requiredPercent = wf_requiredApprovePercent; wf_reviewerCount = bpm_assignees . . . '' : bpm_assignees .size ( )
workflow.parameters["bpm:assignees"] = "admin,psvent";
01-28-2008 04:30 AM
01-28-2008 08:50 AM
01-29-2008 02:17 AM
var users = new Array(2);
users[0] = "admin";
users[1] = "cyber";
workflow.parameters["bpm:assignees"] = users;
01-30-2008 03:43 AM
workflow.parameters["bpm:assignees"] = "admin, X, Y";
01-30-2008 07:11 AM
02-01-2008 03:36 AM
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);
var workflow = actions.create("start-workflow");
workflow.parameters.workflowName = "jbpm$wf:parallelgroupreview";
workflow.parameters.requiredApprovePercent = 20;
workflow.parameters["bpm:workflowDescription"] = "Please review and approve: " + document.name;
workflow.parameters["bpm:groupAssignee"] = people.getGroup("GROUP_MyGroupName");
var futureDate = new Date();
futureDate.setDate(futureDate.getDate() + 7);
workflow.parameters["bpm:workflowDueDate"] = futureDate;
workflow.execute(document);
03-15-2008 11:03 AM
09-04-2008 08:16 AM
09-23-2008 11:16 AM
var workflow = actions.create("start-workflow");
workflow.parameters.workflowName = "jbpm$wf:parallelgroupreview";
workflow.parameters.requiredApprovePercent = 0.0001;
workflow.parameters["bpm:workflowDescription"] = "Please review and approve: ";
workflow.parameters["bpm:groupAssignee"] = people.getGroup("GROUP_aprobdocscomercial");
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.