[jboss-user] [jBPM] - Re: only the first human task is being saved in db!

Odelya Holiday do-not-reply at jboss.com
Sun Mar 13 06:59:56 EDT 2011


Odelya Holiday [http://community.jboss.org/people/odelyaholiday] created the discussion

"Re: only the first human task is being saved in db!"

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

--------------------------------------------------------------
Well I tried to add it like this but it didn't work:

@Override
          public void afterNodeTriggered(ProcessNodeTriggeredEvent event) {
                    Node node = event.getNodeInstance().getNode();
                    if (node instanceof HumanTaskNode) {
  BlockingGetTaskResponseHandler handler = new BlockingGetTaskResponseHandler();
  taskClient.getTasksAssignedAsPotentialOwner(userName, "en-UK", handler);
..
//send web services
}

The new task was not added to the database at this point!

When can I add this piece of code that will send web service about the new task with the task id?
--------------------------------------------------------------

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

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110313/7a885bbc/attachment.html 


More information about the jboss-user mailing list