I know it works...
what i was trying to do is a way that an user could change the pooled actors by himself, without coding an assignment class...
If the pooled actors were in the swimlane definition, then I could make a GUI to add or remove actors easily, simply editing the XML
Did we have any further answers on this?
Is there a nice simepl front-end way to do this?
James
# <task-node name="abc" signal="last-wait" create-tasks="false">
#
#
# <action name="createInstance"
# class="CreateTaskInstance">
#
#
#
#
# </task-node>
# public class CreateTaskInstance implements ActionHandler {
#
# private static final long serialVersionUID = 1L;
#
# public void execute(ExecutionContext executionContext) throws Exception {
# Token token = executionContext.getToken();
# TaskMgmtInstance tmi = executionContext.getTaskMgmtInstance();
#
# TaskNode taskNode = (TaskNode) executionContext.getNode();
# Task task= taskNode.getTask("abc");
# tmi.createTaskInstance(task, token)
# .setActorId("1001");
# tmi.createTaskInstance(task, token)
# .setActorId("1001");
#
# }
#
# }
This may help you,create 2 same task,when both of the 2 tasks end,the token will go ahead.