<?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:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" id="Definition_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="BPMN Studio" exporterVersion="1">
  <bpmn:collaboration id="Collaboration_1cidyxu" name="">
    <bpmn:participant id="Participant_0px403d" name="Buch ausleihen" processRef="BuchAusleihen_laufend" />
  </bpmn:collaboration>
  <bpmn:process id="BuchAusleihen_laufend" name="BuchAusleihen" isExecutable="true">
    <bpmn:laneSet>
      <bpmn:lane id="Lane_1xzf0d3" name="Bibliothekar">
        <bpmn:flowNodeRef>Task_0ac3rw6</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Activity_1xh2yq6</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Gateway_0ibi1zv</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Activity_0om87zv</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Task_0cawzhm</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Event_0njkd0v</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Task_0wo5qzp</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Task_0pi19x3</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Task_0svbn2x</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Activity_0gyp189</bpmn:flowNodeRef>
        <bpmn:childLaneSet id="LaneSet_1pbqcjp" />
      </bpmn:lane>
      <bpmn:lane id="Lane_0sisqao" name="Kunde">
        <bpmn:flowNodeRef>KundeMoechteBuchAusleihen</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Task_1662bo2</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Task_1gqviki</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>EndEvent_0eie6q6</bpmn:flowNodeRef>
      </bpmn:lane>
    </bpmn:laneSet>
    <bpmn:startEvent id="KundeMoechteBuchAusleihen" name="Kunde möchte Buch ausleihen">
      <bpmn:outgoing>SequenceFlow_1jdocur</bpmn:outgoing>
    </bpmn:startEvent>
    <bpmn:manualTask id="Task_1662bo2" name="Buch aussuchen">
      <bpmn:extensionElements>
        <camunda:properties>
          <camunda:property name="requiresConfirmation" value="false" />
        </camunda:properties>
      </bpmn:extensionElements>
      <bpmn:incoming>SequenceFlow_1jdocur</bpmn:incoming>
      <bpmn:outgoing>Flow_0apxelm</bpmn:outgoing>
    </bpmn:manualTask>
    <bpmn:manualTask id="Task_1gqviki" name="Bibliothekts-ausweis vorlegen">
      <bpmn:extensionElements>
        <camunda:properties>
          <camunda:property name="requiresConfirmation" value="false" />
        </camunda:properties>
      </bpmn:extensionElements>
      <bpmn:incoming>SequenceFlow_0z1uf9z</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_1nogj51</bpmn:outgoing>
    </bpmn:manualTask>
    <bpmn:manualTask id="Task_0ac3rw6" name="Bibliotheks-ausweis anfordern">
      <bpmn:extensionElements>
        <camunda:properties>
          <camunda:property name="requiresConfirmation" value="false" />
        </camunda:properties>
      </bpmn:extensionElements>
      <bpmn:incoming>Flow_0apxelm</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_0z1uf9z</bpmn:outgoing>
    </bpmn:manualTask>
    <bpmn:manualTask id="Activity_1xh2yq6" name="Forderungen/Ausleihen des Kunden prüfen">
      <bpmn:extensionElements>
        <camunda:properties>
          <camunda:property name="requiresConfirmation" value="false" />
        </camunda:properties>
      </bpmn:extensionElements>
      <bpmn:incoming>Flow_12azvrw</bpmn:incoming>
      <bpmn:outgoing>Flow_0ob1tix</bpmn:outgoing>
    </bpmn:manualTask>
    <bpmn:exclusiveGateway id="Gateway_0ibi1zv" name="Sind offene Forderungen/Auskeihen vorhanden?" default="Flow_0t8y91d">
      <bpmn:incoming>Flow_0ob1tix</bpmn:incoming>
      <bpmn:outgoing>Flow_1t01csg</bpmn:outgoing>
      <bpmn:outgoing>Flow_0t8y91d</bpmn:outgoing>
    </bpmn:exclusiveGateway>
    <bpmn:manualTask id="Activity_0om87zv" name="Ausleihe ablehnen">
      <bpmn:extensionElements>
        <camunda:properties>
          <camunda:property name="requiresConfirmation" value="false" />
        </camunda:properties>
      </bpmn:extensionElements>
      <bpmn:incoming>Flow_1t01csg</bpmn:incoming>
      <bpmn:outgoing>Flow_0fu8ayh</bpmn:outgoing>
    </bpmn:manualTask>
    <bpmn:manualTask id="Task_0cawzhm" name="Buchkarte aus Buch entnehmen">
      <bpmn:extensionElements>
        <camunda:properties>
          <camunda:property name="requiresConfirmation" value="false" />
        </camunda:properties>
      </bpmn:extensionElements>
      <bpmn:incoming>Flow_0t8y91d</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_18xl13l</bpmn:outgoing>
    </bpmn:manualTask>
    <bpmn:endEvent id="Event_0njkd0v" name="">
      <bpmn:incoming>Flow_0fu8ayh</bpmn:incoming>
      <bpmn:terminateEventDefinition id="TerminateEventDefinition_0zqif1b" />
    </bpmn:endEvent>
    <bpmn:manualTask id="Task_0wo5qzp" name="Buchkarte ausfüllen und in Register einsortieren">
      <bpmn:extensionElements>
        <camunda:properties>
          <camunda:property name="requiresConfirmation" value="false" />
        </camunda:properties>
      </bpmn:extensionElements>
      <bpmn:incoming>SequenceFlow_18xl13l</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_0l50t65</bpmn:outgoing>
    </bpmn:manualTask>
    <bpmn:manualTask id="Task_0pi19x3" name="Rückgabedatum ins Fristblatt eintragen">
      <bpmn:extensionElements>
        <camunda:properties>
          <camunda:property name="requiresConfirmation" value="false" />
        </camunda:properties>
      </bpmn:extensionElements>
      <bpmn:incoming>SequenceFlow_0l50t65</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_093w4n3</bpmn:outgoing>
    </bpmn:manualTask>
    <bpmn:manualTask id="Task_0svbn2x" name="Ausleihe bestätigen und Buch an Kunden aushändigen">
      <bpmn:extensionElements>
        <camunda:properties>
          <camunda:property name="requiresConfirmation" value="false" />
        </camunda:properties>
      </bpmn:extensionElements>
      <bpmn:incoming>SequenceFlow_093w4n3</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_0hw3mix</bpmn:outgoing>
    </bpmn:manualTask>
    <bpmn:endEvent id="EndEvent_0eie6q6" name="Buch ausgeliehen">
      <bpmn:incoming>SequenceFlow_0hw3mix</bpmn:incoming>
    </bpmn:endEvent>
    <bpmn:sequenceFlow id="Flow_0fu8ayh" sourceRef="Activity_0om87zv" targetRef="Event_0njkd0v" />
    <bpmn:sequenceFlow id="Flow_0t8y91d" name="nein" sourceRef="Gateway_0ibi1zv" targetRef="Task_0cawzhm" />
    <bpmn:sequenceFlow id="Flow_1t01csg" name="ja" sourceRef="Gateway_0ibi1zv" targetRef="Activity_0om87zv" />
    <bpmn:sequenceFlow id="Flow_0ob1tix" sourceRef="Activity_1xh2yq6" targetRef="Gateway_0ibi1zv" />
    <bpmn:sequenceFlow id="Flow_0apxelm" sourceRef="Task_1662bo2" targetRef="Task_0ac3rw6" />
    <bpmn:sequenceFlow id="Flow_12azvrw" sourceRef="Activity_0gyp189" targetRef="Activity_1xh2yq6" />
    <bpmn:sequenceFlow id="SequenceFlow_093w4n3" sourceRef="Task_0pi19x3" targetRef="Task_0svbn2x" />
    <bpmn:sequenceFlow id="SequenceFlow_0hw3mix" sourceRef="Task_0svbn2x" targetRef="EndEvent_0eie6q6" />
    <bpmn:sequenceFlow id="SequenceFlow_0l50t65" sourceRef="Task_0wo5qzp" targetRef="Task_0pi19x3" />
    <bpmn:sequenceFlow id="SequenceFlow_18xl13l" sourceRef="Task_0cawzhm" targetRef="Task_0wo5qzp" />
    <bpmn:sequenceFlow id="SequenceFlow_1nogj51" sourceRef="Task_1gqviki" targetRef="Activity_0gyp189" />
    <bpmn:sequenceFlow id="SequenceFlow_0z1uf9z" name="" sourceRef="Task_0ac3rw6" targetRef="Task_1gqviki" />
    <bpmn:sequenceFlow id="SequenceFlow_1jdocur" sourceRef="KundeMoechteBuchAusleihen" targetRef="Task_1662bo2" />
    <bpmn:userTask id="Activity_0gyp189" name="Kunde mit Bibliotheksausweis identifizieren" camunda:formKey="">
      <bpmn:extensionElements>
        <camunda:formData>
          <camunda:formField id="kundenId" label="KundenId" type="long" defaultValue="" />
          <camunda:formField id="offeneGebuehren" label="Offene Gebühren" type="number" defaultValue="0.00" />
        </camunda:formData>
      </bpmn:extensionElements>
      <bpmn:incoming>SequenceFlow_1nogj51</bpmn:incoming>
      <bpmn:outgoing>Flow_12azvrw</bpmn:outgoing>
    </bpmn:userTask>
  </bpmn:process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_1cidyxu">
      <bpmndi:BPMNShape id="Participant_0px403d_di" bpmnElement="Participant_0px403d" isHorizontal="true">
        <dc:Bounds x="90" y="-170" width="1761" height="470" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Lane_0sisqao_di" bpmnElement="Lane_0sisqao" isHorizontal="true">
        <dc:Bounds x="120" y="-170" width="1731" height="185" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Lane_1xzf0d3_di" bpmnElement="Lane_1xzf0d3" isHorizontal="true">
        <dc:Bounds x="120" y="15" width="1731" height="285" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_1jdocur_di" bpmnElement="SequenceFlow_1jdocur">
        <di:waypoint x="201" y="-65" />
        <di:waypoint x="247" y="-65" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_0z1uf9z_di" bpmnElement="SequenceFlow_0z1uf9z">
        <di:waypoint x="546" y="79" />
        <di:waypoint x="546" y="-65" />
        <di:waypoint x="581" y="-65" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_1nogj51_di" bpmnElement="SequenceFlow_1nogj51">
        <di:waypoint x="681" y="-65" />
        <di:waypoint x="702" y="-65" />
        <di:waypoint x="702" y="119" />
        <di:waypoint x="725" y="119" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_18xl13l_di" bpmnElement="SequenceFlow_18xl13l">
        <di:waypoint x="1323" y="119" />
        <di:waypoint x="1365" y="119" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_0l50t65_di" bpmnElement="SequenceFlow_0l50t65">
        <di:waypoint x="1465" y="119" />
        <di:waypoint x="1499" y="119" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_0hw3mix_di" bpmnElement="SequenceFlow_0hw3mix">
        <di:waypoint x="1735" y="136" />
        <di:waypoint x="1745" y="136" />
        <di:waypoint x="1745" y="-65" />
        <di:waypoint x="1777" y="-65" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_093w4n3_di" bpmnElement="SequenceFlow_093w4n3">
        <di:waypoint x="1599" y="119" />
        <di:waypoint x="1633" y="119" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_12azvrw_di" bpmnElement="Flow_12azvrw">
        <di:waypoint x="825" y="119" />
        <di:waypoint x="865" y="119" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0apxelm_di" bpmnElement="Flow_0apxelm">
        <di:waypoint x="347" y="-65" />
        <di:waypoint x="422" y="-65" />
        <di:waypoint x="422" y="119" />
        <di:waypoint x="496" y="119" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0ob1tix_di" bpmnElement="Flow_0ob1tix">
        <di:waypoint x="965" y="119" />
        <di:waypoint x="1000" y="119" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1t01csg_di" bpmnElement="Flow_1t01csg">
        <di:waypoint x="1025" y="144" />
        <di:waypoint x="1025" y="236" />
        <di:waypoint x="1085" y="236" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1036" y="187" width="9" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0t8y91d_di" bpmnElement="Flow_0t8y91d">
        <di:waypoint x="1050" y="119" />
        <di:waypoint x="1223" y="119" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1064" y="101" width="21" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0fu8ayh_di" bpmnElement="Flow_0fu8ayh">
        <di:waypoint x="1185" y="236" />
        <di:waypoint x="1227" y="236" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="StartEvent_1mox3jl_di" bpmnElement="KundeMoechteBuchAusleihen">
        <dc:Bounds x="165" y="-83" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="145" y="-43" width="76" height="27" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="ManualTask_0m2faux_di" bpmnElement="Task_1662bo2">
        <dc:Bounds x="247" y="-105" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="ManualTask_0qfr6i9_di" bpmnElement="Task_1gqviki">
        <dc:Bounds x="581" y="-105" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="ManualTask_1fddxxg_di" bpmnElement="Task_0ac3rw6">
        <dc:Bounds x="496" y="79" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_097144f_di" bpmnElement="Activity_1xh2yq6">
        <dc:Bounds x="865" y="79" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Gateway_0ibi1zv_di" bpmnElement="Gateway_0ibi1zv" isMarkerVisible="true">
        <dc:Bounds x="1000" y="94" width="50" height="50" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="983" y="39" width="85" height="53" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_03d91cg_di" bpmnElement="Activity_0om87zv">
        <dc:Bounds x="1085" y="196" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="ManualTask_0bdfzfd_di" bpmnElement="Task_0cawzhm">
        <dc:Bounds x="1223" y="79" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_0v5eltn_di" bpmnElement="Event_0njkd0v">
        <dc:Bounds x="1227" y="218" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="ManualTask_1oj68ms_di" bpmnElement="Task_0wo5qzp">
        <dc:Bounds x="1365" y="79" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="ManualTask_1me6tm1_di" bpmnElement="Task_0pi19x3">
        <dc:Bounds x="1499" y="79" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="ManualTask_1arn9jx_di" bpmnElement="Task_0svbn2x">
        <dc:Bounds x="1633" y="79" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="EndEvent_0eie6q6_di" bpmnElement="EndEvent_0eie6q6">
        <dc:Bounds x="1777" y="-83" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1751" y="-39" width="88" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_1661f01_di" bpmnElement="Activity_0gyp189">
        <dc:Bounds x="725" y="79" width="100" height="80" />
      </bpmndi:BPMNShape>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn:definitions>
