The prefix "camunda" for attribute "camunda:type" associated with an element type "bpmn:serviceTask" is not bound

Keep getting this error and cannot seem to figure out what it is complaining about…

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<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" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:modeler="http://camunda.org/schema/modeler/1.0" id="Definitions_1hc64q2" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="4.9.0" modeler:executionPlatform="Camunda Platform" modeler:executionPlatformVersion="7.15.0">
  <bpmn:process id="Process_0fp4ew9" isExecutable="true">
    <bpmn:startEvent id="StartEvent_1">
      <bpmn:outgoing>Flow_04jlx0r</bpmn:outgoing>
    </bpmn:startEvent>
    <bpmn:sequenceFlow id="Flow_04jlx0r" sourceRef="StartEvent_1" targetRef="cook-pizza"/>
    <bpmn:sequenceFlow id="Flow_11lq4fn" sourceRef="cook-pizza" targetRef="Event_1hvbanw"/>
    <bpmn:endEvent id="Event_1hvbanw">
      <bpmn:incoming>Flow_11lq4fn</bpmn:incoming>
    </bpmn:endEvent>
    <bpmn:serviceTask id="cook-pizza" name="cook pizza" camunda:type="external" camunda:topic="topic">
      <bpmn:incoming>Flow_04jlx0r</bpmn:incoming>
      <bpmn:outgoing>Flow_11lq4fn</bpmn:outgoing>
    </bpmn:serviceTask>
  </bpmn:process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_0fp4ew9">
      <bpmndi:BPMNEdge id="Flow_04jlx0r_di" bpmnElement="Flow_04jlx0r">
        <di:waypoint x="215" y="117"/>
        <di:waypoint x="270" y="117"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_11lq4fn_di" bpmnElement="Flow_11lq4fn">
        <di:waypoint x="370" y="117"/>
        <di:waypoint x="432" y="117"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
        <dc:Bounds x="179" y="99" width="36" height="36"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_12nh1hl_di" bpmnElement="cook-pizza">
        <dc:Bounds x="270" y="77" width="100" height="80"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_1hvbanw_di" bpmnElement="Event_1hvbanw">
        <dc:Bounds x="432" y="99" width="36" height="36"/>
      </bpmndi:BPMNShape>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn:definitions>

Hi @hpl002
When I export a BPMN that has an external service task in it, my bpmn:definitions line reads:

<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" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:modeler="http://camunda.org/schema/modeler/1.0" id="Definitions_1rec37n" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="4.9.0" modeler:executionPlatform="Camunda Platform" modeler:executionPlatformVersion="7.15.0">

I don’t see xmlns:camunda=“http://camunda.org/schema/1.0/bpmn” in your bpmn:definitions line, so the XML parser doesn’t know what to do with the camunda namespace.

1 Like

You are absolutely correct!

Thanks!