1 Reply Latest reply on Jan 20, 2009 11:59 AM by karluqs

    Persist DB state in BPEL process before call WS

    karluqs

      Hi,

      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.

      http://www.jboss.com/index.html?module=bb&op=viewtopic&t=135508

      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,

        • 1. Re: Persist DB state in BPEL process before call WS
          karluqs

          Ok, i noticed that when using bpel process only wait nodes can make the process be saved. Does anybody have a code or suggestion to save it after each node.

          I don't see this as a evil thing, since i can have complex but short process, i would like only to continue from where the error ocurred.

          Thanks for any help,