public void externalizeOutput(String path) {
        this.outputPayload = this.outputData;
        this.outputData = new HashMap<>();
        this.externalOutputPayloadStoragePath = path;
    }
@return a copy of the task instance
core/src/main/java/com/netflix/conductor/model/TaskModel.java