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&...]