I am trying to add extensionElements to a Call Activity by using modeling.updateProperties() to add my variables and properties:
For debugging purposes I am outputting the xml in the console on each commandStack change. That’s the only way I thought of to confirm that my properties have been added to the diagram.
However, after I drop the draggable “Call Activity” element, I get “undefined” in place of the diagram xml, which makes me think something I am doing during the setting up of the extensionElements is breaking the parsing process.
I’ve already fixed it and updated the codesandbox after posting the quesiton, so the problem was not reproducible. The bpmn:definitions in the original code was missing references to some schemas.