[jBPM] - Re: Need help with persistence and initialisation

Thomas Colditz <[email protected]>
Newsgroups gmane.comp.java.jboss.user
Message-ID <[email protected]>
Thomas Colditz [https://community.jboss.org/people/fellowtom] created the discussion

"Re: Need help with persistence and initialisation"

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

--------------------------------------------------------------
Hi Maciej,

thanks for your reply. Since I'm new to BPM I made a lot of mistakes. So I feel pretty ashamed about the mistake I've done. My process went through several timers, gateways and usertasks. After that it reaches a timer. Then the java-program always terminated. I had a 
System.exit(0);

 implemented from copy-paste somewhere. But to understand the workflow behaviour better. All tasks are handled in the same thread since a wait-state (usertask,timer,signal,receive) is reached?! So my java-main code was not finished since I reached such a wait-state because its the same thread? By reaching the timer my code goes on with execution and programm ended, right?
At least now its working fine and I'm sorry for wasting time with such mistakes.

Thank you very much.

With kind regards,
tcolditz
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.