public static Task.Status mapToTaskStatus(TaskModel.Status status) {
        return Task.Status.valueOf(status.name());
    }
@return a copy of the task instance
core/src/main/java/com/netflix/conductor/model/TaskModel.java