<?xml version="1.0" encoding="UTF-8"?>
<!-- origin at X=0.0 Y=0.0 -->
<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:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:ext="http://org.eclipse.bpmn2/ext" xmlns:imixs="http://www.imixs.org/bpmn2" xmlns:xs="http://www.w3.org/2001/XMLSchema" id="Definitions_1" exporter="org.eclipse.bpmn2.modeler.core" exporterVersion="1.5.2.SNAPSHOT-v20200602-1600-B1" targetNamespace="http://www.imixs.org/bpmn2">
  <bpmn2:extensionElements>
    <imixs:item name="txtworkflowmodelversion" type="xs:string">
      <imixs:value><![CDATA[rechnungseingang-de-1.0]]></imixs:value>
    </imixs:item>
    <imixs:item name="txtfieldmapping" type="xs:string">
      <imixs:value><![CDATA[Ersteller | $creator]]></imixs:value>
      <imixs:value><![CDATA[Aktueller Bearbeiter | $editor]]></imixs:value>
      <imixs:value><![CDATA[Eigentümer | namowner]]></imixs:value>
      <imixs:value><![CDATA[Prozess-Verantwortliche| process.manager]]></imixs:value>
      <imixs:value><![CDATA[Prozess-Team | process.team]]></imixs:value>
      <imixs:value><![CDATA[Prozess-Assistenz | process.assist]]></imixs:value>
      <imixs:value><![CDATA[Bereichs-Verantwortliche | space.manager]]></imixs:value>
      <imixs:value><![CDATA[Bereichs-Team | space.team]]></imixs:value>
      <imixs:value><![CDATA[Bereichs-Assistenz | space.assist]]></imixs:value>
      <imixs:value><![CDATA[Verantwortlich | team]]></imixs:value>
    </imixs:item>
    <imixs:item name="txttimefieldmapping" type="xs:string">
      <imixs:value><![CDATA[Fälligkeitsdatum | invoice.duedate]]></imixs:value>
      <imixs:value><![CDATA[Bezahldatum | invoice.postingdate]]></imixs:value>
    </imixs:item>
    <imixs:item name="txtplugins" type="xs:string">
      <imixs:value><![CDATA[org.imixs.workflow.engine.plugins.ResultPlugin]]></imixs:value>
      <imixs:value><![CDATA[org.imixs.workflow.engine.plugins.RulePlugin]]></imixs:value>
      <imixs:value><![CDATA[org.imixs.marty.plugins.ProfilePlugin]]></imixs:value>
      <imixs:value><![CDATA[org.imixs.marty.plugins.CommentPlugin]]></imixs:value>
      <imixs:value><![CDATA[org.imixs.marty.plugins.SequenceNumberPlugin]]></imixs:value>
      <imixs:value><![CDATA[org.imixs.marty.plugins.TeamPlugin]]></imixs:value>
      <imixs:value><![CDATA[org.imixs.marty.plugins.DeputyPlugin]]></imixs:value>
      <imixs:value><![CDATA[org.imixs.workflow.engine.plugins.OwnerPlugin]]></imixs:value>
      <imixs:value><![CDATA[org.imixs.workflow.engine.plugins.HistoryPlugin]]></imixs:value>
      <imixs:value><![CDATA[org.imixs.workflow.engine.plugins.LogPlugin]]></imixs:value>
      <imixs:value><![CDATA[org.imixs.workflow.engine.plugins.ApplicationPlugin]]></imixs:value>
      <imixs:value><![CDATA[org.imixs.marty.plugins.MailPlugin]]></imixs:value>
      <imixs:value><![CDATA[org.imixs.workflow.engine.plugins.IntervalPlugin]]></imixs:value>
      <imixs:value><![CDATA[org.imixs.workflow.engine.plugins.SplitAndJoinPlugin]]></imixs:value>
      <imixs:value><![CDATA[org.imixs.workflow.sepa.plugins.IBANBICPlugin]]></imixs:value>
    </imixs:item>
  </bpmn2:extensionElements>
  <bpmn2:signal id="Signal_1" name="org.imixs.ml.workflow.MLAdapter"/>
  <bpmn2:signal id="Signal_2" name="org.imixs.archive.documents.OCRDocumentAdapter"/>
  <bpmn2:signal id="Signal_3" name="com.alexanderlogistics.CargosoftExportAdapter"/>
  <bpmn2:collaboration id="Collaboration_1">
    <bpmn2:participant id="Participant_1" name="Rechnungseingang" processRef="Process_1"/>
  </bpmn2:collaboration>
  <bpmn2:process id="Process_1" name="Rechnungseingang" definitionalCollaborationRef="Collaboration_1" isExecutable="false">
    <bpmn2:laneSet id="LaneSet_1" name="Lane Set 1">
      <bpmn2:lane id="Lane_1" name="Ersteller">
        <bpmn2:flowNodeRef>ExclusiveGateway_4</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>Task_2</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>ExclusiveGateway_1</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>StartEvent_1</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>IntermediateCatchEvent_3</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>IntermediateCatchEvent_13</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>IntermediateCatchEvent_5000-20</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>IntermediateCatchEvent_6</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>EventBasedGateway_1</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>IntermediateCatchEvent_19</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>IntermediateThrowEvent_3</bpmn2:flowNodeRef>
      </bpmn2:lane>
      <bpmn2:lane id="Lane_2" name="Verantwortlicher / Bereich Team">
        <bpmn2:flowNodeRef>ExclusiveGateway_3</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>IntermediateCatchEvent_2</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>ExclusiveGateway_6</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>IntermediateCatchEvent_5005-20</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>EventBasedGateway_2</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>Task_5005</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>IntermediateCatchEvent_5005-10</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>IntermediateCatchEvent_5005-30</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>ExclusiveGateway_5</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>IntermediateCatchEvent_21</bpmn2:flowNodeRef>
      </bpmn2:lane>
      <bpmn2:lane id="Lane_3" name="Geschäftsleitung">
        <bpmn2:flowNodeRef>Task_5000</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>EventBasedGateway_4</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>IntermediateCatchEvent_16</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>IntermediateCatchEvent_15</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>IntermediateThrowEvent_1</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>IntermediateCatchEvent_5000-10</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>IntermediateCatchEvent_5</bpmn2:flowNodeRef>
      </bpmn2:lane>
      <bpmn2:lane id="Lane_4" name="Buchhaltung">
        <bpmn2:flowNodeRef>Task_3</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>IntermediateCatchEvent_17</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>ExclusiveGateway_2</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>IntermediateCatchEvent_4</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>Task_6</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>Task_7</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>IntermediateCatchEvent_18</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>Task_5</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>EndEvent_2</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>IntermediateCatchEvent_14</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>IntermediateCatchEvent_8</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>IntermediateCatchEvent_20</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>Task_4</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>Task_8</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>IntermediateCatchEvent_12</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>IntermediateCatchEvent_7</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>EndEvent_1</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>EndEvent_3</bpmn2:flowNodeRef>
      </bpmn2:lane>
      <bpmn2:lane id="Lane_6" name="Bereich Manager">
        <bpmn2:flowNodeRef>IntermediateCatchEvent_9</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>Task_1</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>IntermediateCatchEvent_11</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>IntermediateThrowEvent_5</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>IntermediateCatchEvent_10</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>IntermediateCatchEvent_1</bpmn2:flowNodeRef>
      </bpmn2:lane>
    </bpmn2:laneSet>
    <bpmn2:task id="Task_5000" imixs:processid="5300" name="Freigabe">
      <bpmn2:extensionElements>
        <imixs:item name="txteditorid" type="xs:string">
          <imixs:value><![CDATA[alexander/form_basic_read#alexander/sub_positionen_read]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtworkflowabstract" type="xs:string">
          <imixs:value><![CDATA[<itemvalue>txtlastcomment</itemvalue>]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtname" type="xs:string">
          <imixs:value><![CDATA[Rechnung erhalten]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtimageurl" type="xs:string">
          <imixs:value><![CDATA[typcn-download|typcn-input-checked,imixs-warning,icon-sub-se]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtworkflowsummary" type="xs:string">
          <imixs:value><![CDATA[<itemvalue>numsequencenumber</itemvalue>: <itemvalue>cdtr.name</itemvalue> <itemvalue>invoice.number</itemvalue> (<itemvalue>invoice.currency</itemvalue> <itemvalue>invoice.total</itemvalue>) <itemvalue>space.name</itemvalue>]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyupdateacl" type="xs:boolean">
          <imixs:value>true</imixs:value>
        </imixs:item>
        <imixs:item name="keyownershipfields" type="xs:string">
          <imixs:value><![CDATA[process.manager]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyaddwritefields" type="xs:string">
          <imixs:value><![CDATA[process.manager]]></imixs:value>
        </imixs:item>
        <imixs:item name="txttype" type="xs:string">
          <imixs:value><![CDATA[workitem]]></imixs:value>
        </imixs:item>
        <imixs:item name="namaddreadaccess" type="xs:string">
          <imixs:value><![CDATA[{process:?:member}]]></imixs:value>
          <imixs:value><![CDATA[{space:?:member}]]></imixs:value>
        </imixs:item>
      </bpmn2:extensionElements>
      <bpmn2:documentation id="Documentation_3"><![CDATA[<textblock><itemvalue>$workflowgroup</itemvalue> - <itemvalue>$workflowstatus</itemvalue></textblock>]]></bpmn2:documentation>
      <bpmn2:incoming>SequenceFlow_31</bpmn2:incoming>
      <bpmn2:incoming>SequenceFlow_1</bpmn2:incoming>
      <bpmn2:incoming>SequenceFlow_3</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_32</bpmn2:outgoing>
    </bpmn2:task>
    <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_5000-10" imixs:activityid="10" name="Speichern">
      <bpmn2:extensionElements>
        <imixs:item name="keylogtimeformat" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyarchive" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtmailsubject" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyaccessmode" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyscheduledactivity" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="rtfmailbody" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyversion" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyaddwritefields" type="xs:string">
          <imixs:value><![CDATA[$creator]]></imixs:value>
          <imixs:value><![CDATA[$editor]]></imixs:value>
          <imixs:value><![CDATA[process.manager]]></imixs:value>
          <imixs:value><![CDATA[process.team]]></imixs:value>
        </imixs:item>
        <imixs:item name="numnextactivityid" type="xs:int">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyfollowup" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keypublicresult" type="xs:string">
          <imixs:value><![CDATA[1]]></imixs:value>
        </imixs:item>
        <imixs:item name="keylogdateformat" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyownershipfields" type="xs:string">
          <imixs:value><![CDATA[$editor]]></imixs:value>
          <imixs:value><![CDATA[$creator]]></imixs:value>
        </imixs:item>
        <imixs:item name="numnextid" type="xs:int">
          <imixs:value><![CDATA[5000]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtnextprocesstree" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtactivityresult" type="xs:string">
          <imixs:value><![CDATA[<item name="comment" ignore="true"/>]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtname" type="xs:string">
          <imixs:value><![CDATA[Speichern]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyownershipmode" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="rtfresultlog" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyupdateacl" type="xs:boolean">
          <imixs:value>false</imixs:value>
        </imixs:item>
      </bpmn2:extensionElements>
      <bpmn2:documentation id="Documentation_108"><![CDATA[Zwischenspeichern]]></bpmn2:documentation>
      <bpmn2:outgoing>SequenceFlow_31</bpmn2:outgoing>
    </bpmn2:intermediateCatchEvent>
    <bpmn2:sequenceFlow id="SequenceFlow_31" sourceRef="IntermediateCatchEvent_5000-10" targetRef="Task_5000"/>
    <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_5000-20" imixs:activityid="20" name="Weiterleiten">
      <bpmn2:extensionElements>
        <imixs:item name="keyarchive" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtmailsubject" type="xs:string">
          <imixs:value><![CDATA[Empfangsbestätigung Rechnungseingang]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyaccessmode" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyscheduledactivity" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="rtfmailbody" type="xs:string">
          <imixs:value><![CDATA[Hallo,

die von Ihnen an uns gesendete Eingangsrechung haben wir erhalten.
Die Bearbeitung erfolgt in Kürze. 

Bei Fragen wenden Sie sich bitte an info@imixs.com
]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyversion" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyaddwritefields" type="xs:string">
          <imixs:value><![CDATA[process.manager]]></imixs:value>
          <imixs:value><![CDATA[process.team]]></imixs:value>
        </imixs:item>
        <imixs:item name="numnextactivityid" type="xs:int">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyfollowup" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keypublicresult" type="xs:string">
          <imixs:value><![CDATA[1]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyownershipfields" type="xs:string">
          <imixs:value><![CDATA[process.team]]></imixs:value>
        </imixs:item>
        <imixs:item name="numnextid" type="xs:int">
          <imixs:value><![CDATA[5005]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtnextprocesstree" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtactivityresult" type="xs:string">
          <imixs:value><![CDATA[<item name="action">home</item>]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtname" type="xs:string">
          <imixs:value><![CDATA[Akzeptieren]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyownershipmode" type="xs:string">
          <imixs:value><![CDATA[1]]></imixs:value>
        </imixs:item>
        <imixs:item name="rtfresultlog" type="xs:string">
          <imixs:value><![CDATA[Rechnung erfasst und weitergeleitet ⇨ <itemvalue>space.name</itemvalue>]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyupdateacl" type="xs:boolean">
          <imixs:value>false</imixs:value>
        </imixs:item>
        <imixs:item name="txtbusinessrule" type="CDATA">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
      </bpmn2:extensionElements>
      <bpmn2:documentation id="Documentation_105"><![CDATA[Rechnung erfasst und  zur Prüfung weiterleiten]]></bpmn2:documentation>
      <bpmn2:incoming>SequenceFlow_46</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_24</bpmn2:outgoing>
    </bpmn2:intermediateCatchEvent>
    <bpmn2:exclusiveGateway id="ExclusiveGateway_1" gatewayDirection="Converging">
      <bpmn2:incoming>SequenceFlow_0</bpmn2:incoming>
      <bpmn2:incoming>SequenceFlow_15</bpmn2:incoming>
      <bpmn2:incoming>SequenceFlow_21</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_33</bpmn2:outgoing>
    </bpmn2:exclusiveGateway>
    <bpmn2:sequenceFlow id="SequenceFlow_33" sourceRef="ExclusiveGateway_1" targetRef="Task_2"/>
    <bpmn2:startEvent id="StartEvent_1" name="Start">
      <bpmn2:outgoing>SequenceFlow_0</bpmn2:outgoing>
    </bpmn2:startEvent>
    <bpmn2:sequenceFlow id="SequenceFlow_0" sourceRef="StartEvent_1" targetRef="ExclusiveGateway_1"/>
    <bpmn2:task id="Task_5005" imixs:processid="5200" name="Sachprüfung">
      <bpmn2:extensionElements>
        <imixs:item name="txteditorid" type="xs:string">
          <imixs:value><![CDATA[alexander/form_basic#alexander/sub_positionen]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtworkflowabstract" type="xs:string">
          <imixs:value><![CDATA[<itemvalue>txtlastcomment</itemvalue>]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtname" type="xs:string">
          <imixs:value><![CDATA[in Prüfung]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtimageurl" type="xs:string">
          <imixs:value><![CDATA[typcn-download|typcn-info,imixs-info,icon-sub-ne]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtworkflowsummary" type="xs:string">
          <imixs:value><![CDATA[<itemvalue>numsequencenumber</itemvalue>: <itemvalue>cdtr.name</itemvalue> <itemvalue>invoice.number</itemvalue> (<itemvalue>invoice.currency</itemvalue> <itemvalue>invoice.total</itemvalue>) <itemvalue>space.name</itemvalue>]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyupdateacl" type="xs:boolean">
          <imixs:value>true</imixs:value>
        </imixs:item>
        <imixs:item name="keyownershipfields" type="xs:string">
          <imixs:value><![CDATA[team]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyaddwritefields" type="xs:string">
          <imixs:value><![CDATA[process.team]]></imixs:value>
          <imixs:value><![CDATA[process.manager]]></imixs:value>
          <imixs:value><![CDATA[space.team]]></imixs:value>
          <imixs:value><![CDATA[space.manager]]></imixs:value>
        </imixs:item>
        <imixs:item name="namaddreadaccess" type="xs:string">
          <imixs:value><![CDATA[{process:?:member}]]></imixs:value>
          <imixs:value><![CDATA[{space:?:member}]]></imixs:value>
        </imixs:item>
      </bpmn2:extensionElements>
      <bpmn2:documentation id="Documentation_6"><![CDATA[<textblock><itemvalue>$workflowgroup</itemvalue> - <itemvalue>$workflowstatus</itemvalue></textblock>]]></bpmn2:documentation>
      <bpmn2:incoming>SequenceFlow_38</bpmn2:incoming>
      <bpmn2:incoming>SequenceFlow_34</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_37</bpmn2:outgoing>
    </bpmn2:task>
    <bpmn2:sequenceFlow id="SequenceFlow_37" sourceRef="Task_5005" targetRef="EventBasedGateway_2"/>
    <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_5005-20" imixs:activityid="20" name="Freigeben">
      <bpmn2:extensionElements>
        <imixs:item name="keylogtimeformat" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyarchive" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtmailsubject" type="xs:string">
          <imixs:value><![CDATA[Eingangsrechnung erhalten: <itemvalue>_subject</itemvalue>]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyaccessmode" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyscheduledactivity" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="rtfmailbody" type="xs:string">
          <imixs:value><![CDATA[Wir haben folgende Rechnung erhalten: bitte freigeben.

Betrag: <itemvalue>_amount</itemvalue> (Brutto € <itemvalue>_amount_brutto</itemvalue>)
<itemvalue>_description</itemvalue>]]></imixs:value>
        </imixs:item>
        <imixs:item name="keymailreceiverfields" type="xs:string"/>
        <imixs:item name="keyversion" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyaddwritefields" type="xs:string">
          <imixs:value><![CDATA[process.manager]]></imixs:value>
        </imixs:item>
        <imixs:item name="numnextactivityid" type="xs:int">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyfollowup" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keypublicresult" type="xs:string">
          <imixs:value><![CDATA[1]]></imixs:value>
        </imixs:item>
        <imixs:item name="keylogdateformat" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyownershipfields" type="xs:string">
          <imixs:value><![CDATA[process.manager]]></imixs:value>
        </imixs:item>
        <imixs:item name="numnextid" type="xs:int">
          <imixs:value><![CDATA[5005]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtnextprocesstree" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtactivityresult" type="xs:string">
          <imixs:value><![CDATA[<item name="action">home</item>
<item name="space.lastname"><itemvalue>space.name</itemvalue></item>

<item name="subprocess_create">
	<modelversion>cargosoft-export-1.0</modelversion>
	<task>1000</task>
	<event>100</event>
	<items>(?!txtworkflowhistory)(^[a-zA-Z]|^_)</items>
</item>
]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtname" type="xs:string">
          <imixs:value><![CDATA[Freigabe einholen]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyownershipmode" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="rtfresultlog" type="xs:string">
          <imixs:value><![CDATA[Sachlich geprüft und freigegeben, Datenübergabe an Cargosoft]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyupdateacl" type="xs:boolean">
          <imixs:value>false</imixs:value>
        </imixs:item>
        <imixs:item name="txtbusinessrule" type="CDATA">
          <imixs:value><![CDATA[var result={};
result.isValid=true;

var a=workitem.get("invoice.total")[0];
var b= workitem.get("order.total")[0];

 if (  b>0 && (parseFloat(a)!=parseFloat(b)) ) {
     result.isValid=false;
     result.errorMessage="Der Rechnungsbetrag " + a+ " stimmt nicht mit dem Positionsbetrag " + b  + " überein.";
  }]]></imixs:value>
        </imixs:item>
      </bpmn2:extensionElements>
      <bpmn2:documentation id="Documentation_23"><![CDATA[Rechnung geprüft, weiterleiten an Buchhaltung.]]></bpmn2:documentation>
      <bpmn2:incoming>SequenceFlow_8</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_51</bpmn2:outgoing>
      <bpmn2:outputSet id="OutputSet_2" name="Output Set 2"/>
    </bpmn2:intermediateCatchEvent>
    <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_5005-10" imixs:activityid="10" name="Speichern">
      <bpmn2:extensionElements>
        <imixs:item name="keylogtimeformat" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyarchive" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtmailsubject" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyaccessmode" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyscheduledactivity" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="rtfmailbody" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyversion" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyaddwritefields" type="xs:string">
          <imixs:value><![CDATA[$creator]]></imixs:value>
          <imixs:value><![CDATA[$editor]]></imixs:value>
          <imixs:value><![CDATA[process.manager]]></imixs:value>
        </imixs:item>
        <imixs:item name="numnextactivityid" type="xs:int">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyfollowup" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keypublicresult" type="xs:string">
          <imixs:value><![CDATA[1]]></imixs:value>
        </imixs:item>
        <imixs:item name="keylogdateformat" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyownershipfields" type="xs:string">
          <imixs:value><![CDATA[$editor]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtnextprocesstree" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="numnextid" type="xs:int">
          <imixs:value><![CDATA[5005]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtactivityresult" type="xs:string">
          <imixs:value><![CDATA[<item name="comment" ignore="true"/>]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtname" type="xs:string">
          <imixs:value><![CDATA[Speichern]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyownershipmode" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="rtfresultlog" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyupdateacl" type="xs:boolean">
          <imixs:value>false</imixs:value>
        </imixs:item>
      </bpmn2:extensionElements>
      <bpmn2:documentation id="Documentation_109"><![CDATA[Zwischenspeichern]]></bpmn2:documentation>
      <bpmn2:outgoing>SequenceFlow_38</bpmn2:outgoing>
    </bpmn2:intermediateCatchEvent>
    <bpmn2:sequenceFlow id="SequenceFlow_38" sourceRef="IntermediateCatchEvent_5005-10" targetRef="Task_5005"/>
    <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_5005-30" imixs:activityid="50" name="Ablehnen">
      <bpmn2:extensionElements>
        <imixs:item name="keylogtimeformat" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyarchive" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtmailsubject" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyaccessmode" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyscheduledactivity" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="rtfmailbody" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyversion" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyaddwritefields" type="xs:string">
          <imixs:value><![CDATA[process.team]]></imixs:value>
          <imixs:value><![CDATA[process.manager]]></imixs:value>
        </imixs:item>
        <imixs:item name="numnextactivityid" type="xs:int">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyfollowup" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keypublicresult" type="xs:string">
          <imixs:value><![CDATA[1]]></imixs:value>
        </imixs:item>
        <imixs:item name="keylogdateformat" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyownershipfields" type="xs:string">
          <imixs:value><![CDATA[process.team]]></imixs:value>
        </imixs:item>
        <imixs:item name="numnextid" type="xs:int">
          <imixs:value><![CDATA[5020]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtnextprocesstree" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtactivityresult" type="xs:string">
          <imixs:value><![CDATA[<item name="action">home</item>
<item name="space.lastname"><itemvalue>space.name</itemvalue></item>]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtname" type="xs:string">
          <imixs:value><![CDATA[Anweisen]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyownershipmode" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="rtfresultlog" type="xs:string">
          <imixs:value><![CDATA[Sachlich geprüft und abgelehnt.]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyupdateacl" type="xs:boolean">
          <imixs:value>false</imixs:value>
        </imixs:item>
        <imixs:item name="txtbusinessrule" type="CDATA">
          <imixs:value><![CDATA[var result={};
 var refField="txtcomment"; 
result.isValid=true;

 if (  ( workitem.get(refField) == null || ''==workitem.get(refField)[0])   ) {
     result.isValid=false;
     result.errorMessage='Bitte geben Sie einen Kommentar ein.';
  }]]></imixs:value>
        </imixs:item>
      </bpmn2:extensionElements>
      <bpmn2:documentation id="Documentation_24"><![CDATA[Rechnung nicht in Ordnung, zurück an Verteiler.]]></bpmn2:documentation>
      <bpmn2:incoming>SequenceFlow_10</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_41</bpmn2:outgoing>
    </bpmn2:intermediateCatchEvent>
    <bpmn2:eventBasedGateway id="EventBasedGateway_2" gatewayDirection="Diverging">
      <bpmn2:incoming>SequenceFlow_37</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_8</bpmn2:outgoing>
      <bpmn2:outgoing>SequenceFlow_10</bpmn2:outgoing>
      <bpmn2:outgoing>SequenceFlow_54</bpmn2:outgoing>
    </bpmn2:eventBasedGateway>
    <bpmn2:sequenceFlow id="SequenceFlow_8" sourceRef="EventBasedGateway_2" targetRef="IntermediateCatchEvent_5005-20"/>
    <bpmn2:sequenceFlow id="SequenceFlow_10" sourceRef="EventBasedGateway_2" targetRef="IntermediateCatchEvent_5005-30"/>
    <bpmn2:task id="Task_2" imixs:processid="5000" name="Erfassung">
      <bpmn2:extensionElements>
        <imixs:item name="txteditorid" type="xs:string">
          <imixs:value><![CDATA[alexander/form_basic#sub_dispatch]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtworkflowabstract" type="xs:string">
          <imixs:value><![CDATA[<itemvalue>txtlastcomment</itemvalue>]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtname" type="xs:string">
          <imixs:value><![CDATA[Rechnung erhalten]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtimageurl" type="xs:string">
          <imixs:value><![CDATA[typcn-download]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtworkflowsummary" type="xs:string">
          <imixs:value><![CDATA[<itemvalue>cdtr.name</itemvalue> <itemvalue>invoice.number</itemvalue> (<itemvalue>invoice.currency</itemvalue> <itemvalue>invoice.total</itemvalue>) <itemvalue>space.name</itemvalue>]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyupdateacl" type="xs:boolean">
          <imixs:value>true</imixs:value>
        </imixs:item>
        <imixs:item name="keyownershipfields" type="xs:string">
          <imixs:value><![CDATA[process.team]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyaddwritefields" type="xs:string">
          <imixs:value><![CDATA[process.manager]]></imixs:value>
          <imixs:value><![CDATA[process.team]]></imixs:value>
        </imixs:item>
        <imixs:item name="txttype" type="xs:string">
          <imixs:value><![CDATA[workitem]]></imixs:value>
        </imixs:item>
        <imixs:item name="namaddreadaccess" type="xs:string">
          <imixs:value><![CDATA[{process:?:member}]]></imixs:value>
          <imixs:value><![CDATA[{space:?:member}]]></imixs:value>
        </imixs:item>
      </bpmn2:extensionElements>
      <bpmn2:documentation id="Documentation_2"><![CDATA[<textblock><itemvalue>$workflowgroup</itemvalue> - <itemvalue>$workflowstatus</itemvalue></textblock>]]></bpmn2:documentation>
      <bpmn2:incoming>SequenceFlow_33</bpmn2:incoming>
      <bpmn2:incoming>SequenceFlow_20</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_22</bpmn2:outgoing>
    </bpmn2:task>
    <bpmn2:dataObject id="DataObject_2" name="Invoice Form">
      <bpmn2:documentation id="Documentation_8"><![CDATA[<?xml version="1.0"?>
<imixs-form>
  <imixs-form-section columns="1" label="Rechnungsdaten">
    <item name="cdtr.name" type="text"  label="Kreditor:"/>
  </imixs-form-section>
  <imixs-form-section columns="3">
    <item name="invoice.number" type="text"  label="Rechnungsnummer:" />
    <item name="invoice.date" type="date"  label="Rechnungsdatum:" />
    <item name="invoice.duedate" type="date"  required="true"  label="Fälligkeitsdatum:" />
  </imixs-form-section>

  <imixs-form-section columns="3">
    <item name="invoice.total" type="currency"  required="true"   label="Rechnungsbetrag:" />
    <item name="invoice.currency" type="selectOneMenu" required="true" options="EUR;CHF;SEK;RUB;NOK;GBP;USD;CAD"   label="Währung:" />
    <item name="invoice.exchangerate" type="number"  required="true"   label="Exchange Rate:" />
  </imixs-form-section>
  <imixs-form-section columns="2">

    <item name="cdtr.iban" type="text"  label="IBAN:" />
    <item name="cdtr.bic" type="text"  label="BIC:" />
     </imixs-form-section>
 
  <imixs-form-section columns="2">
    <item name="cdtr.number" type="text"  required="true"   label="Kreditorennummer:" />
    <item name="invoice.period" type="text"  required="false"   label="Buchungsperiode (yyyymm):" />
   </imixs-form-section>
</imixs-form>]]></bpmn2:documentation>
      <bpmn2:dataState id="DataState_1"/>
    </bpmn2:dataObject>
    <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_13" imixs:activityid="10" name="Speichern">
      <bpmn2:extensionElements>
        <imixs:item name="keylogtimeformat" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyarchive" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtmailsubject" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyaccessmode" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyscheduledactivity" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="rtfmailbody" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyversion" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyaddwritefields" type="xs:string">
          <imixs:value><![CDATA[$creator]]></imixs:value>
          <imixs:value><![CDATA[$editor]]></imixs:value>
          <imixs:value><![CDATA[process.manager]]></imixs:value>
          <imixs:value><![CDATA[process.team]]></imixs:value>
        </imixs:item>
        <imixs:item name="numnextactivityid" type="xs:int">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyfollowup" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keypublicresult" type="xs:string">
          <imixs:value><![CDATA[1]]></imixs:value>
        </imixs:item>
        <imixs:item name="keylogdateformat" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyownershipfields" type="xs:string">
          <imixs:value><![CDATA[$editor]]></imixs:value>
          <imixs:value><![CDATA[$creator]]></imixs:value>
        </imixs:item>
        <imixs:item name="numnextid" type="xs:int">
          <imixs:value><![CDATA[5000]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtnextprocesstree" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtactivityresult" type="xs:string">
          <imixs:value><![CDATA[<item name="comment" ignore="true"/>]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtname" type="xs:string">
          <imixs:value><![CDATA[Speichern]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyownershipmode" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="rtfresultlog" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyupdateacl" type="xs:boolean">
          <imixs:value>false</imixs:value>
        </imixs:item>
        <imixs:item name="keymailreceiverfields" type="xs:string"/>
      </bpmn2:extensionElements>
      <bpmn2:documentation id="Documentation_19"><![CDATA[Zwischenspeichern]]></bpmn2:documentation>
      <bpmn2:outgoing>SequenceFlow_20</bpmn2:outgoing>
    </bpmn2:intermediateCatchEvent>
    <bpmn2:sequenceFlow id="SequenceFlow_20" sourceRef="IntermediateCatchEvent_13" targetRef="Task_2"/>
    <bpmn2:task id="Task_3" imixs:processid="5400" name="Freigegeben zur Bezahlung">
      <bpmn2:extensionElements>
        <imixs:item name="txteditorid" type="xs:string">
          <imixs:value><![CDATA[alexander/form_basic_read#alexander/sub_positionen_read]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtworkflowabstract" type="xs:string">
          <imixs:value><![CDATA[<itemvalue>txtlastcomment</itemvalue>]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtname" type="xs:string">
          <imixs:value><![CDATA[Rechnung erhalten]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtimageurl" type="xs:string">
          <imixs:value><![CDATA[typcn-download|typcn-credit-card,imixs-info,icon-sub-ne]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtworkflowsummary" type="xs:string">
          <imixs:value><![CDATA[<itemvalue>numsequencenumber</itemvalue>: <itemvalue>cdtr.name</itemvalue> <itemvalue>invoice.number</itemvalue> (<itemvalue>invoice.currency</itemvalue> <itemvalue>invoice.total</itemvalue>) <itemvalue>space.name</itemvalue>]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyupdateacl" type="xs:boolean">
          <imixs:value>true</imixs:value>
        </imixs:item>
        <imixs:item name="keyownershipfields" type="xs:string"/>
        <imixs:item name="keyaddwritefields" type="xs:string">
          <imixs:value><![CDATA[process.manager]]></imixs:value>
          <imixs:value><![CDATA[process.team]]></imixs:value>
        </imixs:item>
        <imixs:item name="txttype" type="xs:string">
          <imixs:value><![CDATA[workitem]]></imixs:value>
        </imixs:item>
        <imixs:item name="namaddreadaccess" type="xs:string">
          <imixs:value><![CDATA[{process:?:member}]]></imixs:value>
          <imixs:value><![CDATA[{space:?:member}]]></imixs:value>
        </imixs:item>
      </bpmn2:extensionElements>
      <bpmn2:documentation id="Documentation_27"><![CDATA[<textblock><itemvalue>$workflowgroup</itemvalue> - <itemvalue>$workflowstatus</itemvalue></textblock>]]></bpmn2:documentation>
      <bpmn2:incoming>SequenceFlow_4</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_55</bpmn2:outgoing>
      <bpmn2:outgoing>SequenceFlow_50</bpmn2:outgoing>
    </bpmn2:task>
    <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_15" imixs:activityid="30" name="Ablehnen">
      <bpmn2:extensionElements>
        <imixs:item name="keylogtimeformat" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyarchive" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtmailsubject" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyaccessmode" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyscheduledactivity" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="rtfmailbody" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyversion" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyaddwritefields" type="xs:string">
          <imixs:value><![CDATA[process.team]]></imixs:value>
          <imixs:value><![CDATA[process.manager]]></imixs:value>
        </imixs:item>
        <imixs:item name="numnextactivityid" type="xs:int">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyfollowup" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keypublicresult" type="xs:string">
          <imixs:value><![CDATA[1]]></imixs:value>
        </imixs:item>
        <imixs:item name="keylogdateformat" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyownershipfields" type="xs:string">
          <imixs:value><![CDATA[process.team]]></imixs:value>
        </imixs:item>
        <imixs:item name="numnextid" type="xs:int">
          <imixs:value><![CDATA[5020]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtnextprocesstree" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtactivityresult" type="xs:string">
          <imixs:value><![CDATA[<item name="action">home</item>]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtname" type="xs:string">
          <imixs:value><![CDATA[Anweisen]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyownershipmode" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="rtfresultlog" type="xs:string">
          <imixs:value><![CDATA[Vorgang geprüft und abgelehnt.]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyupdateacl" type="xs:boolean">
          <imixs:value>false</imixs:value>
        </imixs:item>
        <imixs:item name="txtbusinessrule" type="CDATA">
          <imixs:value><![CDATA[var result={};
 var refField="txtcomment"; 
result.isValid=true;

 if (  ( workitem.get(refField) == null || ''==workitem.get(refField)[0])   ) {
     result.isValid=false;
     result.errorMessage='Bitte geben Sie einen Kommentar ein.';
  }]]></imixs:value>
        </imixs:item>
      </bpmn2:extensionElements>
      <bpmn2:documentation id="Documentation_28"><![CDATA[Rechnung nicht in Ordnung, zurück an Erfasser.]]></bpmn2:documentation>
      <bpmn2:incoming>SequenceFlow_29</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_52</bpmn2:outgoing>
    </bpmn2:intermediateCatchEvent>
    <bpmn2:eventBasedGateway id="EventBasedGateway_4" gatewayDirection="Diverging">
      <bpmn2:incoming>SequenceFlow_32</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_29</bpmn2:outgoing>
      <bpmn2:outgoing>SequenceFlow_30</bpmn2:outgoing>
    </bpmn2:eventBasedGateway>
    <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_16" imixs:activityid="20" name="Freigeben">
      <bpmn2:extensionElements>
        <imixs:item name="keylogtimeformat" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyarchive" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtmailsubject" type="xs:string">
          <imixs:value><![CDATA[Eingangsrechnung erhalten: <itemvalue>_subject</itemvalue>]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyaccessmode" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyscheduledactivity" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="rtfmailbody" type="xs:string">
          <imixs:value><![CDATA[Wir haben folgende Rechnung erhalten: bitte freigeben.

Betrag: <itemvalue>_amount</itemvalue> (Brutto € <itemvalue>_amount_brutto</itemvalue>)
<itemvalue>_description</itemvalue>]]></imixs:value>
        </imixs:item>
        <imixs:item name="keymailreceiverfields" type="xs:string"/>
        <imixs:item name="keyversion" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyaddwritefields" type="xs:string">
          <imixs:value><![CDATA[process.manager]]></imixs:value>
        </imixs:item>
        <imixs:item name="numnextactivityid" type="xs:int">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyfollowup" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keypublicresult" type="xs:string">
          <imixs:value><![CDATA[1]]></imixs:value>
        </imixs:item>
        <imixs:item name="keylogdateformat" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyownershipfields" type="xs:string">
          <imixs:value><![CDATA[process.manager]]></imixs:value>
        </imixs:item>
        <imixs:item name="numnextid" type="xs:int">
          <imixs:value><![CDATA[5005]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtnextprocesstree" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtactivityresult" type="xs:string">
          <imixs:value><![CDATA[<item name="action">home</item>]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtname" type="xs:string">
          <imixs:value><![CDATA[Freigabe einholen]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyownershipmode" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="rtfresultlog" type="xs:string">
          <imixs:value><![CDATA[Vorgang geprüft und zur Zahlung freigegeben.]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyupdateacl" type="xs:boolean">
          <imixs:value>false</imixs:value>
        </imixs:item>
      </bpmn2:extensionElements>
      <bpmn2:documentation id="Documentation_29"><![CDATA[Rechnung geprüft, weiterleiten an Buchhaltung.]]></bpmn2:documentation>
      <bpmn2:incoming>SequenceFlow_30</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_7</bpmn2:outgoing>
    </bpmn2:intermediateCatchEvent>
    <bpmn2:sequenceFlow id="SequenceFlow_29" sourceRef="EventBasedGateway_4" targetRef="IntermediateCatchEvent_15"/>
    <bpmn2:sequenceFlow id="SequenceFlow_30" sourceRef="EventBasedGateway_4" targetRef="IntermediateCatchEvent_16"/>
    <bpmn2:sequenceFlow id="SequenceFlow_32" sourceRef="Task_5000" targetRef="EventBasedGateway_4"/>
    <bpmn2:task id="Task_5" imixs:processid="5900" name="Erledigt">
      <bpmn2:extensionElements>
        <imixs:item name="txteditorid" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtworkflowabstract" type="xs:string">
          <imixs:value><![CDATA[<itemvalue>txtlastcomment</itemvalue>]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtname" type="xs:string">
          <imixs:value><![CDATA[Rechnung erhalten]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtimageurl" type="xs:string">
          <imixs:value><![CDATA[typcn-download|typcn-tick,imixs-success,icon-sub-ne]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtworkflowsummary" type="xs:string">
          <imixs:value><![CDATA[<itemvalue>numsequencenumber</itemvalue>: <itemvalue>cdtr.name</itemvalue> <itemvalue>invoice.number</itemvalue> (<itemvalue>invoice.currency</itemvalue> <itemvalue>invoice.total</itemvalue>) <itemvalue>space.name</itemvalue>]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyupdateacl" type="xs:boolean">
          <imixs:value>true</imixs:value>
        </imixs:item>
        <imixs:item name="keyownershipfields" type="xs:string"/>
        <imixs:item name="keyaddwritefields" type="xs:string">
          <imixs:value><![CDATA[process.manager]]></imixs:value>
          <imixs:value><![CDATA[process.team]]></imixs:value>
        </imixs:item>
        <imixs:item name="txttype" type="xs:string">
          <imixs:value><![CDATA[workitemarchive]]></imixs:value>
        </imixs:item>
        <imixs:item name="namaddreadaccess" type="xs:string">
          <imixs:value><![CDATA[{process:?:member}]]></imixs:value>
          <imixs:value><![CDATA[{space:?:member}]]></imixs:value>
        </imixs:item>
      </bpmn2:extensionElements>
      <bpmn2:documentation id="Documentation_31"><![CDATA[<textblock><itemvalue>$workflowgroup</itemvalue> - <itemvalue>$workflowstatus</itemvalue></textblock>]]></bpmn2:documentation>
      <bpmn2:incoming>SequenceFlow_25</bpmn2:incoming>
      <bpmn2:incoming>SequenceFlow_44</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_47</bpmn2:outgoing>
    </bpmn2:task>
    <bpmn2:endEvent id="EndEvent_2" name="Ende">
      <bpmn2:incoming>SequenceFlow_47</bpmn2:incoming>
    </bpmn2:endEvent>
    <bpmn2:sequenceFlow id="SequenceFlow_47" sourceRef="Task_5" targetRef="EndEvent_2"/>
    <bpmn2:sequenceFlow id="SequenceFlow_51" sourceRef="IntermediateCatchEvent_5005-20" targetRef="ExclusiveGateway_6"/>
    <bpmn2:sequenceFlow id="SequenceFlow_52" sourceRef="IntermediateCatchEvent_15" targetRef="IntermediateThrowEvent_1"/>
    <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_17" imixs:activityid="20" name="Sofort Abschließen">
      <bpmn2:extensionElements>
        <imixs:item name="keylogtimeformat" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyarchive" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtmailsubject" type="xs:string">
          <imixs:value><![CDATA[Eingangsrechnung erhalten: <itemvalue>_subject</itemvalue>]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyaccessmode" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyscheduledactivity" type="xs:string">
          <imixs:value><![CDATA[1]]></imixs:value>
        </imixs:item>
        <imixs:item name="rtfmailbody" type="xs:string">
          <imixs:value><![CDATA[Wir haben folgende Rechnung erhalten: bitte freigeben.

Betrag: <itemvalue>_amount</itemvalue> (Brutto € <itemvalue>_amount_brutto</itemvalue>)
<itemvalue>_description</itemvalue>]]></imixs:value>
        </imixs:item>
        <imixs:item name="keymailreceiverfields" type="xs:string"/>
        <imixs:item name="keyversion" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyaddwritefields" type="xs:string">
          <imixs:value><![CDATA[process.manager]]></imixs:value>
        </imixs:item>
        <imixs:item name="numnextactivityid" type="xs:int">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyfollowup" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keypublicresult" type="xs:string">
          <imixs:value><![CDATA[1]]></imixs:value>
        </imixs:item>
        <imixs:item name="keylogdateformat" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyownershipfields" type="xs:string">
          <imixs:value><![CDATA[process.manager]]></imixs:value>
        </imixs:item>
        <imixs:item name="numnextid" type="xs:int">
          <imixs:value><![CDATA[5005]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtnextprocesstree" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtactivityresult" type="xs:string">
          <imixs:value><![CDATA[<item name="action">home</item>]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtname" type="xs:string">
          <imixs:value><![CDATA[Freigabe einholen]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyownershipmode" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="rtfresultlog" type="xs:string">
          <imixs:value><![CDATA[Sofort abgeschlossen.]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyupdateacl" type="xs:boolean">
          <imixs:value>false</imixs:value>
        </imixs:item>
      </bpmn2:extensionElements>
      <bpmn2:incoming>SequenceFlow_55</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_12</bpmn2:outgoing>
    </bpmn2:intermediateCatchEvent>
    <bpmn2:sequenceFlow id="SequenceFlow_55" sourceRef="Task_3" targetRef="IntermediateCatchEvent_17"/>
    <bpmn2:sequenceFlow id="SequenceFlow_7" sourceRef="IntermediateCatchEvent_16" targetRef="ExclusiveGateway_5"/>
    <bpmn2:exclusiveGateway id="ExclusiveGateway_4" name="Fachbereich?" gatewayDirection="Diverging">
      <bpmn2:incoming>SequenceFlow_24</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_13</bpmn2:outgoing>
      <bpmn2:outgoing>SequenceFlow_16</bpmn2:outgoing>
    </bpmn2:exclusiveGateway>
    <bpmn2:sequenceFlow id="SequenceFlow_13" name="Ja" sourceRef="ExclusiveGateway_4" targetRef="Task_1">
      <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression" id="FormalExpression_2">workitem['space.team'] &amp;&amp; workitem['space.team'][0]!=&quot;&quot;</bpmn2:conditionExpression>
    </bpmn2:sequenceFlow>
    <bpmn2:sequenceFlow id="SequenceFlow_16" name="Nein" sourceRef="ExclusiveGateway_4" targetRef="ExclusiveGateway_6">
      <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression" id="FormalExpression_4">!workitem['space.team'] || workitem['space.team'][0]==&quot;&quot;</bpmn2:conditionExpression>
    </bpmn2:sequenceFlow>
    <bpmn2:exclusiveGateway id="ExclusiveGateway_3" name="Process Manager" gatewayDirection="Diverging">
      <bpmn2:incoming>SequenceFlow_18</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_1</bpmn2:outgoing>
      <bpmn2:outgoing>SequenceFlow_5</bpmn2:outgoing>
    </bpmn2:exclusiveGateway>
    <bpmn2:sequenceFlow id="SequenceFlow_1" name="Ja" sourceRef="ExclusiveGateway_3" targetRef="Task_5000">
      <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression" id="FormalExpression_6">workitem['payment.type'] &amp;&amp; workitem['payment.type'][0]!=&quot;direct_debit&quot;</bpmn2:conditionExpression>
    </bpmn2:sequenceFlow>
    <bpmn2:exclusiveGateway id="ExclusiveGateway_5" gatewayDirection="Converging">
      <bpmn2:incoming>SequenceFlow_7</bpmn2:incoming>
      <bpmn2:incoming>SequenceFlow_5</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_4</bpmn2:outgoing>
    </bpmn2:exclusiveGateway>
    <bpmn2:sequenceFlow id="SequenceFlow_5" name="Nein" sourceRef="ExclusiveGateway_3" targetRef="ExclusiveGateway_5">
      <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression" id="FormalExpression_5">workitem['payment.type'] &amp;&amp; workitem['payment.type'][0]==&quot;direct_debit&quot;</bpmn2:conditionExpression>
    </bpmn2:sequenceFlow>
    <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_2" imixs:activityid="100" name="[forward]">
      <bpmn2:extensionElements>
        <imixs:item name="keyarchive" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtmailsubject" type="xs:string">
          <imixs:value><![CDATA[Empfangsbestätigung Rechnungseingang]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyaccessmode" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyscheduledactivity" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="rtfmailbody" type="xs:string">
          <imixs:value><![CDATA[Hallo,

die von Ihnen an uns gesendete Eingangsrechung haben wir erhalten.
Die Bearbeitung erfolgt in Kürze. 

Bei Fragen wenden Sie sich bitte an info@imixs.com
]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyversion" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyaddwritefields" type="xs:string">
          <imixs:value><![CDATA[process.manager]]></imixs:value>
          <imixs:value><![CDATA[process.team]]></imixs:value>
        </imixs:item>
        <imixs:item name="numnextactivityid" type="xs:int">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyfollowup" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keypublicresult" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyownershipfields" type="xs:string">
          <imixs:value><![CDATA[process.team]]></imixs:value>
        </imixs:item>
        <imixs:item name="numnextid" type="xs:int">
          <imixs:value><![CDATA[5005]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtnextprocesstree" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtactivityresult" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtname" type="xs:string">
          <imixs:value><![CDATA[Akzeptieren]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyownershipmode" type="xs:string">
          <imixs:value><![CDATA[1]]></imixs:value>
        </imixs:item>
        <imixs:item name="rtfresultlog" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyupdateacl" type="xs:boolean">
          <imixs:value>false</imixs:value>
        </imixs:item>
        <imixs:item name="txtbusinessrule" type="CDATA">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
      </bpmn2:extensionElements>
      <bpmn2:incoming>SequenceFlow_6</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_18</bpmn2:outgoing>
    </bpmn2:intermediateCatchEvent>
    <bpmn2:exclusiveGateway id="ExclusiveGateway_6" gatewayDirection="Converging">
      <bpmn2:incoming>SequenceFlow_51</bpmn2:incoming>
      <bpmn2:incoming>SequenceFlow_16</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_6</bpmn2:outgoing>
    </bpmn2:exclusiveGateway>
    <bpmn2:sequenceFlow id="SequenceFlow_6" sourceRef="ExclusiveGateway_6" targetRef="IntermediateCatchEvent_2"/>
    <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_3" name="ABLEHNEN">
      <bpmn2:outgoing>SequenceFlow_15</bpmn2:outgoing>
      <bpmn2:linkEventDefinition id="LinkEventDefinition_1" name="Link Event Definition 6"/>
    </bpmn2:intermediateCatchEvent>
    <bpmn2:sequenceFlow id="SequenceFlow_15" sourceRef="IntermediateCatchEvent_3" targetRef="ExclusiveGateway_1"/>
    <bpmn2:intermediateThrowEvent id="IntermediateThrowEvent_1" name="ABLEHNEN">
      <bpmn2:incoming>SequenceFlow_52</bpmn2:incoming>
      <bpmn2:linkEventDefinition id="LinkEventDefinition_2" name="Link Event Definition 5"/>
    </bpmn2:intermediateThrowEvent>
    <bpmn2:sequenceFlow id="SequenceFlow_18" sourceRef="IntermediateCatchEvent_2" targetRef="ExclusiveGateway_3"/>
    <bpmn2:sequenceFlow id="SequenceFlow_24" sourceRef="IntermediateCatchEvent_5000-20" targetRef="ExclusiveGateway_4"/>
    <bpmn2:sequenceFlow id="SequenceFlow_12" sourceRef="IntermediateCatchEvent_17" targetRef="ExclusiveGateway_2"/>
    <bpmn2:exclusiveGateway id="ExclusiveGateway_2" gatewayDirection="Mixed">
      <bpmn2:incoming>SequenceFlow_12</bpmn2:incoming>
      <bpmn2:incoming>SequenceFlow_53</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_19</bpmn2:outgoing>
      <bpmn2:outgoing>SequenceFlow_25</bpmn2:outgoing>
    </bpmn2:exclusiveGateway>
    <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_4" imixs:activityid="40" name="SEPA">
      <bpmn2:extensionElements>
        <imixs:item name="txtactivityresult" type="CDATA">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="keypublicresult" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="rtfresultlog" type="CDATA">
          <imixs:value><![CDATA[SEPA Export gestartet]]></imixs:value>
        </imixs:item>
      </bpmn2:extensionElements>
      <bpmn2:incoming>SequenceFlow_19</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_23</bpmn2:outgoing>
      <bpmn2:signalEventDefinition id="SignalEventDefinition_1"/>
    </bpmn2:intermediateCatchEvent>
    <bpmn2:sequenceFlow id="SequenceFlow_19" name="payment.type = sepa_transfer" sourceRef="ExclusiveGateway_2" targetRef="IntermediateCatchEvent_4">
      <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression" id="FormalExpression_1">var a=workitem.get(&quot;invoice.total&quot;)[0];

workitem['payment.type'] &amp;&amp; workitem['payment.type'][0]!=&quot;direct_debit&quot; &amp;&amp; a>0</bpmn2:conditionExpression>
    </bpmn2:sequenceFlow>
    <bpmn2:sequenceFlow id="SequenceFlow_23" sourceRef="IntermediateCatchEvent_4" targetRef="Task_6"/>
    <bpmn2:sequenceFlow id="SequenceFlow_25" sourceRef="ExclusiveGateway_2" targetRef="Task_5">
      <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression" id="FormalExpression_3">var a=workitem.get(&quot;invoice.total&quot;)[0];

!(workitem['payment.type'] &amp;&amp; workitem['payment.type'][0]!=&quot;direct_debit&quot; &amp;&amp; a>0)
</bpmn2:conditionExpression>
    </bpmn2:sequenceFlow>
    <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_6" imixs:activityid="990" name="[OCR/ML Import]">
      <bpmn2:extensionElements>
        <imixs:item name="keylogtimeformat" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyarchive" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtmailsubject" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyaccessmode" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyscheduledactivity" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="rtfmailbody" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyversion" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyaddwritefields" type="xs:string">
          <imixs:value><![CDATA[$creator]]></imixs:value>
          <imixs:value><![CDATA[$editor]]></imixs:value>
          <imixs:value><![CDATA[process.manager]]></imixs:value>
          <imixs:value><![CDATA[process.team]]></imixs:value>
        </imixs:item>
        <imixs:item name="numnextactivityid" type="xs:int">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyfollowup" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keypublicresult" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keylogdateformat" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyownershipfields" type="xs:string">
          <imixs:value><![CDATA[$editor]]></imixs:value>
          <imixs:value><![CDATA[$creator]]></imixs:value>
        </imixs:item>
        <imixs:item name="numnextid" type="xs:int">
          <imixs:value><![CDATA[5000]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtnextprocesstree" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtactivityresult" type="xs:string">
          <imixs:value><![CDATA[<item name="comment" ignore="true"/>
<item name="process">Rechnungscontrolling</item>]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtname" type="xs:string">
          <imixs:value><![CDATA[Speichern]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyownershipmode" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="rtfresultlog" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyupdateacl" type="xs:boolean">
          <imixs:value>false</imixs:value>
        </imixs:item>
      </bpmn2:extensionElements>
      <bpmn2:documentation id="Documentation_5"><![CDATA[Inport]]></bpmn2:documentation>
      <bpmn2:outgoing>SequenceFlow_21</bpmn2:outgoing>
      <bpmn2:outputSet id="OutputSet_1" name="Output Set 1"/>
      <bpmn2:linkEventDefinition id="LinkEventDefinition_7" name="Link Event Definition 7"/>
    </bpmn2:intermediateCatchEvent>
    <bpmn2:sequenceFlow id="SequenceFlow_21" sourceRef="IntermediateCatchEvent_6" targetRef="ExclusiveGateway_1"/>
    <bpmn2:task id="Task_1" imixs:processid="5100" name="Verteilung zur Prüfung">
      <bpmn2:extensionElements>
        <imixs:item name="txteditorid" type="xs:string">
          <imixs:value><![CDATA[alexander/form_basic_read#alexander/sub_responsible]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtworkflowabstract" type="xs:string">
          <imixs:value><![CDATA[<itemvalue>txtlastcomment</itemvalue>]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtname" type="xs:string">
          <imixs:value><![CDATA[in Prüfung]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtimageurl" type="xs:string">
          <imixs:value><![CDATA[typcn-download|typcn-info,imixs-info,icon-sub-ne]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtworkflowsummary" type="xs:string">
          <imixs:value><![CDATA[<itemvalue>numsequencenumber</itemvalue>: <itemvalue>cdtr.name</itemvalue> <itemvalue>invoice.number</itemvalue> (<itemvalue>invoice.currency</itemvalue> <itemvalue>invoice.total</itemvalue>) <itemvalue>space.name</itemvalue>]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyupdateacl" type="xs:boolean">
          <imixs:value>true</imixs:value>
        </imixs:item>
        <imixs:item name="keyownershipfields" type="xs:string">
          <imixs:value><![CDATA[space.manager]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyaddwritefields" type="xs:string">
          <imixs:value><![CDATA[process.team]]></imixs:value>
          <imixs:value><![CDATA[process.manager]]></imixs:value>
          <imixs:value><![CDATA[space.manager]]></imixs:value>
        </imixs:item>
        <imixs:item name="namaddreadaccess" type="xs:string">
          <imixs:value><![CDATA[{process:?:member}]]></imixs:value>
          <imixs:value><![CDATA[{space:?:member}]]></imixs:value>
        </imixs:item>
      </bpmn2:extensionElements>
      <bpmn2:documentation id="Documentation_9"><![CDATA[<textblock><itemvalue>$workflowgroup</itemvalue> - <itemvalue>$workflowstatus</itemvalue></textblock>]]></bpmn2:documentation>
      <bpmn2:incoming>SequenceFlow_13</bpmn2:incoming>
      <bpmn2:incoming>SequenceFlow_26</bpmn2:incoming>
      <bpmn2:incoming>SequenceFlow_41</bpmn2:incoming>
      <bpmn2:incoming>SequenceFlow_11</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_28</bpmn2:outgoing>
      <bpmn2:outgoing>SequenceFlow_36</bpmn2:outgoing>
    </bpmn2:task>
    <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_9" imixs:activityid="10" name="Speichern">
      <bpmn2:extensionElements>
        <imixs:item name="keylogtimeformat" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyarchive" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtmailsubject" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyaccessmode" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyscheduledactivity" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="rtfmailbody" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyversion" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyaddwritefields" type="xs:string">
          <imixs:value><![CDATA[$creator]]></imixs:value>
          <imixs:value><![CDATA[$editor]]></imixs:value>
          <imixs:value><![CDATA[process.manager]]></imixs:value>
        </imixs:item>
        <imixs:item name="numnextactivityid" type="xs:int">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyfollowup" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keypublicresult" type="xs:string">
          <imixs:value><![CDATA[1]]></imixs:value>
        </imixs:item>
        <imixs:item name="keylogdateformat" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyownershipfields" type="xs:string">
          <imixs:value><![CDATA[$editor]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtnextprocesstree" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="numnextid" type="xs:int">
          <imixs:value><![CDATA[5005]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtactivityresult" type="xs:string">
          <imixs:value><![CDATA[<item name="comment" ignore="true"/>]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtname" type="xs:string">
          <imixs:value><![CDATA[Speichern]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyownershipmode" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="rtfresultlog" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyupdateacl" type="xs:boolean">
          <imixs:value>false</imixs:value>
        </imixs:item>
      </bpmn2:extensionElements>
      <bpmn2:documentation id="Documentation_22"><![CDATA[Zwischenspeichern]]></bpmn2:documentation>
      <bpmn2:outgoing>SequenceFlow_26</bpmn2:outgoing>
    </bpmn2:intermediateCatchEvent>
    <bpmn2:sequenceFlow id="SequenceFlow_26" sourceRef="IntermediateCatchEvent_9" targetRef="Task_1"/>
    <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_10" imixs:activityid="20" name="Verteilen">
      <bpmn2:extensionElements>
        <imixs:item name="keylogtimeformat" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyarchive" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtmailsubject" type="xs:string">
          <imixs:value><![CDATA[Eingangsrechnung erhalten: <itemvalue>_subject</itemvalue>]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyaccessmode" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyscheduledactivity" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="rtfmailbody" type="xs:string">
          <imixs:value><![CDATA[Wir haben folgende Rechnung erhalten: bitte freigeben.

Betrag: <itemvalue>_amount</itemvalue> (Brutto € <itemvalue>_amount_brutto</itemvalue>)
<itemvalue>_description</itemvalue>]]></imixs:value>
        </imixs:item>
        <imixs:item name="keymailreceiverfields" type="xs:string"/>
        <imixs:item name="keyversion" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyaddwritefields" type="xs:string">
          <imixs:value><![CDATA[process.manager]]></imixs:value>
        </imixs:item>
        <imixs:item name="numnextactivityid" type="xs:int">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyfollowup" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keypublicresult" type="xs:string">
          <imixs:value><![CDATA[1]]></imixs:value>
        </imixs:item>
        <imixs:item name="keylogdateformat" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyownershipfields" type="xs:string">
          <imixs:value><![CDATA[process.manager]]></imixs:value>
        </imixs:item>
        <imixs:item name="numnextid" type="xs:int">
          <imixs:value><![CDATA[5005]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtnextprocesstree" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtactivityresult" type="xs:string">
          <imixs:value><![CDATA[<item name="action">home</item>
<item name="space.lastname"><itemvalue>space.name</itemvalue></item>]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtname" type="xs:string">
          <imixs:value><![CDATA[Freigabe einholen]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyownershipmode" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="rtfresultlog" type="xs:string">
          <imixs:value><![CDATA[Sachlich geprüft und freigegeben]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyupdateacl" type="xs:boolean">
          <imixs:value>false</imixs:value>
        </imixs:item>
        <imixs:item name="txtbusinessrule" type="CDATA">
          <imixs:value><![CDATA[var result={};
 var refField="team"; 
result.isValid=true;

 if (  ( workitem.get(refField) == null || '-'==workitem.get(refField)[0])   ) {
     result.isValid=false;
     result.errorMessage='Bitte wählen Sie eine(n) Verantwortliche(n) aus.';
  }]]></imixs:value>
        </imixs:item>
      </bpmn2:extensionElements>
      <bpmn2:documentation id="Documentation_40"><![CDATA[Rechnung weiterleiten an Sachbearbeiter.]]></bpmn2:documentation>
      <bpmn2:incoming>SequenceFlow_28</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_34</bpmn2:outgoing>
    </bpmn2:intermediateCatchEvent>
    <bpmn2:sequenceFlow id="SequenceFlow_28" sourceRef="Task_1" targetRef="IntermediateCatchEvent_10"/>
    <bpmn2:sequenceFlow id="SequenceFlow_34" sourceRef="IntermediateCatchEvent_10" targetRef="Task_5005"/>
    <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_11" imixs:activityid="90" name="Ablehnen">
      <bpmn2:extensionElements>
        <imixs:item name="keylogtimeformat" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyarchive" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtmailsubject" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyaccessmode" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyscheduledactivity" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="rtfmailbody" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyversion" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyaddwritefields" type="xs:string">
          <imixs:value><![CDATA[process.team]]></imixs:value>
          <imixs:value><![CDATA[process.manager]]></imixs:value>
        </imixs:item>
        <imixs:item name="numnextactivityid" type="xs:int">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyfollowup" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keypublicresult" type="xs:string">
          <imixs:value><![CDATA[1]]></imixs:value>
        </imixs:item>
        <imixs:item name="keylogdateformat" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyownershipfields" type="xs:string">
          <imixs:value><![CDATA[process.team]]></imixs:value>
        </imixs:item>
        <imixs:item name="numnextid" type="xs:int">
          <imixs:value><![CDATA[5020]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtnextprocesstree" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtactivityresult" type="xs:string">
          <imixs:value><![CDATA[<item name="action">home</item>
<item name="space.lastname"><itemvalue>space.name</itemvalue></item>]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtname" type="xs:string">
          <imixs:value><![CDATA[Anweisen]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyownershipmode" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="rtfresultlog" type="xs:string">
          <imixs:value><![CDATA[Sachlich geprüft und abgelehnt.]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyupdateacl" type="xs:boolean">
          <imixs:value>false</imixs:value>
        </imixs:item>
        <imixs:item name="txtbusinessrule" type="CDATA">
          <imixs:value><![CDATA[var result={};
 var refField="txtcomment"; 
result.isValid=true;

 if (  ( workitem.get(refField) == null || ''==workitem.get(refField)[0])   ) {
     result.isValid=false;
     result.errorMessage='Bitte geben Sie einen Kommentar ein.';
  }]]></imixs:value>
        </imixs:item>
      </bpmn2:extensionElements>
      <bpmn2:documentation id="Documentation_49"><![CDATA[Rechnung nicht in Ordnung, zurück an Erfasser.]]></bpmn2:documentation>
      <bpmn2:incoming>SequenceFlow_36</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_35</bpmn2:outgoing>
    </bpmn2:intermediateCatchEvent>
    <bpmn2:intermediateThrowEvent id="IntermediateThrowEvent_5" name="ABLEHNEN">
      <bpmn2:incoming>SequenceFlow_35</bpmn2:incoming>
      <bpmn2:linkEventDefinition id="LinkEventDefinition_8" name="Link Event Definition 5"/>
    </bpmn2:intermediateThrowEvent>
    <bpmn2:sequenceFlow id="SequenceFlow_35" sourceRef="IntermediateCatchEvent_11" targetRef="IntermediateThrowEvent_5"/>
    <bpmn2:sequenceFlow id="SequenceFlow_36" sourceRef="Task_1" targetRef="IntermediateCatchEvent_11"/>
    <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_12" name="BEENDEN">
      <bpmn2:outgoing>SequenceFlow_39</bpmn2:outgoing>
      <bpmn2:linkEventDefinition id="LinkEventDefinition_9" name="Link Event Definition 6"/>
    </bpmn2:intermediateCatchEvent>
    <bpmn2:task id="Task_4" imixs:processid="5800" name="Reklamiert">
      <bpmn2:extensionElements>
        <imixs:item name="txteditorid" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtworkflowabstract" type="xs:string">
          <imixs:value><![CDATA[<itemvalue>txtlastcomment</itemvalue>]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtname" type="xs:string">
          <imixs:value><![CDATA[Rechnung erhalten]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtimageurl" type="xs:string">
          <imixs:value><![CDATA[typcn-download|typcn-tick,imixs-success,icon-sub-ne]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtworkflowsummary" type="xs:string">
          <imixs:value><![CDATA[<itemvalue>numsequencenumber</itemvalue>: <itemvalue>cdtr.name</itemvalue> <itemvalue>invoice.number</itemvalue> (<itemvalue>invoice.currency</itemvalue> <itemvalue>invoice.total</itemvalue>) <itemvalue>space.name</itemvalue>]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyupdateacl" type="xs:boolean">
          <imixs:value>true</imixs:value>
        </imixs:item>
        <imixs:item name="keyownershipfields" type="xs:string"/>
        <imixs:item name="keyaddwritefields" type="xs:string">
          <imixs:value><![CDATA[process.manager]]></imixs:value>
          <imixs:value><![CDATA[process.team]]></imixs:value>
        </imixs:item>
        <imixs:item name="txttype" type="xs:string">
          <imixs:value><![CDATA[workitemarchive]]></imixs:value>
        </imixs:item>
        <imixs:item name="namaddreadaccess" type="xs:string">
          <imixs:value><![CDATA[{process:?:member}]]></imixs:value>
          <imixs:value><![CDATA[{space:?:member}]]></imixs:value>
        </imixs:item>
      </bpmn2:extensionElements>
      <bpmn2:documentation id="Documentation_54"><![CDATA[<textblock><itemvalue>$workflowgroup</itemvalue> - <itemvalue>$workflowstatus</itemvalue></textblock>]]></bpmn2:documentation>
      <bpmn2:incoming>SequenceFlow_39</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_40</bpmn2:outgoing>
    </bpmn2:task>
    <bpmn2:endEvent id="EndEvent_1" name="Ende">
      <bpmn2:incoming>SequenceFlow_40</bpmn2:incoming>
    </bpmn2:endEvent>
    <bpmn2:sequenceFlow id="SequenceFlow_39" sourceRef="IntermediateCatchEvent_12" targetRef="Task_4"/>
    <bpmn2:sequenceFlow id="SequenceFlow_40" sourceRef="Task_4" targetRef="EndEvent_1"/>
    <bpmn2:sequenceFlow id="SequenceFlow_41" sourceRef="IntermediateCatchEvent_5005-30" targetRef="Task_1"/>
    <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_1" imixs:activityid="50" name="Umleiten">
      <bpmn2:extensionElements>
        <imixs:item name="keylogtimeformat" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyarchive" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtmailsubject" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyaccessmode" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyscheduledactivity" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="rtfmailbody" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyversion" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyaddwritefields" type="xs:string">
          <imixs:value><![CDATA[$creator]]></imixs:value>
          <imixs:value><![CDATA[$editor]]></imixs:value>
          <imixs:value><![CDATA[process.manager]]></imixs:value>
        </imixs:item>
        <imixs:item name="numnextactivityid" type="xs:int">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyfollowup" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keypublicresult" type="xs:string">
          <imixs:value><![CDATA[1]]></imixs:value>
        </imixs:item>
        <imixs:item name="keylogdateformat" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyownershipfields" type="xs:string">
          <imixs:value><![CDATA[$editor]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtnextprocesstree" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="numnextid" type="xs:int">
          <imixs:value><![CDATA[5005]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtactivityresult" type="xs:string">
          <imixs:value><![CDATA[<item name="action">home</item>]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtname" type="xs:string">
          <imixs:value><![CDATA[Speichern]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyownershipmode" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="rtfresultlog" type="xs:string">
          <imixs:value><![CDATA[Rechnung weitergeleitet ⇨ <itemvalue>space.name</itemvalue>]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyupdateacl" type="xs:boolean">
          <imixs:value>false</imixs:value>
        </imixs:item>
      </bpmn2:extensionElements>
      <bpmn2:documentation id="Documentation_12"><![CDATA[Neuer Fachbereich]]></bpmn2:documentation>
      <bpmn2:outgoing>SequenceFlow_11</bpmn2:outgoing>
    </bpmn2:intermediateCatchEvent>
    <bpmn2:sequenceFlow id="SequenceFlow_11" sourceRef="IntermediateCatchEvent_1" targetRef="Task_1"/>
    <bpmn2:task id="Task_6" imixs:processid="5500" name="SEPA Lauf">
      <bpmn2:extensionElements>
        <imixs:item name="txteditorid" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtworkflowabstract" type="xs:string">
          <imixs:value><![CDATA[<itemvalue>txtlastcomment</itemvalue>]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtname" type="xs:string">
          <imixs:value><![CDATA[Rechnung erhalten]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtimageurl" type="xs:string">
          <imixs:value><![CDATA[typcn-download|typcn-tick,imixs-success,icon-sub-ne]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtworkflowsummary" type="xs:string">
          <imixs:value><![CDATA[<itemvalue>numsequencenumber</itemvalue>: <itemvalue>cdtr.name</itemvalue> <itemvalue>invoice.number</itemvalue> (<itemvalue>invoice.currency</itemvalue> <itemvalue>invoice.total</itemvalue>) <itemvalue>space.name</itemvalue>]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyupdateacl" type="xs:boolean">
          <imixs:value>true</imixs:value>
        </imixs:item>
        <imixs:item name="keyownershipfields" type="xs:string"/>
        <imixs:item name="keyaddwritefields" type="xs:string">
          <imixs:value><![CDATA[process.manager]]></imixs:value>
          <imixs:value><![CDATA[process.team]]></imixs:value>
        </imixs:item>
        <imixs:item name="txttype" type="xs:string">
          <imixs:value><![CDATA[workitem]]></imixs:value>
        </imixs:item>
        <imixs:item name="namaddreadaccess" type="xs:string">
          <imixs:value><![CDATA[{process:?:member}]]></imixs:value>
          <imixs:value><![CDATA[{space:?:member}]]></imixs:value>
        </imixs:item>
      </bpmn2:extensionElements>
      <bpmn2:documentation id="Documentation_7"><![CDATA[<textblock><itemvalue>$workflowgroup</itemvalue> - <itemvalue>$workflowstatus</itemvalue></textblock>]]></bpmn2:documentation>
      <bpmn2:incoming>SequenceFlow_23</bpmn2:incoming>
      <bpmn2:incoming>SequenceFlow_45</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_14</bpmn2:outgoing>
    </bpmn2:task>
    <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_14" imixs:activityid="300" name="[Close SEPA]">
      <bpmn2:extensionElements>
        <imixs:item name="keylogtimeformat" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyarchive" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyaccessmode" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyscheduledactivity" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyversion" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyaddwritefields" type="xs:string"/>
        <imixs:item name="numnextactivityid" type="xs:int">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyfollowup" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keypublicresult" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keylogdateformat" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyownershipfields" type="xs:string"/>
        <imixs:item name="numnextid" type="xs:int">
          <imixs:value><![CDATA[7000]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtnextprocesstree" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtactivityresult" type="xs:string">
          <imixs:value><![CDATA[<item name="sepa.status">1</item>]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtname" type="xs:string">
          <imixs:value><![CDATA[Speichern]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyownershipmode" type="xs:string">
          <imixs:value><![CDATA[1]]></imixs:value>
        </imixs:item>
        <imixs:item name="numversionactivityid" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="rtfresultlog" type="xs:string">
          <imixs:value><![CDATA[SEPA Export completed.]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyupdateacl" type="xs:boolean">
          <imixs:value>false</imixs:value>
        </imixs:item>
      </bpmn2:extensionElements>
      <bpmn2:incoming>SequenceFlow_14</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_42</bpmn2:outgoing>
      <bpmn2:signalEventDefinition id="SignalEventDefinition_2"/>
    </bpmn2:intermediateCatchEvent>
    <bpmn2:sequenceFlow id="SequenceFlow_14" sourceRef="Task_6" targetRef="IntermediateCatchEvent_14"/>
    <bpmn2:sequenceFlow id="SequenceFlow_42" sourceRef="IntermediateCatchEvent_14" targetRef="Task_7"/>
    <bpmn2:task id="Task_7" imixs:processid="5600" name="Bezahlung">
      <bpmn2:extensionElements>
        <imixs:item name="txteditorid" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtworkflowabstract" type="xs:string">
          <imixs:value><![CDATA[<itemvalue>txtlastcomment</itemvalue>]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtname" type="xs:string">
          <imixs:value><![CDATA[Rechnung erhalten]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtimageurl" type="xs:string">
          <imixs:value><![CDATA[typcn-download|typcn-tick,imixs-success,icon-sub-ne]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtworkflowsummary" type="xs:string">
          <imixs:value><![CDATA[<itemvalue>numsequencenumber</itemvalue>: <itemvalue>cdtr.name</itemvalue> <itemvalue>invoice.number</itemvalue> (<itemvalue>invoice.currency</itemvalue> <itemvalue>invoice.total</itemvalue>) <itemvalue>space.name</itemvalue>]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyupdateacl" type="xs:boolean">
          <imixs:value>true</imixs:value>
        </imixs:item>
        <imixs:item name="keyownershipfields" type="xs:string">
          <imixs:value><![CDATA[process.team]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyaddwritefields" type="xs:string">
          <imixs:value><![CDATA[process.manager]]></imixs:value>
          <imixs:value><![CDATA[process.team]]></imixs:value>
        </imixs:item>
        <imixs:item name="txttype" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="namaddreadaccess" type="xs:string">
          <imixs:value><![CDATA[{process:?:member}]]></imixs:value>
          <imixs:value><![CDATA[{space:?:member}]]></imixs:value>
        </imixs:item>
      </bpmn2:extensionElements>
      <bpmn2:documentation id="Documentation_35"><![CDATA[<textblock><itemvalue>$workflowgroup</itemvalue> - <itemvalue>$workflowstatus</itemvalue></textblock>]]></bpmn2:documentation>
      <bpmn2:incoming>SequenceFlow_42</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_43</bpmn2:outgoing>
      <bpmn2:outgoing>SequenceFlow_27</bpmn2:outgoing>
    </bpmn2:task>
    <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_18" imixs:activityid="20" name="Bezahlt">
      <bpmn2:extensionElements>
        <imixs:item name="keylogtimeformat" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyarchive" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtmailsubject" type="xs:string">
          <imixs:value><![CDATA[Eingangsrechnung erhalten: <itemvalue>_subject</itemvalue>]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyaccessmode" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyscheduledactivity" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="rtfmailbody" type="xs:string">
          <imixs:value><![CDATA[Wir haben folgende Rechnung erhalten: bitte freigeben.

Betrag: <itemvalue>_amount</itemvalue> (Brutto € <itemvalue>_amount_brutto</itemvalue>)
<itemvalue>_description</itemvalue>]]></imixs:value>
        </imixs:item>
        <imixs:item name="keymailreceiverfields" type="xs:string"/>
        <imixs:item name="keyversion" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyaddwritefields" type="xs:string">
          <imixs:value><![CDATA[process.manager]]></imixs:value>
        </imixs:item>
        <imixs:item name="numnextactivityid" type="xs:int">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyfollowup" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keypublicresult" type="xs:string">
          <imixs:value><![CDATA[1]]></imixs:value>
        </imixs:item>
        <imixs:item name="keylogdateformat" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyownershipfields" type="xs:string">
          <imixs:value><![CDATA[process.manager]]></imixs:value>
        </imixs:item>
        <imixs:item name="numnextid" type="xs:int">
          <imixs:value><![CDATA[5005]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtnextprocesstree" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtactivityresult" type="xs:string">
          <imixs:value><![CDATA[<item name="action">home</item>]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtname" type="xs:string">
          <imixs:value><![CDATA[Freigabe einholen]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyownershipmode" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="rtfresultlog" type="xs:string">
          <imixs:value><![CDATA[Rechnung bezahlt.]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyupdateacl" type="xs:boolean">
          <imixs:value>false</imixs:value>
        </imixs:item>
      </bpmn2:extensionElements>
      <bpmn2:documentation id="Documentation_46"><![CDATA[Rechnung gebucht und bezahlt.]]></bpmn2:documentation>
      <bpmn2:incoming>SequenceFlow_43</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_44</bpmn2:outgoing>
    </bpmn2:intermediateCatchEvent>
    <bpmn2:sequenceFlow id="SequenceFlow_43" sourceRef="Task_7" targetRef="IntermediateCatchEvent_18"/>
    <bpmn2:sequenceFlow id="SequenceFlow_44" sourceRef="IntermediateCatchEvent_18" targetRef="Task_5"/>
    <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_8" imixs:activityid="50" name="SEPA Export wiederholen">
      <bpmn2:extensionElements>
        <imixs:item name="rtfresultlog" type="CDATA">
          <imixs:value><![CDATA[SEPA Export wiederholt.]]></imixs:value>
        </imixs:item>
      </bpmn2:extensionElements>
      <bpmn2:incoming>SequenceFlow_27</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_45</bpmn2:outgoing>
    </bpmn2:intermediateCatchEvent>
    <bpmn2:sequenceFlow id="SequenceFlow_27" sourceRef="Task_7" targetRef="IntermediateCatchEvent_8"/>
    <bpmn2:sequenceFlow id="SequenceFlow_45" sourceRef="IntermediateCatchEvent_8" targetRef="Task_6"/>
    <bpmn2:sequenceFlow id="SequenceFlow_4" sourceRef="ExclusiveGateway_5" targetRef="Task_3"/>
    <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_20" imixs:activityid="50" name="Fälligkeit">
      <bpmn2:extensionElements>
        <imixs:item name="keylogtimeformat" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyarchive" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtmailsubject" type="xs:string">
          <imixs:value><![CDATA[Eingangsrechnung erhalten: <itemvalue>_subject</itemvalue>]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyaccessmode" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyscheduledactivity" type="xs:string">
          <imixs:value><![CDATA[1]]></imixs:value>
        </imixs:item>
        <imixs:item name="rtfmailbody" type="xs:string">
          <imixs:value><![CDATA[Wir haben folgende Rechnung erhalten: bitte freigeben.

Betrag: <itemvalue>_amount</itemvalue> (Brutto € <itemvalue>_amount_brutto</itemvalue>)
<itemvalue>_description</itemvalue>]]></imixs:value>
        </imixs:item>
        <imixs:item name="keymailreceiverfields" type="xs:string"/>
        <imixs:item name="keyversion" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyaddwritefields" type="xs:string">
          <imixs:value><![CDATA[process.manager]]></imixs:value>
        </imixs:item>
        <imixs:item name="numnextactivityid" type="xs:int">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyfollowup" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keypublicresult" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keylogdateformat" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyownershipfields" type="xs:string">
          <imixs:value><![CDATA[process.manager]]></imixs:value>
        </imixs:item>
        <imixs:item name="numnextid" type="xs:int">
          <imixs:value><![CDATA[5005]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtnextprocesstree" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtactivityresult" type="xs:string">
          <imixs:value><![CDATA[<item name="action">home</item>]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtname" type="xs:string">
          <imixs:value><![CDATA[Freigabe einholen]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyownershipmode" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="rtfresultlog" type="xs:string">
          <imixs:value><![CDATA[Fälligkeit erreicht.]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyupdateacl" type="xs:boolean">
          <imixs:value>false</imixs:value>
        </imixs:item>
      </bpmn2:extensionElements>
      <bpmn2:incoming>SequenceFlow_50</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_53</bpmn2:outgoing>
      <bpmn2:timerEventDefinition id="TimerEventDefinition_1"/>
    </bpmn2:intermediateCatchEvent>
    <bpmn2:sequenceFlow id="SequenceFlow_50" sourceRef="Task_3" targetRef="IntermediateCatchEvent_20"/>
    <bpmn2:sequenceFlow id="SequenceFlow_53" sourceRef="IntermediateCatchEvent_20" targetRef="ExclusiveGateway_2"/>
    <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_21" imixs:activityid="30" name="Reklamieren">
      <bpmn2:extensionElements>
        <imixs:item name="keyarchive" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtmailsubject" type="xs:string">
          <imixs:value><![CDATA[Reklamation <itemvalue>cdtr.name</itemvalue> <itemvalue>invoice.number</itemvalue>]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyaccessmode" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyscheduledactivity" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="rtfmailbody" type="xs:string">
          <imixs:value><![CDATA[Folgende Rechnung ist nicht in Ordnung:

Kreditor: <itemvalue>cdtr.name</itemvalue> 
Rechnungsnummer: <itemvalue>invoice.number</itemvalue>
Betrag: <itemvalue>invoice.total</itemvalue> <itemvalue>invoice.currency</itemvalue>

<attachments></attachments>
]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyversion" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyaddwritefields" type="xs:string">
          <imixs:value><![CDATA[process.manager]]></imixs:value>
          <imixs:value><![CDATA[process.team]]></imixs:value>
        </imixs:item>
        <imixs:item name="numnextactivityid" type="xs:int">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyfollowup" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keypublicresult" type="xs:string">
          <imixs:value><![CDATA[1]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyownershipfields" type="xs:string">
          <imixs:value><![CDATA[process.team]]></imixs:value>
        </imixs:item>
        <imixs:item name="numnextid" type="xs:int">
          <imixs:value><![CDATA[5005]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtnextprocesstree" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtactivityresult" type="xs:string">
          <imixs:value><![CDATA[<item name="action">home</item>]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtname" type="xs:string">
          <imixs:value><![CDATA[Akzeptieren]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyownershipmode" type="xs:string">
          <imixs:value><![CDATA[1]]></imixs:value>
        </imixs:item>
        <imixs:item name="rtfresultlog" type="xs:string">
          <imixs:value><![CDATA[Rechnung reklamiert.]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyupdateacl" type="xs:boolean">
          <imixs:value>false</imixs:value>
        </imixs:item>
        <imixs:item name="txtbusinessrule" type="CDATA">
          <imixs:value><![CDATA[var result={};
 var refField="txtcomment"; 
result.isValid=true;

 if (  ( workitem.get(refField) == null || ''==workitem.get(refField)[0])   ) {
     result.isValid=false;
     result.errorMessage='Bitte geben Sie einen Kommentar ein.';
  }]]></imixs:value>
        </imixs:item>
        <imixs:item name="keymailreceiverfields" type="xs:string">
          <imixs:value><![CDATA[$editor]]></imixs:value>
        </imixs:item>
      </bpmn2:extensionElements>
      <bpmn2:documentation id="Documentation_53"><![CDATA[Rechnung beenden, Reklamationsmail an Outlook senden.]]></bpmn2:documentation>
      <bpmn2:incoming>SequenceFlow_54</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_56</bpmn2:outgoing>
      <bpmn2:messageEventDefinition id="MessageEventDefinition_2"/>
    </bpmn2:intermediateCatchEvent>
    <bpmn2:sequenceFlow id="SequenceFlow_54" sourceRef="EventBasedGateway_2" targetRef="IntermediateCatchEvent_21"/>
    <bpmn2:intermediateThrowEvent id="IntermediateThrowEvent_2" name="BEENDEN">
      <bpmn2:incoming>SequenceFlow_56</bpmn2:incoming>
      <bpmn2:linkEventDefinition id="LinkEventDefinition_3" name="Link Event Definition 5"/>
    </bpmn2:intermediateThrowEvent>
    <bpmn2:sequenceFlow id="SequenceFlow_56" sourceRef="IntermediateCatchEvent_21" targetRef="IntermediateThrowEvent_2"/>
    <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_5" imixs:activityid="40" name="[TEST: Export Retry]">
      <bpmn2:extensionElements>
        <imixs:item name="keylogtimeformat" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyarchive" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtmailsubject" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyaccessmode" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyscheduledactivity" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="rtfmailbody" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyversion" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyaddwritefields" type="xs:string">
          <imixs:value><![CDATA[$creator]]></imixs:value>
          <imixs:value><![CDATA[$editor]]></imixs:value>
          <imixs:value><![CDATA[process.manager]]></imixs:value>
          <imixs:value><![CDATA[process.team]]></imixs:value>
        </imixs:item>
        <imixs:item name="numnextactivityid" type="xs:int">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyfollowup" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keypublicresult" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keylogdateformat" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyownershipfields" type="xs:string">
          <imixs:value><![CDATA[$editor]]></imixs:value>
          <imixs:value><![CDATA[$creator]]></imixs:value>
        </imixs:item>
        <imixs:item name="numnextid" type="xs:int">
          <imixs:value><![CDATA[5000]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtnextprocesstree" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtactivityresult" type="xs:string">
          <imixs:value><![CDATA[<item name="comment" ignore="true"/>

<item name="subprocess_create">
	<modelversion>cargosoft-export-1.0</modelversion>
	<task>1000</task>
	<event>100</event>
	<items>(?!txtworkflowhistory)(^[a-zA-Z]|^_)</items>
</item>
]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtname" type="xs:string">
          <imixs:value><![CDATA[Speichern]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyownershipmode" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="rtfresultlog" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyupdateacl" type="xs:boolean">
          <imixs:value>false</imixs:value>
        </imixs:item>
      </bpmn2:extensionElements>
      <bpmn2:documentation id="Documentation_1"><![CDATA[Zwischenspeichern]]></bpmn2:documentation>
      <bpmn2:outgoing>SequenceFlow_3</bpmn2:outgoing>
    </bpmn2:intermediateCatchEvent>
    <bpmn2:sequenceFlow id="SequenceFlow_3" sourceRef="IntermediateCatchEvent_5" targetRef="Task_5000"/>
    <bpmn2:dataObject id="DataObject_1" name="Invoice Form">
      <bpmn2:documentation id="Documentation_11"><![CDATA[<?xml version="1.0"?>
<imixs-form>
  <imixs-form-section columns="1" label="Rechnungsdaten">
    <item name="cdtr.name" type="text" readonly="true"  label="Kreditor:"/>
  </imixs-form-section>
  <imixs-form-section columns="3">
    <item name="invoice.number" type="text" readonly="true"  label="Rechnungsnummer:" />
    <item name="invoice.date" type="date" readonly="false"  label="Rechnungsdatum:" />
    <item name="invoice.duedate" type="date" readonly="true"  required="true"  label="Fälligkeitsdatum:" />
  </imixs-form-section>

  <imixs-form-section columns="3">
    <item name="invoice.total" type="currency" readonly="true"  required="true"   label="Rechnungsbetrag:" />
    <item name="invoice.currency" readonly="true" type="selectOneMenu" required="true" options="EUR;CHF;SEK;RUB;NOK;GBP;USD;CAD"   label="Währung:" />
    <item name="invoice.exchangerate" type="number" readonly="true"  required="true"   label="Exchange Rate:" />
  </imixs-form-section>
  <imixs-form-section columns="2">

    <item name="cdtr.iban" type="text" readonly="true"  label="IBAN:" />
    <item name="cdtr.bic" type="text" readonly="true"  label="BIC:" />
     </imixs-form-section>
 
  <imixs-form-section columns="2">
    <item name="cdtr.number" type="text"  required="true"   label="Kreditorennummer:" />
    <item name="invoice.period" type="text"  required="false"   label="Buchungsperiode (yyyymm):" />
   </imixs-form-section>
</imixs-form>]]></bpmn2:documentation>
      <bpmn2:dataState id="DataState_2"/>
    </bpmn2:dataObject>
    <bpmn2:task id="Task_8" imixs:processid="5990" name="Storniert">
      <bpmn2:extensionElements>
        <imixs:item name="txteditorid" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtworkflowabstract" type="xs:string">
          <imixs:value><![CDATA[<itemvalue>txtlastcomment</itemvalue>]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtname" type="xs:string">
          <imixs:value><![CDATA[Rechnung erhalten]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtimageurl" type="xs:string">
          <imixs:value><![CDATA[typcn-download|typcn-delete,imixs-error,icon-sub-ne]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtworkflowsummary" type="xs:string">
          <imixs:value><![CDATA[<itemvalue>numsequencenumber</itemvalue>: <itemvalue>cdtr.name</itemvalue> <itemvalue>invoice.number</itemvalue> (<itemvalue>invoice.currency</itemvalue> <itemvalue>invoice.total</itemvalue>) <itemvalue>space.name</itemvalue>]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyupdateacl" type="xs:boolean">
          <imixs:value>true</imixs:value>
        </imixs:item>
        <imixs:item name="keyownershipfields" type="xs:string"/>
        <imixs:item name="keyaddwritefields" type="xs:string">
          <imixs:value><![CDATA[process.manager]]></imixs:value>
          <imixs:value><![CDATA[process.team]]></imixs:value>
        </imixs:item>
        <imixs:item name="txttype" type="xs:string">
          <imixs:value><![CDATA[workitemarchive]]></imixs:value>
        </imixs:item>
        <imixs:item name="namaddreadaccess" type="xs:string">
          <imixs:value><![CDATA[{process:?:member}]]></imixs:value>
          <imixs:value><![CDATA[{space:?:member}]]></imixs:value>
        </imixs:item>
      </bpmn2:extensionElements>
      <bpmn2:documentation id="Documentation_10"><![CDATA[<textblock><itemvalue>$workflowgroup</itemvalue> - <itemvalue>$workflowstatus</itemvalue></textblock>]]></bpmn2:documentation>
      <bpmn2:incoming>SequenceFlow_17</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_9</bpmn2:outgoing>
    </bpmn2:task>
    <bpmn2:endEvent id="EndEvent_3" name="Ende">
      <bpmn2:incoming>SequenceFlow_9</bpmn2:incoming>
    </bpmn2:endEvent>
    <bpmn2:sequenceFlow id="SequenceFlow_9" sourceRef="Task_8" targetRef="EndEvent_3"/>
    <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_7" name="STORNO">
      <bpmn2:outgoing>SequenceFlow_17</bpmn2:outgoing>
      <bpmn2:linkEventDefinition id="LinkEventDefinition_4" name="Link Event Definition 6"/>
    </bpmn2:intermediateCatchEvent>
    <bpmn2:sequenceFlow id="SequenceFlow_17" sourceRef="IntermediateCatchEvent_7" targetRef="Task_8"/>
    <bpmn2:eventBasedGateway id="EventBasedGateway_1" gatewayDirection="Diverging">
      <bpmn2:incoming>SequenceFlow_22</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_46</bpmn2:outgoing>
      <bpmn2:outgoing>SequenceFlow_49</bpmn2:outgoing>
    </bpmn2:eventBasedGateway>
    <bpmn2:sequenceFlow id="SequenceFlow_22" sourceRef="Task_2" targetRef="EventBasedGateway_1"/>
    <bpmn2:sequenceFlow id="SequenceFlow_46" sourceRef="EventBasedGateway_1" targetRef="IntermediateCatchEvent_5000-20"/>
    <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_19" imixs:activityid="90" name="Stornieren">
      <bpmn2:extensionElements>
        <imixs:item name="keylogtimeformat" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyarchive" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtmailsubject" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyaccessmode" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyscheduledactivity" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="rtfmailbody" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyversion" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyaddwritefields" type="xs:string">
          <imixs:value><![CDATA[process.team]]></imixs:value>
          <imixs:value><![CDATA[process.manager]]></imixs:value>
        </imixs:item>
        <imixs:item name="numnextactivityid" type="xs:int">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyfollowup" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keypublicresult" type="xs:string">
          <imixs:value><![CDATA[1]]></imixs:value>
        </imixs:item>
        <imixs:item name="keylogdateformat" type="xs:string">
          <imixs:value><![CDATA[2]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyownershipfields" type="xs:string">
          <imixs:value><![CDATA[process.team]]></imixs:value>
        </imixs:item>
        <imixs:item name="numnextid" type="xs:int">
          <imixs:value><![CDATA[5020]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtnextprocesstree" type="xs:string">
          <imixs:value><![CDATA[]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtactivityresult" type="xs:string">
          <imixs:value><![CDATA[<item name="action">home</item>]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtname" type="xs:string">
          <imixs:value><![CDATA[Anweisen]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyownershipmode" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
        <imixs:item name="rtfresultlog" type="xs:string">
          <imixs:value><![CDATA[Storniert.]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyupdateacl" type="xs:boolean">
          <imixs:value>false</imixs:value>
        </imixs:item>
        <imixs:item name="txtbusinessrule" type="CDATA">
          <imixs:value><![CDATA[var result={};
 var refField="txtcomment"; 
result.isValid=true;

 if (  ( workitem.get(refField) == null || ''==workitem.get(refField)[0])   ) {
     result.isValid=false;
     result.errorMessage='Bitte geben Sie einen Kommentar ein.';
  }]]></imixs:value>
        </imixs:item>
      </bpmn2:extensionElements>
      <bpmn2:documentation id="Documentation_38"><![CDATA[Rechnung nicht in Ordnung, zurück an Erfasser.]]></bpmn2:documentation>
      <bpmn2:incoming>SequenceFlow_49</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_48</bpmn2:outgoing>
    </bpmn2:intermediateCatchEvent>
    <bpmn2:intermediateThrowEvent id="IntermediateThrowEvent_3" name="STORNO">
      <bpmn2:incoming>SequenceFlow_48</bpmn2:incoming>
      <bpmn2:linkEventDefinition id="LinkEventDefinition_5" name="Link Event Definition 5"/>
    </bpmn2:intermediateThrowEvent>
    <bpmn2:sequenceFlow id="SequenceFlow_48" sourceRef="IntermediateCatchEvent_19" targetRef="IntermediateThrowEvent_3"/>
    <bpmn2:sequenceFlow id="SequenceFlow_49" sourceRef="EventBasedGateway_1" targetRef="IntermediateCatchEvent_19"/>
    <bpmn2:association id="Association_2" sourceRef="DataObject_2" targetRef="Task_2"/>
    <bpmn2:textAnnotation id="TextAnnotation_2">
      <bpmn2:text>Wurde ein Prozess Manager festgelegt, erfolgt eine Genehmigung.</bpmn2:text>
    </bpmn2:textAnnotation>
    <bpmn2:association id="Association_3" sourceRef="TextAnnotation_2" targetRef="Task_5000"/>
    <bpmn2:textAnnotation id="TextAnnotation_3">
      <bpmn2:text>Die Rechnung wurde sachlich geprüft und genehmigt und kann nun in den Zahlungslauf übergeben werden.
</bpmn2:text>
    </bpmn2:textAnnotation>
    <bpmn2:association id="Association_4" sourceRef="TextAnnotation_3" targetRef="Task_3"/>
    <bpmn2:textAnnotation id="TextAnnotation_1">
      <bpmn2:text>Datenübergabe an Cargosoft. 

Export erfolgt über eine asynchrone Verarbeitung im Modell 'cargosoft-export'</bpmn2:text>
    </bpmn2:textAnnotation>
    <bpmn2:association id="Association_1" sourceRef="TextAnnotation_1" targetRef="IntermediateCatchEvent_5005-20"/>
    <bpmn2:textAnnotation id="TextAnnotation_4">
      <bpmn2:documentation id="Documentation_4"><![CDATA[Payment = Sepa 
und invioce.total >0 (keine Gutschriften)]]></bpmn2:documentation>
      <bpmn2:text>Payment = Sepa 
und invoice.total >0 (keine Gutschriften)</bpmn2:text>
    </bpmn2:textAnnotation>
    <bpmn2:association id="Association_5" sourceRef="DataObject_1" targetRef="Task_5005"/>
  </bpmn2:process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_Process_1" bpmnElement="Collaboration_1">
      <bpmndi:BPMNShape id="BPMNShape_Participant_1" bpmnElement="Participant_1" isHorizontal="true">
        <dc:Bounds height="1491.0" width="2201.0" x="50.0" y="50.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_20" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="108.0" width="14.0" x="56.0" y="741.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_Lane_1" bpmnElement="Lane_1" isHorizontal="true">
        <dc:Bounds height="351.0" width="2171.0" x="80.0" y="50.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_24" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="45.0" width="14.0" x="86.0" y="203.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_Lane_2" bpmnElement="Lane_2" isHorizontal="true">
        <dc:Bounds height="241.0" width="2171.0" x="80.0" y="600.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_25" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="172.0" width="14.0" x="86.0" y="634.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_Lane_3" bpmnElement="Lane_3" isHorizontal="true">
        <dc:Bounds height="221.0" width="2171.0" x="80.0" y="840.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_37" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="91.0" width="14.0" x="86.0" y="905.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_Lane_4" bpmnElement="Lane_4" isHorizontal="true">
        <dc:Bounds height="481.0" width="2171.0" x="80.0" y="1060.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_69" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="69.0" width="14.0" x="86.0" y="1266.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_Lane_6" bpmnElement="Lane_6" isHorizontal="true">
        <dc:Bounds height="201.0" width="2171.0" x="80.0" y="400.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_63" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="94.0" width="14.0" x="86.0" y="453.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_StartEvent_1" bpmnElement="StartEvent_1">
        <dc:Bounds height="36.0" width="36.0" x="119.0" y="187.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_1" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="14.0" width="25.0" x="124.0" y="223.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_Task_1" bpmnElement="Task_5000">
        <dc:Bounds height="50.0" width="110.0" x="798.0" y="900.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_2" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="14.0" width="49.0" x="828.0" y="918.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_Task_2" bpmnElement="Task_5005">
        <dc:Bounds height="50.0" width="110.0" x="370.0" y="683.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_3" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="14.0" width="70.0" x="390.0" y="701.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_IntermediateCatchEvent_1" bpmnElement="IntermediateCatchEvent_5000-10">
        <dc:Bounds height="36.0" width="36.0" x="835.0" y="974.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_9" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="14.0" width="56.0" x="825.0" y="1010.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_IntermediateCatchEvent_2" bpmnElement="IntermediateCatchEvent_5000-20">
        <dc:Bounds height="36.0" width="36.0" x="545.0" y="187.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_10" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="14.0" width="65.0" x="531.0" y="223.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_IntermediateCatchEvent_6" bpmnElement="IntermediateCatchEvent_5005-10">
        <dc:Bounds height="36.0" width="36.0" x="407.0" y="760.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_14" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="14.0" width="56.0" x="397.0" y="796.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_IntermediateCatchEvent_7" bpmnElement="IntermediateCatchEvent_5005-20">
        <dc:Bounds height="36.0" width="36.0" x="590.0" y="690.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_15" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="14.0" width="56.0" x="580.0" y="726.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_IntermediateCatchEvent_8" bpmnElement="IntermediateCatchEvent_5005-30">
        <dc:Bounds height="36.0" width="36.0" x="517.0" y="611.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_16" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="14.0" width="53.0" x="509.0" y="647.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_ExclusiveGateway_1" bpmnElement="ExclusiveGateway_1" isMarkerVisible="true">
        <dc:Bounds height="50.0" width="50.0" x="219.0" y="180.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_60" labelStyle="BPMNLabelStyle_1"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_EventBasedGateway_2" bpmnElement="EventBasedGateway_2" isMarkerVisible="true">
        <dc:Bounds height="50.0" width="50.0" x="510.0" y="683.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_65" labelStyle="BPMNLabelStyle_1"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_TextAnnotation_1">
        <dc:Bounds height="73.0" width="131.0" x="130.0" y="581.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_30">
          <dc:Bounds height="67.0" width="119.0" x="136.0" y="581.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_Task_5" bpmnElement="Task_2">
        <dc:Bounds height="50.0" width="110.0" x="308.0" y="180.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_33" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="14.0" width="55.0" x="335.0" y="198.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_DataObject_1" bpmnElement="DataObject_2">
        <dc:Bounds height="50.0" width="36.0" x="300.0" y="90.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_85">
          <dc:Bounds height="14.0" width="70.0" x="283.0" y="140.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_IntermediateCatchEvent_13" bpmnElement="IntermediateCatchEvent_13">
        <dc:Bounds height="36.0" width="36.0" x="345.0" y="260.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_39" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="14.0" width="56.0" x="335.0" y="296.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_Task_9" bpmnElement="Task_3">
        <dc:Bounds height="50.0" width="110.0" x="1168.0" y="1144.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_50" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="28.0" width="97.0" x="1174.0" y="1155.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_IntermediateCatchEvent_17" bpmnElement="IntermediateCatchEvent_15">
        <dc:Bounds height="36.0" width="36.0" x="1048.0" y="974.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_79" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="14.0" width="53.0" x="1040.0" y="1010.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_EventBasedGateway_4" bpmnElement="EventBasedGateway_4" isMarkerVisible="true">
        <dc:Bounds height="50.0" width="50.0" x="958.0" y="900.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_80" labelStyle="BPMNLabelStyle_1"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_IntermediateCatchEvent_26" bpmnElement="IntermediateCatchEvent_16">
        <dc:Bounds height="36.0" width="36.0" x="1049.0" y="907.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_89" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="14.0" width="56.0" x="1039.0" y="943.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_Task_11" bpmnElement="Task_5">
        <dc:Bounds height="50.0" width="110.0" x="1673.0" y="1257.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_109" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="14.0" width="42.0" x="1707.0" y="1275.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_EndEvent_2" bpmnElement="EndEvent_2">
        <dc:Bounds height="36.0" width="36.0" x="1843.0" y="1264.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_110" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="14.0" width="29.0" x="1846.0" y="1300.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_IntermediateCatchEvent_27" bpmnElement="IntermediateCatchEvent_17">
        <dc:Bounds height="36.0" width="36.0" x="1329.0" y="1151.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_116" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="28.0" width="68.0" x="1313.0" y="1187.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_ExclusiveGateway_4" bpmnElement="ExclusiveGateway_4" isMarkerVisible="true">
        <dc:Bounds height="50.0" width="50.0" x="538.0" y="305.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_17" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="14.0" width="75.0" x="526.0" y="355.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_ExclusiveGateway_3" bpmnElement="ExclusiveGateway_3" isMarkerVisible="true">
        <dc:Bounds height="50.0" width="50.0" x="828.0" y="683.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_7" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="28.0" width="50.0" x="828.0" y="733.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_ExclusiveGateway_5" bpmnElement="ExclusiveGateway_5" isMarkerVisible="true">
        <dc:Bounds height="50.0" width="50.0" x="1040.0" y="683.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_23" labelStyle="BPMNLabelStyle_1"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_IntermediateCatchEvent_4" bpmnElement="IntermediateCatchEvent_2">
        <dc:Bounds height="36.0" width="36.0" x="749.0" y="690.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_29" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="14.0" width="47.0" x="744.0" y="726.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_ExclusiveGateway_6" bpmnElement="ExclusiveGateway_6" isMarkerVisible="true">
        <dc:Bounds height="50.0" width="50.0" x="660.0" y="683.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_32" labelStyle="BPMNLabelStyle_1"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_IntermediateCatchEvent_5" bpmnElement="IntermediateCatchEvent_3">
        <dc:Bounds height="36.0" width="36.0" x="119.0" y="270.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_38" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="14.0" width="66.0" x="104.0" y="306.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_IntermediateThrowEvent_1" bpmnElement="IntermediateThrowEvent_1">
        <dc:Bounds height="36.0" width="36.0" x="1156.0" y="974.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_42" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="14.0" width="66.0" x="1141.0" y="1010.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_TextAnnotation_2" bpmnElement="TextAnnotation_2">
        <dc:Bounds height="61.0" width="151.0" x="590.0" y="871.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_64">
          <dc:Bounds height="55.0" width="139.0" x="596.0" y="871.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_TextAnnotation_3" bpmnElement="TextAnnotation_3">
        <dc:Bounds height="75.0" width="187.0" x="900.0" y="1136.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_4">
          <dc:Bounds height="69.0" width="175.0" x="906.0" y="1136.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_ExclusiveGateway_2" bpmnElement="ExclusiveGateway_2" isMarkerVisible="true">
        <dc:Bounds height="50.0" width="50.0" x="1410.0" y="1144.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_11" labelStyle="BPMNLabelStyle_1"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_IntermediateCatchEvent_9" bpmnElement="IntermediateCatchEvent_4">
        <dc:Bounds height="36.0" width="36.0" x="1580.0" y="1151.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_12" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="14.0" width="31.0" x="1582.0" y="1187.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_IntermediateCatchEvent_11" bpmnElement="IntermediateCatchEvent_6">
        <dc:Bounds height="36.0" width="36.0" x="119.0" y="97.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_57" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="28.0" width="62.0" x="106.0" y="133.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_Task_3" bpmnElement="Task_1">
        <dc:Bounds height="50.0" width="110.0" x="310.0" y="450.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_62" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="28.0" width="82.0" x="324.0" y="461.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_IntermediateCatchEvent_15" bpmnElement="IntermediateCatchEvent_9">
        <dc:Bounds height="36.0" width="36.0" x="220.0" y="457.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_74" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="14.0" width="56.0" x="210.0" y="493.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_IntermediateCatchEvent_16" bpmnElement="IntermediateCatchEvent_10">
        <dc:Bounds height="36.0" width="36.0" x="324.0" y="534.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_76" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="14.0" width="48.0" x="318.0" y="570.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_IntermediateCatchEvent_18" bpmnElement="IntermediateCatchEvent_11">
        <dc:Bounds height="36.0" width="36.0" x="470.0" y="457.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_81" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="14.0" width="53.0" x="462.0" y="493.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_IntermediateThrowEvent_5" bpmnElement="IntermediateThrowEvent_5">
        <dc:Bounds height="36.0" width="36.0" x="577.0" y="457.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_82" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="14.0" width="66.0" x="562.0" y="493.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_IntermediateCatchEvent_19" bpmnElement="IntermediateCatchEvent_12">
        <dc:Bounds height="36.0" width="36.0" x="1583.0" y="1359.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_87" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="14.0" width="59.0" x="1572.0" y="1395.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_Task_4" bpmnElement="Task_4">
        <dc:Bounds height="50.0" width="110.0" x="1673.0" y="1352.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_88" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="14.0" width="59.0" x="1698.0" y="1370.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_EndEvent_1" bpmnElement="EndEvent_1">
        <dc:Bounds height="36.0" width="36.0" x="1843.0" y="1359.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_92" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="14.0" width="29.0" x="1846.0" y="1395.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_IntermediateCatchEvent_3" bpmnElement="IntermediateCatchEvent_1">
        <dc:Bounds height="36.0" width="36.0" x="470.0" y="530.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_13" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="14.0" width="49.0" x="464.0" y="566.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_Task_6" bpmnElement="Task_6">
        <dc:Bounds height="50.0" width="110.0" x="1673.0" y="1144.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_43">
          <dc:Bounds height="14.0" width="57.0" x="1699.0" y="1162.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_IntermediateCatchEvent_20" bpmnElement="IntermediateCatchEvent_14">
        <dc:Bounds height="36.0" width="36.0" x="1828.0" y="1151.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_53" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="14.0" width="72.0" x="1810.0" y="1187.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_Task_7" bpmnElement="Task_7">
        <dc:Bounds height="50.0" width="110.0" x="1910.0" y="1144.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_99">
          <dc:Bounds height="14.0" width="59.0" x="1935.0" y="1162.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_IntermediateCatchEvent_21" bpmnElement="IntermediateCatchEvent_18">
        <dc:Bounds height="36.0" width="36.0" x="2080.0" y="1151.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_100" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="14.0" width="41.0" x="2078.0" y="1187.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_IntermediateCatchEvent_14" bpmnElement="IntermediateCatchEvent_8">
        <dc:Bounds height="36.0" width="36.0" x="1828.0" y="1073.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_55" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="28.0" width="77.0" x="1808.0" y="1109.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_TextAnnotation_4" bpmnElement="TextAnnotation_1">
        <dc:Bounds height="69.0" width="334.0" x="744.0" y="611.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_107">
          <dc:Bounds height="63.0" width="322.0" x="750.0" y="611.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_IntermediateCatchEvent_23" bpmnElement="IntermediateCatchEvent_20">
        <dc:Bounds height="36.0" width="36.0" x="1329.0" y="1090.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_112">
          <dc:Bounds height="14.0" width="49.0" x="1323.0" y="1126.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_IntermediateCatchEvent_24" bpmnElement="IntermediateCatchEvent_21">
        <dc:Bounds height="36.0" width="36.0" x="590.0" y="774.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_120">
          <dc:Bounds height="14.0" width="70.0" x="573.0" y="810.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_IntermediateThrowEvent_2" bpmnElement="IntermediateThrowEvent_2">
        <dc:Bounds height="36.0" width="36.0" x="686.0" y="775.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_122">
          <dc:Bounds height="14.0" width="59.0" x="675.0" y="811.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_TextAnnotation_5" bpmnElement="TextAnnotation_4">
        <dc:Bounds height="50.0" width="171.0" x="1480.0" y="1080.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_18">
          <dc:Bounds height="44.0" width="159.0" x="1486.0" y="1080.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_IntermediateCatchEvent_10" bpmnElement="IntermediateCatchEvent_5">
        <dc:Bounds height="36.0" width="36.0" x="700.0" y="974.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_44">
          <dc:Bounds height="28.0" width="73.0" x="682.0" y="1010.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_DataObject_2" bpmnElement="DataObject_1">
        <dc:Bounds height="50.0" width="36.0" x="210.0" y="683.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_52">
          <dc:Bounds height="14.0" width="70.0" x="193.0" y="733.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_Task_8" bpmnElement="Task_8">
        <dc:Bounds height="50.0" width="110.0" x="1673.0" y="1442.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_71">
          <dc:Bounds height="14.0" width="46.0" x="1705.0" y="1460.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_EndEvent_3" bpmnElement="EndEvent_3">
        <dc:Bounds height="36.0" width="36.0" x="1843.0" y="1449.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_72">
          <dc:Bounds height="14.0" width="29.0" x="1846.0" y="1485.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_IntermediateCatchEvent_12" bpmnElement="IntermediateCatchEvent_7">
        <dc:Bounds height="36.0" width="36.0" x="1580.0" y="1449.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_104">
          <dc:Bounds height="14.0" width="51.0" x="1573.0" y="1485.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_EventBasedGateway_1" bpmnElement="EventBasedGateway_1" isMarkerVisible="true">
        <dc:Bounds height="50.0" width="50.0" x="460.0" y="180.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_106"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_IntermediateCatchEvent_22" bpmnElement="IntermediateCatchEvent_19">
        <dc:Bounds height="36.0" width="36.0" x="546.0" y="118.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_125">
          <dc:Bounds height="14.0" width="57.0" x="536.0" y="154.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_IntermediateThrowEvent_3" bpmnElement="IntermediateThrowEvent_3">
        <dc:Bounds height="36.0" width="36.0" x="653.0" y="118.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_126">
          <dc:Bounds height="14.0" width="51.0" x="646.0" y="154.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_1" bpmnElement="SequenceFlow_0" sourceElement="BPMNShape_StartEvent_1" targetElement="BPMNShape_ExclusiveGateway_1">
        <di:waypoint xsi:type="dc:Point" x="155.0" y="205.0"/>
        <di:waypoint xsi:type="dc:Point" x="187.0" y="205.0"/>
        <di:waypoint xsi:type="dc:Point" x="219.0" y="205.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_28"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_9" bpmnElement="SequenceFlow_8" sourceElement="BPMNShape_EventBasedGateway_2" targetElement="BPMNShape_IntermediateCatchEvent_7">
        <di:waypoint xsi:type="dc:Point" x="560.0" y="708.0"/>
        <di:waypoint xsi:type="dc:Point" x="575.0" y="708.0"/>
        <di:waypoint xsi:type="dc:Point" x="590.0" y="708.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_35"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_10" bpmnElement="SequenceFlow_10" sourceElement="BPMNShape_EventBasedGateway_2" targetElement="BPMNShape_IntermediateCatchEvent_8">
        <di:waypoint xsi:type="dc:Point" x="535.0" y="683.0"/>
        <di:waypoint xsi:type="dc:Point" x="535.0" y="665.0"/>
        <di:waypoint xsi:type="dc:Point" x="535.0" y="647.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_36"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_32" bpmnElement="SequenceFlow_31" sourceElement="BPMNShape_IntermediateCatchEvent_1" targetElement="BPMNShape_Task_1">
        <di:waypoint xsi:type="dc:Point" x="853.0" y="974.0"/>
        <di:waypoint xsi:type="dc:Point" x="853.0" y="962.0"/>
        <di:waypoint xsi:type="dc:Point" x="853.0" y="950.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_58"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_34" bpmnElement="SequenceFlow_33" sourceElement="BPMNShape_ExclusiveGateway_1">
        <di:waypoint xsi:type="dc:Point" x="269.0" y="205.0"/>
        <di:waypoint xsi:type="dc:Point" x="288.0" y="205.0"/>
        <di:waypoint xsi:type="dc:Point" x="308.0" y="205.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_61"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_38" bpmnElement="SequenceFlow_37" sourceElement="BPMNShape_Task_2" targetElement="BPMNShape_EventBasedGateway_2">
        <di:waypoint xsi:type="dc:Point" x="480.0" y="708.0"/>
        <di:waypoint xsi:type="dc:Point" x="495.0" y="708.0"/>
        <di:waypoint xsi:type="dc:Point" x="510.0" y="708.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_66"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_39" bpmnElement="SequenceFlow_38" sourceElement="BPMNShape_IntermediateCatchEvent_6" targetElement="BPMNShape_Task_2">
        <di:waypoint xsi:type="dc:Point" x="425.0" y="760.0"/>
        <di:waypoint xsi:type="dc:Point" x="425.0" y="747.0"/>
        <di:waypoint xsi:type="dc:Point" x="425.0" y="733.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_67"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_Association_2" bpmnElement="Association_2" sourceElement="BPMNShape_DataObject_1" targetElement="BPMNShape_Task_5">
        <di:waypoint xsi:type="dc:Point" x="336.0" y="115.0"/>
        <di:waypoint xsi:type="dc:Point" x="363.0" y="115.0"/>
        <di:waypoint xsi:type="dc:Point" x="363.0" y="180.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_86"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_24" bpmnElement="SequenceFlow_20" sourceElement="BPMNShape_IntermediateCatchEvent_13" targetElement="BPMNShape_Task_5">
        <di:waypoint xsi:type="dc:Point" x="363.0" y="260.0"/>
        <di:waypoint xsi:type="dc:Point" x="363.0" y="245.0"/>
        <di:waypoint xsi:type="dc:Point" x="363.0" y="230.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_47"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_30" bpmnElement="SequenceFlow_29" sourceElement="BPMNShape_EventBasedGateway_4" targetElement="BPMNShape_IntermediateCatchEvent_17">
        <di:waypoint xsi:type="dc:Point" x="983.0" y="950.0"/>
        <di:waypoint xsi:type="dc:Point" x="983.0" y="992.0"/>
        <di:waypoint xsi:type="dc:Point" x="1048.0" y="992.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_90"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_31" bpmnElement="SequenceFlow_30" sourceElement="BPMNShape_EventBasedGateway_4" targetElement="BPMNShape_IntermediateCatchEvent_26">
        <di:waypoint xsi:type="dc:Point" x="1008.0" y="925.0"/>
        <di:waypoint xsi:type="dc:Point" x="1028.0" y="925.0"/>
        <di:waypoint xsi:type="dc:Point" x="1049.0" y="925.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_91"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_33" bpmnElement="SequenceFlow_32" sourceElement="BPMNShape_Task_1" targetElement="BPMNShape_EventBasedGateway_4">
        <di:waypoint xsi:type="dc:Point" x="908.0" y="925.0"/>
        <di:waypoint xsi:type="dc:Point" x="933.0" y="925.0"/>
        <di:waypoint xsi:type="dc:Point" x="958.0" y="925.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_93"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_48" bpmnElement="SequenceFlow_47" sourceElement="BPMNShape_Task_11" targetElement="BPMNShape_EndEvent_2">
        <di:waypoint xsi:type="dc:Point" x="1783.0" y="1282.0"/>
        <di:waypoint xsi:type="dc:Point" x="1813.0" y="1282.0"/>
        <di:waypoint xsi:type="dc:Point" x="1843.0" y="1282.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_111"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_52" bpmnElement="SequenceFlow_51" sourceElement="BPMNShape_IntermediateCatchEvent_7" targetElement="BPMNShape_ExclusiveGateway_6">
        <di:waypoint xsi:type="dc:Point" x="626.0" y="708.0"/>
        <di:waypoint xsi:type="dc:Point" x="643.0" y="708.0"/>
        <di:waypoint xsi:type="dc:Point" x="660.0" y="708.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_114"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_53" bpmnElement="SequenceFlow_52" sourceElement="BPMNShape_IntermediateCatchEvent_17" targetElement="BPMNShape_IntermediateThrowEvent_1">
        <di:waypoint xsi:type="dc:Point" x="1084.0" y="992.0"/>
        <di:waypoint xsi:type="dc:Point" x="1120.0" y="992.0"/>
        <di:waypoint xsi:type="dc:Point" x="1156.0" y="992.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_115"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_56" bpmnElement="SequenceFlow_55" sourceElement="BPMNShape_Task_9" targetElement="BPMNShape_IntermediateCatchEvent_27">
        <di:waypoint xsi:type="dc:Point" x="1278.0" y="1169.0"/>
        <di:waypoint xsi:type="dc:Point" x="1303.0" y="1169.0"/>
        <di:waypoint xsi:type="dc:Point" x="1329.0" y="1169.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_117"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_8" bpmnElement="SequenceFlow_7" sourceElement="BPMNShape_IntermediateCatchEvent_26" targetElement="BPMNShape_ExclusiveGateway_5">
        <di:waypoint xsi:type="dc:Point" x="1067.0" y="907.0"/>
        <di:waypoint xsi:type="dc:Point" x="1067.0" y="820.0"/>
        <di:waypoint xsi:type="dc:Point" x="1065.0" y="820.0"/>
        <di:waypoint xsi:type="dc:Point" x="1065.0" y="733.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_8"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_14" bpmnElement="SequenceFlow_13" sourceElement="BPMNShape_ExclusiveGateway_4" targetElement="BPMNShape_Task_3">
        <di:waypoint xsi:type="dc:Point" x="538.0" y="330.0"/>
        <di:waypoint xsi:type="dc:Point" x="365.0" y="330.0"/>
        <di:waypoint xsi:type="dc:Point" x="365.0" y="450.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_19">
          <dc:Bounds height="14.0" width="13.0" x="386.0" y="331.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_17" bpmnElement="SequenceFlow_16" sourceElement="BPMNShape_ExclusiveGateway_4" targetElement="BPMNShape_ExclusiveGateway_6">
        <di:waypoint xsi:type="dc:Point" x="588.0" y="330.0"/>
        <di:waypoint xsi:type="dc:Point" x="685.0" y="330.0"/>
        <di:waypoint xsi:type="dc:Point" x="685.0" y="683.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_21">
          <dc:Bounds height="14.0" width="26.0" x="673.0" y="459.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_2" bpmnElement="SequenceFlow_1" sourceElement="BPMNShape_ExclusiveGateway_3" targetElement="BPMNShape_Task_1">
        <di:waypoint xsi:type="dc:Point" x="853.0" y="733.0"/>
        <di:waypoint xsi:type="dc:Point" x="853.0" y="816.0"/>
        <di:waypoint xsi:type="dc:Point" x="853.0" y="900.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_22">
          <dc:Bounds height="14.0" width="13.0" x="847.0" y="818.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_6" bpmnElement="SequenceFlow_5" sourceElement="BPMNShape_ExclusiveGateway_3" targetElement="BPMNShape_ExclusiveGateway_5">
        <di:waypoint xsi:type="dc:Point" x="878.0" y="708.0"/>
        <di:waypoint xsi:type="dc:Point" x="959.0" y="708.0"/>
        <di:waypoint xsi:type="dc:Point" x="1040.0" y="708.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_27">
          <dc:Bounds height="14.0" width="26.0" x="947.0" y="709.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_7" bpmnElement="SequenceFlow_6" sourceElement="BPMNShape_ExclusiveGateway_6" targetElement="BPMNShape_IntermediateCatchEvent_4">
        <di:waypoint xsi:type="dc:Point" x="710.0" y="708.0"/>
        <di:waypoint xsi:type="dc:Point" x="729.0" y="708.0"/>
        <di:waypoint xsi:type="dc:Point" x="749.0" y="708.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_34"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_16" bpmnElement="SequenceFlow_15" sourceElement="BPMNShape_IntermediateCatchEvent_5" targetElement="BPMNShape_ExclusiveGateway_1">
        <di:waypoint xsi:type="dc:Point" x="155.0" y="288.0"/>
        <di:waypoint xsi:type="dc:Point" x="244.0" y="288.0"/>
        <di:waypoint xsi:type="dc:Point" x="244.0" y="230.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_40"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_19" bpmnElement="SequenceFlow_18" sourceElement="BPMNShape_IntermediateCatchEvent_4" targetElement="BPMNShape_ExclusiveGateway_3">
        <di:waypoint xsi:type="dc:Point" x="785.0" y="708.0"/>
        <di:waypoint xsi:type="dc:Point" x="806.0" y="708.0"/>
        <di:waypoint xsi:type="dc:Point" x="828.0" y="708.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_45"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_25" bpmnElement="SequenceFlow_24" sourceElement="BPMNShape_IntermediateCatchEvent_2" targetElement="BPMNShape_ExclusiveGateway_4">
        <di:waypoint xsi:type="dc:Point" x="563.0" y="223.0"/>
        <di:waypoint xsi:type="dc:Point" x="563.0" y="264.0"/>
        <di:waypoint xsi:type="dc:Point" x="563.0" y="305.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_54"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_Association_3" bpmnElement="Association_3" sourceElement="BPMNShape_TextAnnotation_2" targetElement="BPMNShape_Task_1">
        <di:waypoint xsi:type="dc:Point" x="741.0" y="901.0"/>
        <di:waypoint xsi:type="dc:Point" x="769.0" y="901.0"/>
        <di:waypoint xsi:type="dc:Point" x="769.0" y="916.0"/>
        <di:waypoint xsi:type="dc:Point" x="798.0" y="916.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_68"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_Association_4" bpmnElement="Association_4" sourceElement="BPMNShape_TextAnnotation_3" targetElement="BPMNShape_Task_9">
        <di:waypoint xsi:type="dc:Point" x="1087.0" y="1173.0"/>
        <di:waypoint xsi:type="dc:Point" x="1127.0" y="1173.0"/>
        <di:waypoint xsi:type="dc:Point" x="1127.0" y="1169.0"/>
        <di:waypoint xsi:type="dc:Point" x="1168.0" y="1169.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_6"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_13" bpmnElement="SequenceFlow_12" sourceElement="BPMNShape_IntermediateCatchEvent_27" targetElement="BPMNShape_ExclusiveGateway_2">
        <di:waypoint xsi:type="dc:Point" x="1365.0" y="1169.0"/>
        <di:waypoint xsi:type="dc:Point" x="1387.0" y="1169.0"/>
        <di:waypoint xsi:type="dc:Point" x="1410.0" y="1169.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_31"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_20" bpmnElement="SequenceFlow_19" sourceElement="BPMNShape_ExclusiveGateway_2" targetElement="BPMNShape_IntermediateCatchEvent_9">
        <di:waypoint xsi:type="dc:Point" x="1460.0" y="1169.0"/>
        <di:waypoint xsi:type="dc:Point" x="1520.0" y="1169.0"/>
        <di:waypoint xsi:type="dc:Point" x="1580.0" y="1169.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_46">
          <dc:Bounds height="42.0" width="80.0" x="1481.0" y="1170.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_23" bpmnElement="SequenceFlow_23" sourceElement="BPMNShape_IntermediateCatchEvent_9" targetElement="BPMNShape_Task_6">
        <di:waypoint xsi:type="dc:Point" x="1616.0" y="1169.0"/>
        <di:waypoint xsi:type="dc:Point" x="1644.0" y="1169.0"/>
        <di:waypoint xsi:type="dc:Point" x="1673.0" y="1169.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_48"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_26" bpmnElement="SequenceFlow_25" sourceElement="BPMNShape_ExclusiveGateway_2" targetElement="BPMNShape_Task_11">
        <di:waypoint xsi:type="dc:Point" x="1435.0" y="1194.0"/>
        <di:waypoint xsi:type="dc:Point" x="1435.0" y="1282.0"/>
        <di:waypoint xsi:type="dc:Point" x="1673.0" y="1282.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_49"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_21" bpmnElement="SequenceFlow_21" sourceElement="BPMNShape_IntermediateCatchEvent_11" targetElement="BPMNShape_ExclusiveGateway_1">
        <di:waypoint xsi:type="dc:Point" x="155.0" y="115.0"/>
        <di:waypoint xsi:type="dc:Point" x="244.0" y="115.0"/>
        <di:waypoint xsi:type="dc:Point" x="244.0" y="180.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_59"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_27" bpmnElement="SequenceFlow_26" sourceElement="BPMNShape_IntermediateCatchEvent_15" targetElement="BPMNShape_Task_3">
        <di:waypoint xsi:type="dc:Point" x="256.0" y="475.0"/>
        <di:waypoint xsi:type="dc:Point" x="283.0" y="475.0"/>
        <di:waypoint xsi:type="dc:Point" x="310.0" y="475.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_75"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_29" bpmnElement="SequenceFlow_28" sourceElement="BPMNShape_Task_3" targetElement="BPMNShape_IntermediateCatchEvent_16">
        <di:waypoint xsi:type="dc:Point" x="346.0" y="500.0"/>
        <di:waypoint xsi:type="dc:Point" x="346.0" y="517.0"/>
        <di:waypoint xsi:type="dc:Point" x="342.0" y="517.0"/>
        <di:waypoint xsi:type="dc:Point" x="342.0" y="534.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_77"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_35" bpmnElement="SequenceFlow_34" sourceElement="BPMNShape_IntermediateCatchEvent_16" targetElement="BPMNShape_Task_2">
        <di:waypoint xsi:type="dc:Point" x="342.0" y="570.0"/>
        <di:waypoint xsi:type="dc:Point" x="342.0" y="699.0"/>
        <di:waypoint xsi:type="dc:Point" x="370.0" y="699.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_78"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_36" bpmnElement="SequenceFlow_35" sourceElement="BPMNShape_IntermediateCatchEvent_18" targetElement="BPMNShape_IntermediateThrowEvent_5">
        <di:waypoint xsi:type="dc:Point" x="506.0" y="475.0"/>
        <di:waypoint xsi:type="dc:Point" x="541.0" y="475.0"/>
        <di:waypoint xsi:type="dc:Point" x="577.0" y="475.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_83"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_37" bpmnElement="SequenceFlow_36" sourceElement="BPMNShape_Task_3" targetElement="BPMNShape_IntermediateCatchEvent_18">
        <di:waypoint xsi:type="dc:Point" x="420.0" y="466.0"/>
        <di:waypoint xsi:type="dc:Point" x="445.0" y="466.0"/>
        <di:waypoint xsi:type="dc:Point" x="445.0" y="475.0"/>
        <di:waypoint xsi:type="dc:Point" x="470.0" y="475.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_84"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_40" bpmnElement="SequenceFlow_39" sourceElement="BPMNShape_IntermediateCatchEvent_19" targetElement="BPMNShape_Task_4">
        <di:waypoint xsi:type="dc:Point" x="1619.0" y="1377.0"/>
        <di:waypoint xsi:type="dc:Point" x="1646.0" y="1377.0"/>
        <di:waypoint xsi:type="dc:Point" x="1673.0" y="1377.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_94"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_41" bpmnElement="SequenceFlow_40" sourceElement="BPMNShape_Task_4" targetElement="BPMNShape_EndEvent_1">
        <di:waypoint xsi:type="dc:Point" x="1783.0" y="1377.0"/>
        <di:waypoint xsi:type="dc:Point" x="1813.0" y="1377.0"/>
        <di:waypoint xsi:type="dc:Point" x="1843.0" y="1377.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_95"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_42" bpmnElement="SequenceFlow_41" sourceElement="BPMNShape_IntermediateCatchEvent_8" targetElement="BPMNShape_Task_3">
        <di:waypoint xsi:type="dc:Point" x="517.0" y="629.0"/>
        <di:waypoint xsi:type="dc:Point" x="383.0" y="629.0"/>
        <di:waypoint xsi:type="dc:Point" x="383.0" y="500.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_96"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_12" bpmnElement="SequenceFlow_11" sourceElement="BPMNShape_IntermediateCatchEvent_3" targetElement="BPMNShape_Task_3">
        <di:waypoint xsi:type="dc:Point" x="470.0" y="548.0"/>
        <di:waypoint xsi:type="dc:Point" x="445.0" y="548.0"/>
        <di:waypoint xsi:type="dc:Point" x="445.0" y="483.0"/>
        <di:waypoint xsi:type="dc:Point" x="420.0" y="483.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_41"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_15" bpmnElement="SequenceFlow_14" sourceElement="BPMNShape_Task_6" targetElement="BPMNShape_IntermediateCatchEvent_20">
        <di:waypoint xsi:type="dc:Point" x="1783.0" y="1169.0"/>
        <di:waypoint xsi:type="dc:Point" x="1805.0" y="1169.0"/>
        <di:waypoint xsi:type="dc:Point" x="1828.0" y="1169.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_97"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_43" bpmnElement="SequenceFlow_42" sourceElement="BPMNShape_IntermediateCatchEvent_20" targetElement="BPMNShape_Task_7">
        <di:waypoint xsi:type="dc:Point" x="1864.0" y="1169.0"/>
        <di:waypoint xsi:type="dc:Point" x="1887.0" y="1169.0"/>
        <di:waypoint xsi:type="dc:Point" x="1910.0" y="1169.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_98"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_44" bpmnElement="SequenceFlow_43" sourceElement="BPMNShape_Task_7" targetElement="BPMNShape_IntermediateCatchEvent_21">
        <di:waypoint xsi:type="dc:Point" x="2020.0" y="1169.0"/>
        <di:waypoint xsi:type="dc:Point" x="2050.0" y="1169.0"/>
        <di:waypoint xsi:type="dc:Point" x="2080.0" y="1169.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_101"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_45" bpmnElement="SequenceFlow_44" sourceElement="BPMNShape_IntermediateCatchEvent_21" targetElement="BPMNShape_Task_11">
        <di:waypoint xsi:type="dc:Point" x="2098.0" y="1187.0"/>
        <di:waypoint xsi:type="dc:Point" x="2098.0" y="1222.0"/>
        <di:waypoint xsi:type="dc:Point" x="1728.0" y="1222.0"/>
        <di:waypoint xsi:type="dc:Point" x="1728.0" y="1257.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_102"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_28" bpmnElement="SequenceFlow_27" sourceElement="BPMNShape_Task_7" targetElement="BPMNShape_IntermediateCatchEvent_14">
        <di:waypoint xsi:type="dc:Point" x="1965.0" y="1144.0"/>
        <di:waypoint xsi:type="dc:Point" x="1965.0" y="1091.0"/>
        <di:waypoint xsi:type="dc:Point" x="1864.0" y="1091.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_56"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_46" bpmnElement="SequenceFlow_45" sourceElement="BPMNShape_IntermediateCatchEvent_14" targetElement="BPMNShape_Task_6">
        <di:waypoint xsi:type="dc:Point" x="1828.0" y="1091.0"/>
        <di:waypoint xsi:type="dc:Point" x="1728.0" y="1091.0"/>
        <di:waypoint xsi:type="dc:Point" x="1728.0" y="1144.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_103"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_Association_1" bpmnElement="Association_1" sourceElement="BPMNShape_TextAnnotation_4" targetElement="BPMNShape_IntermediateCatchEvent_7">
        <di:waypoint xsi:type="dc:Point" x="744.0" y="645.0"/>
        <di:waypoint xsi:type="dc:Point" x="608.0" y="645.0"/>
        <di:waypoint xsi:type="dc:Point" x="608.0" y="690.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_108"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_5" bpmnElement="SequenceFlow_4" sourceElement="BPMNShape_ExclusiveGateway_5" targetElement="BPMNShape_Task_9">
        <di:waypoint xsi:type="dc:Point" x="1090.0" y="708.0"/>
        <di:waypoint xsi:type="dc:Point" x="1204.0" y="708.0"/>
        <di:waypoint xsi:type="dc:Point" x="1204.0" y="1144.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_26"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_51" bpmnElement="SequenceFlow_50" sourceElement="BPMNShape_Task_9" targetElement="BPMNShape_IntermediateCatchEvent_23">
        <di:waypoint xsi:type="dc:Point" x="1241.0" y="1144.0"/>
        <di:waypoint xsi:type="dc:Point" x="1241.0" y="1108.0"/>
        <di:waypoint xsi:type="dc:Point" x="1329.0" y="1108.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_118"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_54" bpmnElement="SequenceFlow_53" sourceElement="BPMNShape_IntermediateCatchEvent_23" targetElement="BPMNShape_ExclusiveGateway_2">
        <di:waypoint xsi:type="dc:Point" x="1365.0" y="1108.0"/>
        <di:waypoint xsi:type="dc:Point" x="1435.0" y="1108.0"/>
        <di:waypoint xsi:type="dc:Point" x="1435.0" y="1144.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_119"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_55" bpmnElement="SequenceFlow_54" sourceElement="BPMNShape_EventBasedGateway_2" targetElement="BPMNShape_IntermediateCatchEvent_24">
        <di:waypoint xsi:type="dc:Point" x="535.0" y="733.0"/>
        <di:waypoint xsi:type="dc:Point" x="535.0" y="792.0"/>
        <di:waypoint xsi:type="dc:Point" x="590.0" y="792.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_121"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_57" bpmnElement="SequenceFlow_56" sourceElement="BPMNShape_IntermediateCatchEvent_24" targetElement="BPMNShape_IntermediateThrowEvent_2">
        <di:waypoint xsi:type="dc:Point" x="626.0" y="792.0"/>
        <di:waypoint xsi:type="dc:Point" x="656.0" y="792.0"/>
        <di:waypoint xsi:type="dc:Point" x="686.0" y="793.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_123"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_4" bpmnElement="SequenceFlow_3" sourceElement="BPMNShape_IntermediateCatchEvent_10" targetElement="BPMNShape_Task_1">
        <di:waypoint xsi:type="dc:Point" x="718.0" y="974.0"/>
        <di:waypoint xsi:type="dc:Point" x="718.0" y="933.0"/>
        <di:waypoint xsi:type="dc:Point" x="798.0" y="933.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_51"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_Association_5" bpmnElement="Association_5" sourceElement="BPMNShape_DataObject_2" targetElement="BPMNShape_Task_2">
        <di:waypoint xsi:type="dc:Point" x="246.0" y="708.0"/>
        <di:waypoint xsi:type="dc:Point" x="308.0" y="708.0"/>
        <di:waypoint xsi:type="dc:Point" x="308.0" y="716.0"/>
        <di:waypoint xsi:type="dc:Point" x="370.0" y="716.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_70"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_11" bpmnElement="SequenceFlow_9" sourceElement="BPMNShape_Task_8" targetElement="BPMNShape_EndEvent_3">
        <di:waypoint xsi:type="dc:Point" x="1783.0" y="1467.0"/>
        <di:waypoint xsi:type="dc:Point" x="1813.0" y="1467.0"/>
        <di:waypoint xsi:type="dc:Point" x="1843.0" y="1467.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_73"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_18" bpmnElement="SequenceFlow_17" sourceElement="BPMNShape_IntermediateCatchEvent_12" targetElement="BPMNShape_Task_8">
        <di:waypoint xsi:type="dc:Point" x="1616.0" y="1467.0"/>
        <di:waypoint xsi:type="dc:Point" x="1644.0" y="1467.0"/>
        <di:waypoint xsi:type="dc:Point" x="1673.0" y="1467.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_105"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_22" bpmnElement="SequenceFlow_22" sourceElement="BPMNShape_Task_5" targetElement="BPMNShape_EventBasedGateway_1">
        <di:waypoint xsi:type="dc:Point" x="418.0" y="205.0"/>
        <di:waypoint xsi:type="dc:Point" x="439.0" y="205.0"/>
        <di:waypoint xsi:type="dc:Point" x="460.0" y="205.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_113"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_47" bpmnElement="SequenceFlow_46" sourceElement="BPMNShape_EventBasedGateway_1" targetElement="BPMNShape_IntermediateCatchEvent_2">
        <di:waypoint xsi:type="dc:Point" x="510.0" y="205.0"/>
        <di:waypoint xsi:type="dc:Point" x="527.0" y="205.0"/>
        <di:waypoint xsi:type="dc:Point" x="545.0" y="205.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_124"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_49" bpmnElement="SequenceFlow_48" sourceElement="BPMNShape_IntermediateCatchEvent_22" targetElement="BPMNShape_IntermediateThrowEvent_3">
        <di:waypoint xsi:type="dc:Point" x="582.0" y="136.0"/>
        <di:waypoint xsi:type="dc:Point" x="617.0" y="136.0"/>
        <di:waypoint xsi:type="dc:Point" x="653.0" y="136.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_127"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_50" bpmnElement="SequenceFlow_49" sourceElement="BPMNShape_EventBasedGateway_1" targetElement="BPMNShape_IntermediateCatchEvent_22">
        <di:waypoint xsi:type="dc:Point" x="485.0" y="180.0"/>
        <di:waypoint xsi:type="dc:Point" x="485.0" y="136.0"/>
        <di:waypoint xsi:type="dc:Point" x="546.0" y="136.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_128"/>
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
    <bpmndi:BPMNLabelStyle id="BPMNLabelStyle_1">
      <dc:Font name="arial" size="9.0"/>
    </bpmndi:BPMNLabelStyle>
  </bpmndi:BPMNDiagram>
</bpmn2:definitions>