JBoss Community

Re: jBPM 5: how save a ProcessInstance ?

created by Amin Mohammed-Coleman in jBPM - View the full discussion

Hi

 

I'm not sure if the event mechanism would work.  Essentially we have to accumulate operations to a remote service during the execution of the process instance.  Once the process reaches a safe point I need to flush the accumulated operations to the external service.  Once the external service returns a result I have to go back and update the process instance variables so the process instance variables are up to date during the next execution.

 

Originally each of my custom service handlers would make individual calls and get a response and update the process instance but this approach is not efficient and causes some transaction issues (long and difficult story to explain :) ).

 

Thanks

Reply to this message by going to Community

Start a new discussion in jBPM at Community