AnsweredAssumed Answered

Signal specific execution after Event-based Gateway

Question asked by alef on Aug 25, 2015
Latest reply on Aug 25, 2015 by alef
Hi all,
I need to implement something similar to the following example reported in the Activiti user guide:
http://www.activiti.org/userguide/#eventBasedGatewayExample

I could have several processes waiting for a signal, but what I need is send a signal only to a specific execution.

I tried to use this statement
runtimeService.signalEventReceived("alert", executionId);


but I got this exception
org.activiti.engine.ActivitiException: Execution '12501' has not subscribed to a signal event with name 'alert'.

Outcomes