Hi everyone,
I’ve tried this javascript code via execution listener, to throw a signal, and keep getting an error. The execution listener is attached to the start event, and the variable-containing-execution-id is set via another execution listener that is executed before this listener.
javascript code:
execution.getProcessEngineServices().getRuntimeService().signalEventReceived("my-signal-name", variable-containing-execution-id);
error:
org.jboss.resteasy.spi.UnhandledException: java.lang.RuntimeException: java.lang.NoSuchMethodException: Can't unambiguously select between fixed arity signatures [(java.lang.String, java.lang.String), (java.lang.String, java.util.Map)] of the method org.camunda.bpm.engine.impl.RuntimeServiceImpl.signalEventReceived for argument types [java.lang.String, null]
Any help would be great. Thanks!