use of org.camunda.bpm.engine.impl.history.event.HistoricExternalTaskLogEntity in project camunda-bpm-platform by camunda.
the class GetHistoricExternalTaskLogErrorDetailsCmd method execute.
public String execute(CommandContext commandContext) {
ensureNotNull("historicExternalTaskLogId", historicExternalTaskLogId);
HistoricExternalTaskLogEntity event = commandContext.getHistoricExternalTaskLogManager().findHistoricExternalTaskLogById(historicExternalTaskLogId);
ensureNotNull("No historic external task log found with id " + historicExternalTaskLogId, "historicExternalTaskLog", event);
for (CommandChecker checker : commandContext.getProcessEngineConfiguration().getCommandCheckers()) {
checker.checkReadHistoricExternalTaskLog(event);
}
return event.getErrorDetails();
}
Aggregations