[jboss-user] [jBPM] - Re: jBPM 5: how save a ProcessInstance ?

Amin Mohammed-Coleman do-not-reply at jboss.com
Sat Nov 5 05:12:44 EDT 2011

Amin Mohammed-Coleman [http://community.jboss.org/people/amin-mc] created the discussion

"Re: jBPM 5: how save a ProcessInstance ?"

To view the discussion, visit: http://community.jboss.org/message/635182#635182


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  :) ).


Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111105/3b5462e4/attachment-0001.html 

More information about the jboss-user mailing list