Hello,
I extended the bpmn-js modeler (the one with camunda extensions) with location events. To do so I created a new EventDefinition called “locationEventDefinition”. I can use the new events in the modeler. But when I try to deploy the BPMN diagram this error shows up:
ENGINE-09005 Could not parse BPMN process. Errors:
*cvc-complex-type.2.4.a: Invalid content was found starting with element ‘{“someNS”:locationEventDefinition}’. One of ‘{“bpmnNS”:outgoing, “bpmnNS”:property, bpmnNS":dataOutput, “bpmnNS”:dataOutputAssociation, “bpmnNS”:outputSet, “bpmnNS”:eventDefinition, “bpmnNS”:eventDefinitionRef}’ is expected.
(bpmnNS = http://www.omg.org/spec/BPMN/20100524/MODEL, because I can only post two links in a post)
The XML looks like this:
<bpmn2:startEvent id="StartEvent_1" name="test">
<bpmn2:outgoing>Flow_06vvlre</bpmn2:outgoing>
<loc:locationEventDefinition id="LocationEventDefinition_156ha45" eventType="entersGeofence" distanceThreshold="123" distanceType="linearDistance" location1="123" location2="123" polygonPoints="123" />
</bpmn2:startEvent>
So my question is: How can I make the BPMN parser aware of my extension?
Thank you