public static TaskResult failed(String failureReason) {
        TaskResult result = newTaskResult(Status.FAILED);
        result.setReasonForIncompletion(failureReason);
        return result;
    }
@param externalOutputPayloadStoragePath path in the external storage where the task output is
    stored
common/src/main/java/com/netflix/conductor/common/metadata/tasks/TaskResult.java