AnsweredAssumed Answered

Approval workflow

Question asked by ribz33 on Oct 19, 2006

i want to make this workflow :

When someone add a document in folder X,
i want that my Validators groups receive an email and have a new "todo tasks" in their "MyAlfresco"
Until this document its not validate by workflow i dont want that anybody can read this document !
When one of validators approve document i want that this document appear in folder X.

1- is it possible to do that ?
2- To do that i need to use advanced workflow ?
3- I had seen that we cant start automtically a workflow at the moment and we need to use a script and a rule on space. I had seen this code :
var workflow = actions.create("start-workflow");
workflow.parameters.workflowName = "jbpm$wf:review";
workflow.parameters["bpm:assignee"] = person;
var futureDate = new Date();
futureDate.setDate(futureDate.getDate() + 7);
workflow.parameters["bpm:workflowDueDate"] = futureDate;

But how i can define assignee to a specific group or to a specific person ?

thx in advance