String string = number + " " + encodeVersion(workflow, version, (LenyaSituation) situation);
try {
LenyaMetaData meta = this.document.getMetaDataManager().getLenyaMetaData();
meta.addValue(LenyaMetaData.ELEMENT_WORKFLOW_VERSION, string);
meta.save();
} catch (DocumentException e) {
throw new RuntimeException(e);
}
}