[jboss-user] [JBoss jBPM] - Persist DB state in BPEL process before call WS

karluqs do-not-reply at jboss.com
Tue Jan 20 07:41:15 EST 2009


I noticed that the processInstance is only persisted to DB after the BPEL process finishes. I read in this thread below that jbpm saves state on wait nodes and async nodes.


I'm using BPEL process, not jPDL. 

When an external WS (long time running) is called from BPEL, JBPM should save the state before execute it, right? But it isn't, how can i do this? BPEL process don't have a async node like jPDL, and i don't want to call a lot of waits before the WS.

Also is it possible to save state after each node? In the post above there's a code to do it, but it's not working.

Thanks in advance,

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203232#4203232

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203232

More information about the jboss-user mailing list