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
--------------------------------------------------------------
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
[
http://community.jboss.org/message/635182#635182]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]