The state of a process is not saved until there is nothing left to do, and the JbpmContext
is closed. This typically happens under 3 conditions:
- encountering a node marked "async"
- completion of the process
- the process is completely blocked, waiting for external stimuli to resume. These may
be user actions, timers, JMS messages, or whatever.
If you want the state committed more frequently than it is, the easiest way is to mark
nodes "async". This flushes all process data to the database and then reloads
before the node's action is performed.
-Ed Staub
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4080052#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...