// TODO: Is it a valid condition that the jbpmContext is not there?
JbpmContext jbpmContext = executionContext.getJbpmContext();
if (jbpmContext != null) {
Services services = jbpmContext.getServices();
if (services != null) {
EventService evService = (EventService) services.getService(EventService.SERVICE_NAME);
if (evService != null) {
evService.fireEvent(eventType, this, executionContext);
}
}
}
fireAndPropagateEvent(eventType, executionContext);