Hi, I have some trouple when using runtimeService.signal() in 1 implementation of JavaDelegate.
For Example I have 1 modler like this. I have implement Service Task using Java Class and in this class I want to use RuntimeService.Signal() as an trigger to continue my process.
I have try this code:
Execution execution1 = runtimeService.createExecutionQuery().processInstanceId(execution.getProcessInstanceId()).activityId(“MyIdOfReceiveTask”).singleResult();
runtimeService.signal(execution1.getId());
But is doesn’t work and throw exception.
I am just newbie to Camunda, please help me.
Thanks a lots