0 Replies Latest reply on Jul 9, 2016 6:53 PM by Dharma Rao

    Not able to send signal

    Dharma Rao Newbie

      Hi Guys,

       

      I've a scenario that error event sub process should wait for signal (intermediate catch signal). Please find the process model in below.

      When I try to pass the signal it's not reaching.

       

      Can anyone help me regarding below issue or advise me is there any other way to do this.

       

      Below code has been used to process signal.

      Signal 1:

      RuntimeEngine engine = createRuntimeEngine("net.brexit:testsignal:1.0");

        KieSession ksession = engine.getKieSession();

        ksession.signalEvent("signal1","outData",3);

        System.out.println("Processing signal event End ::");

       

      Signal 2 (Inside event sub process)

      RuntimeEngine engine = createRuntimeEngine("net.brexit:testsignal:1.0");

        KieSession ksession = engine.getKieSession();

       

        ksession.signalEvent("signal2","outData",3);

        System.out.println("Processing signal event End ::");

       

      model.png

       

      Regards,

      Dharma