Hi
i have camunda process it have serviceTask “JobServiceTaskHandler” it will call external service once complete need to give signal then continue rest of the process flow.
@Component
public class JobServiceTaskHandler extends AbstractBpmnActivityBehavior {
@Override
public void execute(ActivityExecution execution) throws Exception {
…
}
@Override
public void signal(ActivityExecution execution, String signalName, Object signalData) throws Exception {
leave(execution);
}
}
in message inbound channel class have following line.
runtimeService.signal(executionId, processVariableMap);
above line some times giving signal and working fine, but some time getting following exception and not completing process.
getting following Exception:
org.camunda.bpm.engine.BadUserRequestException: execution b50e0f08-1f9b-11e9-b70b-c2c5379d7c5a doesn’t exist: execution is null
.
Thanks
Venkatesan.A