AnsweredAssumed Answered

Sending a signal after an event based gateway

Question asked by nicolas1 on Aug 12, 2014
Latest reply on Aug 12, 2014 by trademak
Hi,

I have designed a process with an event-based gateway followed by an intermediate timer catching event and an intermediate signal catching event.

When a process instance reaches the event-based gateway, I try to send a signal :
- If I send the signal globally with runtimeService.signalEventReceived(signalName) it works and the process instance goes to the next step
- But if I send the signal to the specific process instance with runtimeService.signalEventReceived(signalName, processInstanceId) I receive an exception: org.activiti.engine.ActivitiException: Execution '1401' has not subscribed to a signal event with name 'testSignal'.

I have the same issue when replacing signal event with message event.
I have done the test with Activiti 5.14 and Activiti 5.16.

Can anyone help me solving this issue ?
Thanks.

Nicolas

Outcomes