The exported .bpmn-File from bpmn.io v 12.1 works fine in camunda. The Class Definition of a ServiceTask which I specified via the properties Panel is not recogniced by camunda. A PropertyPanel related thread is here: Extending the Properties-Panel for ServiceTasks (Input variable mapping)
The exported file from bpmn.io:
<?xml version="1.0" encoding="UTF-8"?>
<bpmn2:definitions
xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL"
xmlns:camunda="http://camunda.org/schema/1.0/bpmn"
xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"
xmlns:di="http://www.omg.org/spec/DD/20100524/DI"
xmlns:dc="http://www.omg.org/spec/DD/20100524/DC"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
id="sample-diagram" targetNamespace="http://bpmn.io/schema/bpmn"
xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd">
<bpmn2:process id="Process_1" isExecutable="true">
<bpmn2:serviceTask id="ServiceTask_1t3yyks" camunda:class="xx.yy.ee.dd.CC" />
</bpmn2:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1">
<bpmndi:BPMNShape id="ServiceTask_1t3yyks_di" bpmnElement="ServiceTask_1t3yyks">
<dc:Bounds x="536" y="205" width="100" height="80" />
</bpmndi:BPMNShape>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn2:definitions>
vs. a exported file from camunda itself:
<?xml version="1.0" encoding="UTF-8"?>
<bpmn2:definitions
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL"
xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"
xmlns:camunda="http://activiti.org/bpmn"
xmlns:dc="http://www.omg.org/spec/DD/20100524/DC"
xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd"
id="_yqbMYJKrEeWJxMhuO2Z5Mg"
exporter="camunda modeler"
exporterVersion="2.7.0"
targetNamespace="http://activiti.org/bpmn">
<bpmn2:process id="Process_1" isExecutable="true">
<bpmn2:serviceTask id="ServiceTask_1" camunda:class="xx.yy.ee.dd.CC"/>
</bpmn2:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1">
<bpmndi:BPMNShape id="_BPMNShape_ServiceTask_3" bpmnElement="ServiceTask_1">
<dc:Bounds height="80.0" width="100.0" x="132.0" y="139.0"/>
</bpmndi:BPMNShape>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn2:definitions>
The xmlns:camunda
Namespace is a different one. Is this behavior correct because of the targetNamespace="http://activiti.org/bpmn"
definition and therefore I need a conversion/import? Or is this behavior not expected?