4 Replies Latest reply on Apr 29, 2015 8:56 AM by Mark Denford

    how to send a message / signal to the relevant Catch Message/Signal Intermediate Event only?

    Dan Cimpoesu Newbie



      I need to use throw / catch message / signal intermediate events in our models.


      If there are multiple instances of the same process type then the message / signal will be sent to all running instances and this behavior is not desirable.


      I found that a message / signal can be specifically directed to a single process using the following method:


      void signalEvent(String type, Object event, long processInstanceId)


      What are the options to narrow down to the relevant target process? There must be some correlation between the sender and the receiver so that the sender can find the target process ID.


      What are the options when dealing with this problem?