public static TaskExecuteLog getTaskExecuteLog(WorkflowTaskEntity taskEntity) {
        return TaskExecuteLog.builder()
                .taskType(taskEntity.getType())
                .taskId(taskEntity.getId())
                .taskDisplayName(taskEntity.getDisplayName())
                .status(taskEntity.getStatus())
                .startTime(taskEntity.getStartTime())
                .endTime(taskEntity.getEndTime())
                .build();
    }
Get task execute log from the task entity.
inlong-manager/manager-workflow/src/main/java/org/apache/inlong/manager/workflow/util/WorkflowUtils.java