If I for example create a UserTask and add a “Loop” to it the XML element will be missing the Id attribute (which is required by the bpmn 2.0 schema)
How to reproduce:
- Open online modeler https://demo.bpmn.io/new
- Create a UserTask element and define a Loop
- Select it, click the wrenck button and select “Loop”
- Export the diagram as XML
The exported XML will be similar to this:
<bpmn:userTask id="Task_0avodgd">
<bpmn:incoming>SequenceFlow_13ovq7x</bpmn:incoming>
<bpmn:standardLoopCharacteristics />
</bpmn:userTask>
As you can see the “bpmn:standardLoopCharacteristics” element is missing the ID attribute. The same happens for the “multiInstanceLoopCharacteristics” element.