PipelineWorkflow toCache = new PipelineWorkflow();
toCache.add(query);
toCache.add(write);
executeWorkflow(drer, toCache);
ReadFromDataCache read = new ReadFromDataCache();
read.setResourceID(cacheID);
TupleToWebRowSetCharArrays tupleToWRS = new TupleToWebRowSetCharArrays();
tupleToWRS.connectDataInput(read.getResultOutput());
deliver = new DeliverToRequestStatus();
deliver.connectInput(tupleToWRS.getResultOutput());
PipelineWorkflow fromCache = new PipelineWorkflow();
fromCache.add(read);