9.4.4. Task assignment
When a process reaches a task node, task instances are created. These must be assigned to users or user groups. We can either hardcode our actor IDs, or delegate to a Seam component:
<task name="todo" description="#{todoList.description}"> <assignment actor-id="#{actor.id}"/> </task>
In this case, we have simply assigned the task to the current user. We can also assign tasks to a pool:
<task name="todo" description="#{todoList.description}"> <assignment pooled-actors="employees"/> </task>