[jboss-user] [jBPM] - Re: " Waiting" process when interacting with jBPM5
Kris Verlaenen
do-not-reply at jboss.com
Mon Jan 3 07:00:59 EST 2011
Kris Verlaenen [http://community.jboss.org/people/KrisVerlaenen] created the discussion
"Re: "Waiting" process when interacting with jBPM5"
To view the discussion, visit: http://community.jboss.org/message/577970#577970
--------------------------------------------------------------
What do you mean exactly with your app never ending? Could you start it in debug mode so you can check where it is waiting exactly? Looking at your sample code, it seems that your application should simply continue after calling startProcess.
Your process instance however, if it includes a human task, is probably in a wait state, waiting for the human task to be completed (as the human task node will only continue if the task has been completed. So in that case you can say that it is kinda waiting on the CommandBasedWSHumanTaskHandler to notify the process engine when the task has been completed. If you want your process instance to continue, you should use a task client to complete the task (either one of the UIs or using code directly).
Kris
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/577970#577970]
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/20110103/f1d53527/attachment.html
More information about the jboss-user
mailing list