[jboss-user] [jBPM] - Re: Resuming processes revisited

Richard Evans do-not-reply at jboss.com
Wed Jul 11 09:10:10 EDT 2012


Richard Evans [https://community.jboss.org/people/r3vans] created the discussion

"Re: Resuming processes revisited"

To view the discussion, visit: https://community.jboss.org/message/747481#747481

--------------------------------------------------------------
I am generating events periodically. Sorry for the bad choice of terms. Every so oftern I call kSession.signalEvent ("xxx", null).

The process looks like this.

 [Call external API1 SR] ==> (*SignalEvent*) ==> [Get API1Response] ==>[Call extenal API2]  ==> (*SignalEvent*)  ==> [Get API2Response] ==> (END)

Interestingly I have found that the code works if I enumerate the process instances and iterate around calling  kSession.signalEvent ("xxx", null, processInstanceId).

(Yep - if I get stuck again I will abstract a but of code.)

Richard
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/747481#747481]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120711/521b477e/attachment.html 


More information about the jboss-user mailing list