JBoss Community

Re: Resuming processes revisited

created by Richard Evans in jBPM - View the full discussion

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

Start a new discussion in jBPM at Community