[jboss-user] [jBPM] - Re: Processinstance not continue after restarting application.

tom sebastian do-not-reply at jboss.com
Fri Jan 25 03:35:22 EST 2013

tom sebastian [https://community.jboss.org/people/tomsebastian] created the discussion

"Re: Processinstance not continue after restarting application."

To view the discussion, visit: https://community.jboss.org/message/794248#794248

     Did u mean the task completed listener as below?

     TaskEventKey key = new TaskEventKey(TaskCompletedEvent.class, -1);           
                              TaskCompletedHandler eventResponseHandler = new TaskCompletedHandler(manager, client);
                              client.registerForEvent(key, false, eventResponseHandler);

I called this code while starting the application, still it wont continue. But in my code for every startup of application we create a new StatefulKnowledgeSession and new task client. Is this a problem?

Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130125/f270cea6/attachment-0001.html 

More information about the jboss-user mailing list