Michael Wohlfart [http://community.jboss.org/people/mwohlf] created the 
discussion

"Re: Skipping a task node"

To view the discussion, visit: http://community.jboss.org/message/572384#572384

--------------------------------------------------------------
jBPM4 is a complete rewrite, the closest die jBPM3's "task-node" is probably 
the "task" tag in jBPM4
 http://docs.jboss.com/jbpm/v4/userguide/html_single/#task 
http://docs.jboss.com/jbpm/v4/userguide/html_single/#task
to create multiple tasks in one node you might be better off by using a custom 
node
 http://docs.jboss.com/jbpm/v4/userguide/html_single/#custom 
http://docs.jboss.com/jbpm/v4/userguide/html_single/#custom
override the execute() method and do what the TaskActivity is doing:

    DbSession dbSession = EnvironmentImpl.getFromCurrent(DbSession.class);
    TaskImpl task = dbSession.createTask();
    task.setTaskDefinition(taskDefinition);
    task.setExecution(execution);
    task.setProcessInstance(execution.getProcessInstance());
    task.setSignalling(true);
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/572384#572384]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to