[jboss-user] [jBPM] - Re: 0 With jBPM5, the process can not continue successful

Mauricio Salatino do-not-reply at jboss.com
Sun May 29 09:59:10 EDT 2011


Mauricio Salatino [http://community.jboss.org/people/salaboy21] created the discussion

"Re: 0 With jBPM5,the process can not continue successful"

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

--------------------------------------------------------------
HI Xiaojun,
In this case both tasks wil be created, That's fine. The problem is that your main() method will die along with the sessions right?
The sessions will not be notified about the task completion, for that reason your process will not continue to the next steps. 
For this reason we usually configure the session with a persistence mechanism that allows us to restore the status of the session from a different thread and notify it when a task was completed. You should also need to consider using CommandBasedWSHumanTaskHandler instead of WSHumanTaskHandler if you are planing to use persistence. 
By the way who is starting the Human Task Server? are you getting some error?
Cheers
--------------------------------------------------------------

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

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/20110529/8ba14d67/attachment.html 


More information about the jboss-user mailing list