cancel
Showing results for 
Search instead for 
Did you mean: 

task assigning without workflow

gokceng
Champ in-the-making
Champ in-the-making
I want to know may i assign task to a group/person without defining a workflow? If I define a rule for a space that works like "all items/execute script/inbound" and in that script can i assign tasks to groups/person?
2 REPLIES 2

stevegreenbaum
Champ in-the-making
Champ in-the-making
Not sure why you don't want to use a workflow, but the out-of-the-box Ad-hoc workflow could be used since it very simple and doesn't require any development effort.

var workflow = actions.create("start-workflow");
workflow.parameters.workflowName = "jbpm$wf:adhoc";
workflow.parameters["bpm:workflowDescription"] = ;
workflow.parameters["bpm:assignee"] = ;
workflow.parameters["wf:notifyMe"]=false;
var futureDate = new Date();
futureDate.setDate(futureDate.getDate() + 1);
workflow.parameters["bpm:workflowDueDate"] = futureDate;*/
workflow.execute(file);

gokceng
Champ in-the-making
Champ in-the-making
Thanks Steve, I missed that point.