2 Replies Latest reply on Mar 18, 2015 3:09 AM by Laura delli Paoli

    signaling inside process scope

    Laura delli Paoli Master

      Hello everybody,

      I'm experiencing a strange issue, I was handling some errors inside processes using a gateway throwing a signal.errorBpm.png

      Now I'm experiencing that if an instance of the process runs into the ko direction of the gateway and throws the signal, this signal is received by all active processes.

      Can anyone axplain me this behaviuor?

       

      Laura

        • 1. Re: signaling inside process scope
          Maciej Swiderski Master

          that is expected behavior as signals are broadcasts meaning all process instances listening to given signal will be triggered. There is a jira on road map to include scopes to allow to signal individual instances but currently this is not available. You could workaround this by using either script task or send task (with custom work item handler) that will signal using ksession.signalEvent(signal, event, processInstanceId)

           

          HTH

          • 2. Re: signaling inside process scope
            Laura delli Paoli Master

            Thanks for your answer, Maciej!

             

            Can you tell me something about throwing and catching error events to accomplish my goal?

             

            I was not able to add a catch error event to my process, because a "node has no incoming connection was issued in the designer, but I was not able to draw such a connection (the flow object disappears ad sono ad I release the mouse), even using a gateway.

             

            Can you explain me how to use these objects?

             

            Laura