docs: public void fireExternalTaskCreatedEvent(final ExternalTask externalTask) {
      if (isHistoryEventProduced(HistoryEventTypes.EXTERNAL_TASK_CREATE, externalTask)) {
        HistoryEventProcessor.processHistoryEvents(new HistoryEventProcessor.HistoryEventCreator() {
          @Override
          public HistoryEvent createHistoryEvent(HistoryEventProducer producer) {
            return producer.createHistoricExternalTaskLogCreatedEvt(externalTask);
          }
        });
      }
    }