# <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.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984126#3984126
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984126
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user