DigitalObject t2flowObject = t2flow;
try {
if (t2flowObject.getData().getData() == null || t2flowObject.getData().getData().length == 0) {
t2flowObject = digitalObjectManager.getCopyOfDataFilledDigitalObject(t2flowObject);
}
T2FlowParser parser = T2FlowParser.createParser(new ByteArrayInputStream(t2flowObject.getData()
.getData()));
Document doc = parser.getDoc();
executablePlan.add(doc.getRootElement());
} finally {
t2flowObject = null;
}
}