[jboss-user] [jBPM] - Re: Problem starting next tasks

Maciej Swiderski do-not-reply at jboss.com
Mon Apr 23 03:59:20 EDT 2012


Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created the discussion

"Re: Problem starting next tasks"

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

--------------------------------------------------------------
If you would like to to keep your processes after server restarts you need to use persistence and use dedicated HumanTask handler that will trigger process isntance to continue with the flow. So to do that you need:
* build/load your sessions using JPAKnowledgeService
* use CommandBasedWSHumanTaskHandler
* after restart, make sure you have loaded back session before completing the task
Once you have this in your application your process should work as expected.

Take a look at  http://docs.jboss.org/jbpm/v5.2/userguide/ch07.html documentation about jBPM persistence.

HTH
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[https://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/20120423/79ccce7a/attachment.html 


More information about the jboss-user mailing list