I cant’ make it more clear than this person is doing – so here’s the link to his blog ;
http://thoughtworker.in/2008/05/29/alfresco-workflow-managed-by-javascript/
Also – this can explain quite a lot.
http://docs.jboss.com/jbpm/v3/userguide/taskmanagement.html#tasktimers
But I still can manage to assign a task to a certain user….
*frown*
This seems usefull information.
11.3.3. THE PERSONAL TASK LIST
- Specify an expression in the attribute actor-id of the task element in the process
- Use TaskInstance.setActorId(String) from anywhere in your code
- Use assignable.setActorId(String) in an AssignmentHandle
However; Assignable, assignable and TaskInstance cannot be called directly in javascript.
…. <time passes>
…. < more time passes>
And I`m back to messing around with the swimlanes. It seems they have priority over setting parameter in bmp-assignee and other values. So I solved it like this;
<swimlane name=”assignee”>
<assignment class=”org.alfresco.repo.workflow.jbpm.AlfrescoAssignment”>
<actor>#{people.getPerson(“incentro”)}</actor>
</assignment>
</swimlane>
Lesson learned – This week I`ll close with a succesfull working workflow and next week i`ll start adding behaviour.