Hi everyone,
As I created a custom element for my custom modeler, I created a meta-model to define properties for element. But, as I’m trying to include the meta-model in the modeler, it simply gets ignored.
Here’s my meta-model and here’s the piece of code where I include the meta-model in the modeler as explained in the custom meta-model example:
moddleExtensions: {
camunda: camundaModdlePackage,
idsm: idsmModdlePackage,
},
When I create a new BPMN diagram, I’m getting this:
<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" id="Definitions_0ttbn0s" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.15.0-dev">
<bpmn:process id="Process_1" isExecutable="true">
<bpmn:startEvent id="StartEvent_1" />
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1">
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="173" y="102" width="36" height="36" />
</bpmndi:BPMNShape>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>
And as you can see, I don’t have the URI of my meta-model. Is this normal? And how can I fix this?