diff --git a/lib/draw/BpmnRenderer.js b/lib/draw/BpmnRenderer.js index a3d44ad8..69435813 100644 --- a/lib/draw/BpmnRenderer.js +++ b/lib/draw/BpmnRenderer.js @@ -1827,8 +1827,9 @@ function isThrowEvent(event) { } function isCollection(element) { - return element.isCollection || - (element.elementObjectRef && element.elementObjectRef.isCollection); + var dataObject = element.dataObjectRef; + + return element.isCollection || (dataObject && dataObject.isCollection); } function getDi(element) {