JBoss Community

Re: Resuming processes revisited

created by Maciej Swiderski in jBPM - View the full discussion

Yes, you can do what you described with signal events and in my opinion it is more suitable than timers. In fact both timer and signal are events (in your case intermediate catch events) so only event definition needs to change.

 

Signals have types (signalRef in bpmn2) that is used to distinguish between different signals so you could have different types for given places in your process. You can also pass data when signaling so it could be an alternative for you to send back the response from external api if you signal generator will have it. You can either signal via session which will signal all process instances that awaits given type of signal or signal dedicated process instance.

 

HTH

Reply to this message by going to Community

Start a new discussion in jBPM at Community