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