I have a task node with one task inside. So when the process execution reaches this node, it need to look at the database and create one task per user from a group. It's like I need one task with many actors executing that. The setActorId accept only one actor. I don't know in the definition time how many actors will do this task.
Someone have a idea about this?
I just found it. I need to put create-task="false" in the task node. I also use createTaskInstance in ActionHandler class (node-enter event).