<?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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="downloadProzess_Definition" targetNamespace="http://bpmn.io/schema/bpmn" exporter="5Minds Studio" exporterVersion="1">
  <bpmn:collaboration id="Collaboration_1cidyxu" name="">
    <bpmn:participant id="Participant_0i5dvj8" name="Material-Bestellung" processRef="Material-Bestellung_Process" />
  </bpmn:collaboration>
  <bpmn:process id="Material-Bestellung_Process" name="Material-Bestellung" isExecutable="true">
    <bpmn:laneSet id="LaneSet_0p6fz5o">
      <bpmn:lane id="Lane_1eyde99" name="Fachabteilung">
        <bpmn:flowNodeRef>Event_09q8wpa</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Activity_1v4ol3r</bpmn:flowNodeRef>
      </bpmn:lane>
      <bpmn:lane id="Lane_0djbhv7" name="Einkauf">
        <bpmn:flowNodeRef>Activity_0rdqpib</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Event_12h6k04</bpmn:flowNodeRef>
      </bpmn:lane>
    </bpmn:laneSet>
    <bpmn:startEvent id="Event_09q8wpa" name="Material benötigt">
      <bpmn:outgoing>Flow_0eyxm48</bpmn:outgoing>
    </bpmn:startEvent>
    <bpmn:userTask id="Activity_1v4ol3r" name="Bestellung erfassen">
      <bpmn:extensionElements>
        <camunda:formData>
          <camunda:formField id="produkt" label="Produkt" type="string" />
          <camunda:formField id="menge" label="Menge" type="number" />
        </camunda:formData>
      </bpmn:extensionElements>
      <bpmn:incoming>Flow_0eyxm48</bpmn:incoming>
      <bpmn:outgoing>Flow_1nyy3tg</bpmn:outgoing>
    </bpmn:userTask>
    <bpmn:sequenceFlow id="Flow_0eyxm48" sourceRef="Event_09q8wpa" targetRef="Activity_1v4ol3r" />
    <bpmn:sequenceFlow id="Flow_1nyy3tg" sourceRef="Activity_1v4ol3r" targetRef="Activity_0rdqpib" />
    <bpmn:sequenceFlow id="Flow_13yiwdf" sourceRef="Activity_0rdqpib" targetRef="Event_12h6k04" />
    <bpmn:userTask id="Activity_0rdqpib" name="Bestellung prüfen">
      <bpmn:extensionElements>
        <camunda:formData>
          <camunda:formField id="produkt" label="Produkt" type="string" defaultValue="${token.current.produkt}" />
          <camunda:formField id="menge" label="Menge" type="number" defaultValue="${token.current.menge}" />
          <camunda:formField id="genehmigen" type="checkbox" customForm="{&#34;entries&#34;:[{&#34;key&#34;:&#34;true&#34;,&#34;value&#34;:&#34;Genehmigen&#34;}]}" />
          <camunda:formField id="hinweis" label="Hinweis" type="string" />
        </camunda:formData>
        <camunda:properties>
          <camunda:property name="engine.runPostScript" value="return {&#10;    ...token.current,&#10;    &#34;genehmigen&#34;: Boolean(token.current.genehmigen)&#10;};" />
        </camunda:properties>
      </bpmn:extensionElements>
      <bpmn:incoming>Flow_1nyy3tg</bpmn:incoming>
      <bpmn:outgoing>Flow_13yiwdf</bpmn:outgoing>
    </bpmn:userTask>
    <bpmn:endEvent id="Event_12h6k04" name="Bestellung abgeschlossen">
      <bpmn:incoming>Flow_13yiwdf</bpmn:incoming>
    </bpmn:endEvent>
  </bpmn:process>
  <bpmn:message id="Message_wcCGgNcT" name="bestellung_verbuchen" />
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_1cidyxu">
      <bpmndi:BPMNShape id="BPMNShape_0l47hd3" bpmnElement="Participant_0i5dvj8" isHorizontal="true">
        <dc:Bounds x="-60" y="-700" width="840" height="686" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_0x12o1p" bpmnElement="Lane_1eyde99" isHorizontal="true">
        <dc:Bounds x="-30" y="-700" width="810" height="346" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Lane_0djbhv7_di" bpmnElement="Lane_0djbhv7" isHorizontal="true">
        <dc:Bounds x="-30" y="-354" width="810" height="340" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_1sn7ejq" bpmnElement="Event_09q8wpa">
        <dc:Bounds x="27" y="-552" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="4" y="-509" width="82" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_1ty6f9e_di" bpmnElement="Activity_1v4ol3r">
        <dc:Bounds x="115" y="-574" width="100" height="80" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_180v79m_di" bpmnElement="Activity_0rdqpib">
        <dc:Bounds x="300" y="-264" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_12h6k04_di" bpmnElement="Event_12h6k04">
        <dc:Bounds x="472" y="-242" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="453" y="-199" width="74" height="27" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="Flow_0eyxm48_di" bpmnElement="Flow_0eyxm48">
        <di:waypoint x="63" y="-534" />
        <di:waypoint x="115" y="-534" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1nyy3tg_di" bpmnElement="Flow_1nyy3tg">
        <di:waypoint x="215" y="-534" />
        <di:waypoint x="250" y="-534" />
        <di:waypoint x="250" y="-224" />
        <di:waypoint x="300" y="-224" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_13yiwdf_di" bpmnElement="Flow_13yiwdf">
        <di:waypoint x="400" y="-224" />
        <di:waypoint x="472" y="-224" />
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn:definitions>
