oldDefinition.getContentProvider().saveToXML(oldDefinition, document);
byte[] bytes = XmlUtil.writeXml(document);
definitionFile.setContents(new ByteArrayInputStream(bytes), true, true, null);
ParContentProvider.saveAuxInfo(definitionFile, oldDefinition);
ProcessCache.invalidateProcessDefinition(definitionFile);
IDE.openEditor(activePage, new FileEditorInput(definitionFile), DesignerEditor.ID, true);
} catch (Exception e) {
DesignerLogger.logError("Undo update process definition to next jPDL version failed", e);
}
}