[jboss-user] [jBPM] - Need help with persistence and initialisation

Thomas Colditz do-not-reply at jboss.com
Tue Jul 23 03:51:59 EDT 2013

Thomas Colditz [https://community.jboss.org/people/fellowtom] created the discussion

"Need help with persistence and initialisation"

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

Hi all,

I have some questions wich I cant answer myself. What is the difference when initializing a process instance with Knowledgebuilder/KnowledgeBase/.. or with JBPMHelper and the RuntimeManager? Or better to say, when to use which one?
I just want to use jBPM in my own application. Persistance can be handled first in H2 inmem db. Later it will be handled with other db on a server. But atm I just want to test some process-scenarios. If I setup my process with that knowledgebase/... all events/task will work, but im not able to handle a usertask (cant get it working). If I set it up with JBPMHelper and the RuntimeManger the process always terminates when reaching for example a timer(probably all wait-states). No errors or something. Process just terminates. I think its just some kind of persistence problem, but I cant figure it out.
I'm using jBPM 6.0. The initialization of process is done like in chapter 4 (manual) or in type of JBPMHelper like the given exampleprocess "HumanTaskExample". If I run this example it works. But even if I copy this processfiles (bpmn+java) in own project it wont work.
Can somebody give me a hint?

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/20130723/e23f71db/attachment.html 

More information about the jboss-user mailing list