String defaultFlow = xtr.getAttributeValue(null, "default");
BaseElement parsedElement = convertXMLToElement(xtr);
if (parsedElement instanceof Artifact) {
Artifact currentArtifact = (Artifact) parsedElement;
currentArtifact.setId(elementId);
if (isInSubProcess(activeSubProcessList)) {
final SubProcess currentSubProcess = activeSubProcessList.get(activeSubProcessList.size() - 2);
currentSubProcess.getArtifacts().add(currentArtifact);