<?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:imixs="http://www.imixs.org/bpmn2" xmlns:tl="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="txtfieldmapping" type="xs:string">
      <imixs:value><![CDATA[Ersteller | namCreator]]></imixs:value>
      <imixs:value><![CDATA[Aktueller Bearbeiter | namCurrentEditor]]></imixs:value>
      <imixs:value><![CDATA[Eigentümer | namowner]]></imixs:value>
      <imixs:value><![CDATA[Prozess-Verantwortliche| namprocessmanager]]></imixs:value>
      <imixs:value><![CDATA[Prozess-Team | namprocessteam]]></imixs:value>
      <imixs:value><![CDATA[Prozess-Assistenz | namprocessassist]]></imixs:value>
      <imixs:value><![CDATA[Bereichs-Verantwortliche | namspacemanager]]></imixs:value>
      <imixs:value><![CDATA[Bereichs-Team | namspaceteam]]></imixs:value>
      <imixs:value><![CDATA[Bereichs-Assistenz | namspaceassist]]></imixs:value>
      <imixs:value><![CDATA[Verantwortlich | namteam]]></imixs:value>
    </imixs:item>
    <imixs:item name="txttimefieldmapping" type="xs:string">
      <imixs:value><![CDATA[Vertragsbeginn | contract.start]]></imixs:value>
      <imixs:value><![CDATA[Vertragsende | contract.end]]></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.workflow.engine.plugins.SplitAndJoinPlugin]]></imixs:value>
      <imixs:value><![CDATA[org.imixs.marty.plugins.MailPlugin]]></imixs:value>
    </imixs:item>
    <imixs:item name="txtworkflowmodelversion" type="xs:string">
      <imixs:value><![CDATA[posteingang-de-1.0]]></imixs:value>
    </imixs:item>
  </bpmn2:extensionElements>
  <bpmn2:signal id="Signal_1" name="org.imixs.archive.documents.OCRDocumentAdapter"/>
  <bpmn2:signal id="Signal_2" name="org.imixs.ml.workflow.MLAdapter"/>
  <bpmn2:signal id="Signal_3" name="com.alexanderlogistics.XMLPDFAdapter"/>
  <bpmn2:collaboration id="Collaboration_1" name="Default Collaboration">
    <bpmn2:participant id="Participant_1" name="Posteingang" processRef="Process_1"/>
    <bpmn2:textAnnotation id="TextAnnotation_1">
      <bpmn2:text>For the OCR Adapter the following minimal options should be set:

 * X-Tika-PDFocrStrategy=OCR_AND_TEXT_EXTRACTION
 * X-Tika-OCRLanguage=eng+deu

These options allow OCR and text extraction suporting English and German language.

Additional Tika Options can be set but are NOT needed in most cases:

 *  X-Tika-PDFOcrImageType=RGB    (setting the RGB color mode)
 *  X-Tika-PDFOcrDPI=400             (setting DPI)

Setting the OcrDPI is only recommended if the DPI is know!

Possible ImageTypes are:

 * ARGB  Alpha, Red, Green, Blue
 * BINARY   Black or white.
 * GRAY      Shades of gray
 * RGB      Red, Green, Blue
</bpmn2:text>
    </bpmn2:textAnnotation>
  </bpmn2:collaboration>
  <bpmn2:process id="Process_1" name="Posteingang" definitionalCollaborationRef="Collaboration_1" isExecutable="false">
    <bpmn2:laneSet id="LaneSet_1" name="Lane Set 1">
      <bpmn2:lane id="Lane_2" name="Empfang">
        <bpmn2:flowNodeRef>BoundaryEvent_1</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>BoundaryEvent_2</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>BoundaryEvent_3</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>Task_4</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>IntermediateCatchEvent_2</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>ExclusiveGateway_2</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>Task_1</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>IntermediateCatchEvent_7</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>IntermediateCatchEvent_10</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>IntermediateCatchEvent_6</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>IntermediateCatchEvent_5</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>IntermediateCatchEvent_11</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>IntermediateCatchEvent_12</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>ExclusiveGateway_1</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>Task_5</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>Task_2</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>Task_6</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>IntermediateCatchEvent_9</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>IntermediateCatchEvent_13</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>IntermediateCatchEvent_3</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>IntermediateCatchEvent_4</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>StartEvent_1</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>IntermediateCatchEvent_8</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>EndEvent_1</bpmn2:flowNodeRef>
      </bpmn2:lane>
    </bpmn2:laneSet>
    <bpmn2:task id="Task_1" imixs:processid="100" name="Erfassung">
      <bpmn2:extensionElements>
        <imixs:item name="txteditorid" type="xs:string">
          <imixs:value><![CDATA[form_basic]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtworkflowabstract" type="xs:string">
          <imixs:value><![CDATA[]]></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-contacts]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtworkflowsummary" type="xs:string">
          <imixs:value><![CDATA[]]></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:item name="txttype" type="xs:string">
          <imixs:value><![CDATA[workitem]]></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_13</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_3</bpmn2:outgoing>
    </bpmn2:task>
    <bpmn2:exclusiveGateway id="ExclusiveGateway_1" gatewayDirection="Diverging">
      <bpmn2:incoming>SequenceFlow_3</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_1</bpmn2:outgoing>
      <bpmn2:outgoing>SequenceFlow_5</bpmn2:outgoing>
      <bpmn2:outgoing>SequenceFlow_14</bpmn2:outgoing>
    </bpmn2:exclusiveGateway>
    <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_2" imixs:activityid="20" name="Rechnungseingang">
      <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: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: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="process">Empfang</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[Vertrag abgeschlossen]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyupdateacl" type="xs:boolean">
          <imixs:value>false</imixs:value>
        </imixs:item>
      </bpmn2:extensionElements>
      <bpmn2:documentation id="Documentation_6"><![CDATA[Digitalisierung einer neuen Eingangsrechnung]]></bpmn2:documentation>
      <bpmn2:incoming>SequenceFlow_1</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_4</bpmn2:outgoing>
    </bpmn2:intermediateCatchEvent>
    <bpmn2:sequenceFlow id="SequenceFlow_1" sourceRef="ExclusiveGateway_1" targetRef="IntermediateCatchEvent_2"/>
    <bpmn2:sequenceFlow id="SequenceFlow_3" sourceRef="Task_1" targetRef="ExclusiveGateway_1"/>
    <bpmn2:startEvent id="StartEvent_1" name="Start">
      <bpmn2:outgoing>SequenceFlow_13</bpmn2:outgoing>
    </bpmn2:startEvent>
    <bpmn2:task id="Task_2" imixs:processid="101" name="Rechnung Analyse">
      <bpmn2:extensionElements>
        <imixs:item name="txteditorid" type="xs:string">
          <imixs:value><![CDATA[form_panel_documentviewer]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtworkflowabstract" type="xs:string">
          <imixs:value><![CDATA[]]></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[in Verarbeitung...]]></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:item name="txttype" type="xs:string">
          <imixs:value><![CDATA[workitem]]></imixs:value>
        </imixs:item>
      </bpmn2:extensionElements>
      <bpmn2:documentation id="Documentation_13"><![CDATA[<h3>Rechnungseingangskontrolle</h3>
<p>Der Workflow 'Rechnungseingang' beschreibt beispielhaft einen Ablauf zur Prüfung von Eingangsrechnungen.<p>

<ul>
	<li>Nach Erhalt einer Rechnung (z.B. Post, E-Mail, Fax,...) wird diese in das Workflowsystem übertragen und der Prozess Rechnungseingang gestartet.</li>

	<li>Die Rechnung wird wahlweise eingescannt und über den Abschnitt 'Dokumente'  an den Vorgang hinzugefügt.</li>

	<li>In diesem Beispiel wird die Rechnung einem zuvor ausgewählten Mitarbeiter zur Prüfung vorgelegt.</li>

	<li>Nach positiver Prüfung werden die Rechnungsdaten (Zahlungsziel, Bankverbindung) vom Controlling im System erfasst und auf das Zahlungsziel gewartet.</li>
	
	<li>Nach Erreichen des Zahlungsziels wird der Vorgang automatisch dem Controlling erneut zur abschließenden Bearbeitung vorgelegt.</li>

</ul>
<h3>Der Workflow</h3>

<p>Eingangsrechnungen können über eine E-Mailschnittstelle oder das Filesystem automatisch eingelesen werden. Eine Eingangsrechnung wird in diesem Beispiel vom zugewiesenen Mitarbeiter sowie den Prozessverantworltichen (Controlling) bearbeitet. </p>]]></bpmn2:documentation>
      <bpmn2:incoming>SequenceFlow_4</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_9</bpmn2:outgoing>
    </bpmn2:task>
    <bpmn2:sequenceFlow id="SequenceFlow_4" sourceRef="IntermediateCatchEvent_2" targetRef="Task_2"/>
    <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_3" imixs:activityid="10" name="OCR">
      <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[namCreator]]></imixs:value>
          <imixs:value><![CDATA[namCurrentEditor]]></imixs:value>
          <imixs:value><![CDATA[namprocessmanager]]></imixs:value>
          <imixs:value><![CDATA[namprocessteam]]></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[namCurrentEditor]]></imixs:value>
          <imixs:value><![CDATA[namCreator]]></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"/>
<!-- Tika Options -->

<tika name="options">X-Tika-OCRLanguage=eng+deu</tika>

]]></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[OCR Processing]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyupdateacl" type="xs:boolean">
          <imixs:value>false</imixs:value>
        </imixs:item>
      </bpmn2:extensionElements>
      <bpmn2:documentation id="Documentation_4"><![CDATA[Zwischenspeichern]]></bpmn2:documentation>
      <bpmn2:incoming>SequenceFlow_9</bpmn2:incoming>
      <bpmn2:incoming>SequenceFlow_2</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_6</bpmn2:outgoing>
      <bpmn2:dataOutput id="DataOutput_1" name="Signal_1_Output"/>
      <bpmn2:dataOutputAssociation id="DataOutputAssociation_1">
        <bpmn2:sourceRef>DataOutput_1</bpmn2:sourceRef>
      </bpmn2:dataOutputAssociation>
      <bpmn2:outputSet id="OutputSet_1" name="Output Set 1">
        <bpmn2:dataOutputRefs>DataOutput_1</bpmn2:dataOutputRefs>
      </bpmn2:outputSet>
      <bpmn2:signalEventDefinition id="SignalEventDefinition_1" signalRef="Signal_1"/>
    </bpmn2:intermediateCatchEvent>
    <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_4" imixs:activityid="20" name="Imixs-ML Invoice">
      <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[namCreator]]></imixs:value>
          <imixs:value><![CDATA[namCurrentEditor]]></imixs:value>
          <imixs:value><![CDATA[namprocessmanager]]></imixs:value>
          <imixs:value><![CDATA[namprocessteam]]></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[namCurrentEditor]]></imixs:value>
          <imixs:value><![CDATA[namCreator]]></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[<ml-config name="entity">
    <name>invoice.total</name>
    <type>currency</type>
</ml-config>
<ml-config name="entity">
    <name>invoice.number</name>
    <type>text</type>
</ml-config>
<ml-config name="entity">
    <name>invoice.date</name>
    <type>date</type>
</ml-config>
<ml-config name="entity">
    <name>cdtr.name</name>
    <type>text</type>
</ml-config>
<ml-config name="entity">
    <name>cdtr.iban</name>
    <type>text</type>
</ml-config>
<ml-config name="entity">
    <name>cdtr.bic</name>
    <type>text</type>
</ml-config>
]]></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[ML Processing]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyupdateacl" type="xs:boolean">
          <imixs:value>false</imixs:value>
        </imixs:item>
      </bpmn2:extensionElements>
      <bpmn2:documentation id="Documentation_7"><![CDATA[Zwischenspeichern]]></bpmn2:documentation>
      <bpmn2:incoming>SequenceFlow_6</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_7</bpmn2:outgoing>
      <bpmn2:dataOutput id="DataOutput_2" name="Signal_2_Output"/>
      <bpmn2:dataOutputAssociation id="DataOutputAssociation_2">
        <bpmn2:sourceRef>DataOutput_2</bpmn2:sourceRef>
      </bpmn2:dataOutputAssociation>
      <bpmn2:outputSet id="OutputSet_2" name="Output Set 1">
        <bpmn2:dataOutputRefs>DataOutput_2</bpmn2:dataOutputRefs>
      </bpmn2:outputSet>
      <bpmn2:signalEventDefinition id="SignalEventDefinition_2" signalRef="Signal_2"/>
    </bpmn2:intermediateCatchEvent>
    <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_5" imixs:activityid="30" name="Start Rechnungseingang">
      <bpmn2:extensionElements>
        <imixs:item name="rtfresultlog" type="CDATA">
          <imixs:value><![CDATA[Rechnungseingang gestartet]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtactivityresult" type="CDATA">
          <imixs:value><![CDATA[<model>     
     <version>rechnungseingang-de-1.0</version>
     <task>5000</task>
     <event>990</event>
 </model>]]></imixs:value>
        </imixs:item>
        <imixs:item name="keypublicresult" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
      </bpmn2:extensionElements>
      <bpmn2:incoming>SequenceFlow_7</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_10</bpmn2:outgoing>
      <bpmn2:linkEventDefinition id="LinkEventDefinition_1" name="Link Event Definition 9"/>
    </bpmn2:intermediateCatchEvent>
    <bpmn2:sequenceFlow id="SequenceFlow_6" sourceRef="IntermediateCatchEvent_3" targetRef="IntermediateCatchEvent_4"/>
    <bpmn2:sequenceFlow id="SequenceFlow_7" sourceRef="IntermediateCatchEvent_4" targetRef="IntermediateCatchEvent_5"/>
    <bpmn2:sequenceFlow id="SequenceFlow_9" sourceRef="Task_2" targetRef="IntermediateCatchEvent_3"/>
    <bpmn2:task id="Task_4" imixs:processid="190" name="Abgeschlossen">
      <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[]]></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-contacts|typcn-times,imixs-error,icon-sub-ne]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtworkflowsummary" type="xs:string">
          <imixs:value><![CDATA[]]></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[namCreator]]></imixs:value>
          <imixs:value><![CDATA[namprocessmanager]]></imixs:value>
          <imixs:value><![CDATA[namprocessteam]]></imixs:value>
          <imixs:value><![CDATA[namspacemanager]]></imixs:value>
          <imixs:value><![CDATA[namspaceteam]]></imixs:value>
        </imixs:item>
        <imixs:item name="txttype" type="xs:string">
          <imixs:value><![CDATA[import]]></imixs:value>
        </imixs:item>
      </bpmn2:extensionElements>
      <bpmn2:documentation id="Documentation_17"><![CDATA[<textblock><itemvalue>$workflowgroup</itemvalue> - <itemvalue>$workflowstatus</itemvalue></textblock>]]></bpmn2:documentation>
      <bpmn2:incoming>SequenceFlow_11</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_12</bpmn2:outgoing>
    </bpmn2:task>
    <bpmn2:exclusiveGateway id="ExclusiveGateway_2" gatewayDirection="Converging">
      <bpmn2:incoming>SequenceFlow_10</bpmn2:incoming>
      <bpmn2:incoming>SequenceFlow_22</bpmn2:incoming>
      <bpmn2:incoming>SequenceFlow_24</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_11</bpmn2:outgoing>
    </bpmn2:exclusiveGateway>
    <bpmn2:sequenceFlow id="SequenceFlow_10" sourceRef="IntermediateCatchEvent_5" targetRef="ExclusiveGateway_2"/>
    <bpmn2:sequenceFlow id="SequenceFlow_11" sourceRef="ExclusiveGateway_2" targetRef="Task_4"/>
    <bpmn2:endEvent id="EndEvent_1" name="End">
      <bpmn2:incoming>SequenceFlow_12</bpmn2:incoming>
    </bpmn2:endEvent>
    <bpmn2:sequenceFlow id="SequenceFlow_12" sourceRef="Task_4" targetRef="EndEvent_1"/>
    <bpmn2:sequenceFlow id="SequenceFlow_13" sourceRef="StartEvent_1" targetRef="Task_1"/>
    <bpmn2:task id="Task_5" imixs:processid="390" name="Erfassung">
      <bpmn2:extensionElements>
        <imixs:item name="txteditorid" type="xs:string">
          <imixs:value><![CDATA[form_basic]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtworkflowabstract" type="xs:string">
          <imixs:value><![CDATA[]]></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-contacts]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtworkflowsummary" type="xs:string">
          <imixs:value><![CDATA[in Verarbeitung...]]></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:item name="txttype" type="xs:string">
          <imixs:value><![CDATA[workitem]]></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_15</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_18</bpmn2:outgoing>
    </bpmn2:task>
    <bpmn2:task id="Task_6" imixs:processid="490" name="Bestellung">
      <bpmn2:extensionElements>
        <imixs:item name="txteditorid" type="xs:string">
          <imixs:value><![CDATA[form_basic]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtworkflowabstract" type="xs:string">
          <imixs:value><![CDATA[]]></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-contacts]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtworkflowsummary" type="xs:string">
          <imixs:value><![CDATA[in Verarbeitung...]]></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:item name="txttype" type="xs:string">
          <imixs:value><![CDATA[workitem]]></imixs:value>
        </imixs:item>
      </bpmn2:extensionElements>
      <bpmn2:documentation id="Documentation_16"><![CDATA[<textblock><itemvalue>$workflowgroup</itemvalue> - <itemvalue>$workflowstatus</itemvalue></textblock>]]></bpmn2:documentation>
      <bpmn2:incoming>SequenceFlow_16</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_20</bpmn2:outgoing>
    </bpmn2:task>
    <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_6" imixs:activityid="30" name="Vertrag">
      <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: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[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="process">Empfang</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[Vertrag abgeschlossen]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyupdateacl" type="xs:boolean">
          <imixs:value>false</imixs:value>
        </imixs:item>
      </bpmn2:extensionElements>
      <bpmn2:documentation id="Documentation_20"><![CDATA[Digitalisierung einer neuen Eingangsrechnung]]></bpmn2:documentation>
      <bpmn2:incoming>SequenceFlow_5</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_15</bpmn2:outgoing>
    </bpmn2:intermediateCatchEvent>
    <bpmn2:sequenceFlow id="SequenceFlow_5" sourceRef="ExclusiveGateway_1" targetRef="IntermediateCatchEvent_6"/>
    <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_7" imixs:activityid="40" name="Bestellung">
      <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: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[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="process">Empfang</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[Vertrag abgeschlossen]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyupdateacl" type="xs:boolean">
          <imixs:value>false</imixs:value>
        </imixs:item>
      </bpmn2:extensionElements>
      <bpmn2:documentation id="Documentation_24"><![CDATA[Digitalisierung einer neuen Eingangsrechnung]]></bpmn2:documentation>
      <bpmn2:incoming>SequenceFlow_14</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_16</bpmn2:outgoing>
    </bpmn2:intermediateCatchEvent>
    <bpmn2:sequenceFlow id="SequenceFlow_14" sourceRef="ExclusiveGateway_1" targetRef="IntermediateCatchEvent_7"/>
    <bpmn2:sequenceFlow id="SequenceFlow_15" sourceRef="IntermediateCatchEvent_6" targetRef="Task_5"/>
    <bpmn2:sequenceFlow id="SequenceFlow_16" sourceRef="IntermediateCatchEvent_7" targetRef="Task_6"/>
    <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_8" imixs:activityid="10" name="OCR">
      <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[namCreator]]></imixs:value>
          <imixs:value><![CDATA[namCurrentEditor]]></imixs:value>
          <imixs:value><![CDATA[namprocessmanager]]></imixs:value>
          <imixs:value><![CDATA[namprocessteam]]></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[namCurrentEditor]]></imixs:value>
          <imixs:value><![CDATA[namCreator]]></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"/>
<!-- Tika Options : OCR_AND_TEXT_EXTRACTION  ocr_only   -->
<tika name="options">X-Tika-PDFocrStrategy=OCR_AND_TEXT_EXTRACTION</tika>
<tika name="options">X-Tika-OCRLanguage=eng+deu</tika>
]]></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[OCR Processing]]></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[Zwischenspeichern]]></bpmn2:documentation>
      <bpmn2:incoming>SequenceFlow_18</bpmn2:incoming>
      <bpmn2:incoming>SequenceFlow_8</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_17</bpmn2:outgoing>
      <bpmn2:dataOutput id="DataOutput_3" name="Signal_1_Output"/>
      <bpmn2:dataOutputAssociation id="DataOutputAssociation_3">
        <bpmn2:sourceRef>DataOutput_3</bpmn2:sourceRef>
      </bpmn2:dataOutputAssociation>
      <bpmn2:outputSet id="OutputSet_3" name="Output Set 1">
        <bpmn2:dataOutputRefs>DataOutput_3</bpmn2:dataOutputRefs>
      </bpmn2:outputSet>
      <bpmn2:signalEventDefinition id="SignalEventDefinition_3" signalRef="Signal_1"/>
    </bpmn2:intermediateCatchEvent>
    <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_9" imixs:activityid="20" name="Imixs-ML Invoice">
      <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[namCreator]]></imixs:value>
          <imixs:value><![CDATA[namCurrentEditor]]></imixs:value>
          <imixs:value><![CDATA[namprocessmanager]]></imixs:value>
          <imixs:value><![CDATA[namprocessteam]]></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[namCurrentEditor]]></imixs:value>
          <imixs:value><![CDATA[namCreator]]></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[<ml-config name="entity">
    <name>invoice.total</name>
    <type>currency</type>
</ml-config>
<ml-config name="entity">
    <name>invoice.number</name>
    <type>text</type>
</ml-config>
<ml-config name="entity">
    <name>invoice.date</name>
    <type>date</type>
</ml-config>
]]></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[ML Processing]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyupdateacl" type="xs:boolean">
          <imixs:value>false</imixs:value>
        </imixs:item>
      </bpmn2:extensionElements>
      <bpmn2:documentation id="Documentation_30"><![CDATA[Zwischenspeichern]]></bpmn2:documentation>
      <bpmn2:incoming>SequenceFlow_17</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_21</bpmn2:outgoing>
      <bpmn2:dataOutput id="DataOutput_4" name="Signal_2_Output"/>
      <bpmn2:dataOutputAssociation id="DataOutputAssociation_4">
        <bpmn2:sourceRef>DataOutput_4</bpmn2:sourceRef>
      </bpmn2:dataOutputAssociation>
      <bpmn2:outputSet id="OutputSet_4" name="Output Set 1">
        <bpmn2:dataOutputRefs>DataOutput_4</bpmn2:dataOutputRefs>
      </bpmn2:outputSet>
      <bpmn2:signalEventDefinition id="SignalEventDefinition_4" signalRef="Signal_2"/>
    </bpmn2:intermediateCatchEvent>
    <bpmn2:sequenceFlow id="SequenceFlow_17" sourceRef="IntermediateCatchEvent_8" targetRef="IntermediateCatchEvent_9"/>
    <bpmn2:sequenceFlow id="SequenceFlow_18" sourceRef="Task_5" targetRef="IntermediateCatchEvent_8"/>
    <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_10" imixs:activityid="10" name="OCR">
      <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[namCreator]]></imixs:value>
          <imixs:value><![CDATA[namCurrentEditor]]></imixs:value>
          <imixs:value><![CDATA[namprocessmanager]]></imixs:value>
          <imixs:value><![CDATA[namprocessteam]]></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[namCurrentEditor]]></imixs:value>
          <imixs:value><![CDATA[namCreator]]></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"/>
<!-- Tika Options -->
<tika name="options">X-Tika-PDFocrStrategy=OCR_AND_TEXT_EXTRACTION</tika>
<tika name="options">X-Tika-OCRLanguage=eng+deu</tika>
]]></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[OCR Processing]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyupdateacl" type="xs:boolean">
          <imixs:value>false</imixs:value>
        </imixs:item>
      </bpmn2:extensionElements>
      <bpmn2:documentation id="Documentation_33"><![CDATA[Zwischenspeichern]]></bpmn2:documentation>
      <bpmn2:incoming>SequenceFlow_20</bpmn2:incoming>
      <bpmn2:incoming>SequenceFlow_25</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_19</bpmn2:outgoing>
      <bpmn2:dataOutput id="DataOutput_5" name="Signal_1_Output"/>
      <bpmn2:dataOutputAssociation id="DataOutputAssociation_5">
        <bpmn2:sourceRef>DataOutput_5</bpmn2:sourceRef>
      </bpmn2:dataOutputAssociation>
      <bpmn2:outputSet id="OutputSet_5" name="Output Set 1">
        <bpmn2:dataOutputRefs>DataOutput_5</bpmn2:dataOutputRefs>
      </bpmn2:outputSet>
      <bpmn2:signalEventDefinition id="SignalEventDefinition_5" signalRef="Signal_1"/>
    </bpmn2:intermediateCatchEvent>
    <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_11" imixs:activityid="20" name="Imixs-ML Invoice">
      <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[namCreator]]></imixs:value>
          <imixs:value><![CDATA[namCurrentEditor]]></imixs:value>
          <imixs:value><![CDATA[namprocessmanager]]></imixs:value>
          <imixs:value><![CDATA[namprocessteam]]></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[namCurrentEditor]]></imixs:value>
          <imixs:value><![CDATA[namCreator]]></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[<ml-config name="entity">
    <name>invoice.total</name>
    <type>currency</type>
</ml-config>
<ml-config name="entity">
    <name>invoice.number</name>
    <type>text</type>
</ml-config>
<ml-config name="entity">
    <name>invoice.date</name>
    <type>date</type>
</ml-config>
]]></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[ML Processing]]></imixs:value>
        </imixs:item>
        <imixs:item name="keyupdateacl" type="xs:boolean">
          <imixs:value>false</imixs:value>
        </imixs:item>
      </bpmn2:extensionElements>
      <bpmn2:documentation id="Documentation_34"><![CDATA[Zwischenspeichern]]></bpmn2:documentation>
      <bpmn2:incoming>SequenceFlow_19</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_23</bpmn2:outgoing>
      <bpmn2:dataOutput id="DataOutput_6" name="Signal_2_Output"/>
      <bpmn2:dataOutputAssociation id="DataOutputAssociation_6">
        <bpmn2:sourceRef>DataOutput_6</bpmn2:sourceRef>
      </bpmn2:dataOutputAssociation>
      <bpmn2:outputSet id="OutputSet_6" name="Output Set 1">
        <bpmn2:dataOutputRefs>DataOutput_6</bpmn2:dataOutputRefs>
      </bpmn2:outputSet>
      <bpmn2:signalEventDefinition id="SignalEventDefinition_6" signalRef="Signal_2"/>
    </bpmn2:intermediateCatchEvent>
    <bpmn2:sequenceFlow id="SequenceFlow_19" sourceRef="IntermediateCatchEvent_10" targetRef="IntermediateCatchEvent_11"/>
    <bpmn2:sequenceFlow id="SequenceFlow_20" sourceRef="Task_6" targetRef="IntermediateCatchEvent_10"/>
    <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_12" imixs:activityid="30" name="Start Vertrag">
      <bpmn2:extensionElements>
        <imixs:item name="rtfresultlog" type="CDATA">
          <imixs:value><![CDATA[Rechnungseingang gestartet]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtactivityresult" type="CDATA">
          <imixs:value><![CDATA[<model>     
     <version>rechnungseingang-de-1.0</version>
     <task>5000</task>
     <event>990</event>
 </model>]]></imixs:value>
        </imixs:item>
        <imixs:item name="keypublicresult" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
      </bpmn2:extensionElements>
      <bpmn2:incoming>SequenceFlow_21</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_22</bpmn2:outgoing>
      <bpmn2:linkEventDefinition id="LinkEventDefinition_2" name="Link Event Definition 9"/>
    </bpmn2:intermediateCatchEvent>
    <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_13" imixs:activityid="30" name="Start Bestellung">
      <bpmn2:extensionElements>
        <imixs:item name="rtfresultlog" type="CDATA">
          <imixs:value><![CDATA[Rechnungseingang gestartet]]></imixs:value>
        </imixs:item>
        <imixs:item name="txtactivityresult" type="CDATA">
          <imixs:value><![CDATA[<model>     
     <version>rechnungseingang-de-1.0</version>
     <task>5000</task>
     <event>990</event>
 </model>]]></imixs:value>
        </imixs:item>
        <imixs:item name="keypublicresult" type="xs:string">
          <imixs:value><![CDATA[0]]></imixs:value>
        </imixs:item>
      </bpmn2:extensionElements>
      <bpmn2:incoming>SequenceFlow_23</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_24</bpmn2:outgoing>
      <bpmn2:linkEventDefinition id="LinkEventDefinition_3" name="Link Event Definition 9"/>
    </bpmn2:intermediateCatchEvent>
    <bpmn2:sequenceFlow id="SequenceFlow_21" sourceRef="IntermediateCatchEvent_9" targetRef="IntermediateCatchEvent_12"/>
    <bpmn2:sequenceFlow id="SequenceFlow_22" sourceRef="IntermediateCatchEvent_12" targetRef="ExclusiveGateway_2"/>
    <bpmn2:sequenceFlow id="SequenceFlow_23" sourceRef="IntermediateCatchEvent_11" targetRef="IntermediateCatchEvent_13"/>
    <bpmn2:sequenceFlow id="SequenceFlow_24" sourceRef="IntermediateCatchEvent_13" targetRef="ExclusiveGateway_2"/>
    <bpmn2:boundaryEvent id="BoundaryEvent_1" name="" attachedToRef="Task_2">
      <bpmn2:outgoing>SequenceFlow_2</bpmn2:outgoing>
      <bpmn2:timerEventDefinition id="TimerEventDefinition_1"/>
    </bpmn2:boundaryEvent>
    <bpmn2:boundaryEvent id="BoundaryEvent_2" name="" attachedToRef="Task_5">
      <bpmn2:outgoing>SequenceFlow_8</bpmn2:outgoing>
      <bpmn2:timerEventDefinition id="TimerEventDefinition_2"/>
    </bpmn2:boundaryEvent>
    <bpmn2:boundaryEvent id="BoundaryEvent_3" name="" attachedToRef="Task_6">
      <bpmn2:outgoing>SequenceFlow_25</bpmn2:outgoing>
      <bpmn2:timerEventDefinition id="TimerEventDefinition_3"/>
    </bpmn2:boundaryEvent>
    <bpmn2:sequenceFlow id="SequenceFlow_2" sourceRef="BoundaryEvent_1" targetRef="IntermediateCatchEvent_3"/>
    <bpmn2:sequenceFlow id="SequenceFlow_8" sourceRef="BoundaryEvent_2" targetRef="IntermediateCatchEvent_8"/>
    <bpmn2:sequenceFlow id="SequenceFlow_25" sourceRef="BoundaryEvent_3" targetRef="IntermediateCatchEvent_10"/>
  </bpmn2:process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_1" name="Default Collaboration Diagram">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_1">
      <bpmndi:BPMNShape id="BPMNShape_1" bpmnElement="Participant_1" isHorizontal="true">
        <dc:Bounds height="451.0" width="1281.0" x="100.0" y="100.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_1" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="69.0" width="14.0" x="106.0" y="291.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_Lane_2" bpmnElement="Lane_2" isHorizontal="true">
        <dc:Bounds height="451.0" width="1251.0" x="130.0" y="100.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_7" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="49.0" width="14.0" x="136.0" y="301.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_Task_7">
        <dc:Bounds height="50.0" width="110.0" x="0.0" y="0.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_4">
          <dc:Bounds height="14.0" width="103.0" x="3.0" y="18.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_Task_1" bpmnElement="Task_1">
        <dc:Bounds height="50.0" width="110.0" x="241.0" y="296.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_2" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="14.0" width="55.0" x="268.0" y="314.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="401.0" y="296.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_3" labelStyle="BPMNLabelStyle_1"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_IntermediateCatchEvent_2" bpmnElement="IntermediateCatchEvent_2">
        <dc:Bounds height="36.0" width="36.0" x="490.0" y="170.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_5" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="28.0" width="108.0" x="454.0" y="206.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_StartEvent_1" bpmnElement="StartEvent_1">
        <dc:Bounds height="36.0" width="36.0" x="170.0" y="303.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_9" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="14.0" width="25.0" x="175.0" y="339.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_Task_2" bpmnElement="Task_2">
        <dc:Bounds height="50.0" width="112.0" x="576.0" y="163.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_10" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="14.0" width="103.0" x="580.0" y="181.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_IntermediateCatchEvent_3" bpmnElement="IntermediateCatchEvent_3">
        <dc:Bounds height="36.0" width="36.0" x="721.0" y="170.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_14" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="14.0" width="27.0" x="725.0" y="206.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_IntermediateCatchEvent_4" bpmnElement="IntermediateCatchEvent_4">
        <dc:Bounds height="36.0" width="36.0" x="791.0" y="170.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_15" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="28.0" width="57.0" x="781.0" y="206.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_IntermediateCatchEvent_5" bpmnElement="IntermediateCatchEvent_5">
        <dc:Bounds height="36.0" width="36.0" x="890.0" y="170.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_16" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="42.0" width="108.0" x="854.0" y="206.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_Task_4" bpmnElement="Task_4">
        <dc:Bounds height="50.0" width="110.0" x="1088.0" y="296.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_22" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="14.0" width="84.0" x="1101.0" y="314.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="986.0" y="296.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_23" labelStyle="BPMNLabelStyle_1"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_EndEvent_1" bpmnElement="EndEvent_1">
        <dc:Bounds height="36.0" width="36.0" x="1238.0" y="303.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_26" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="14.0" width="22.0" x="1245.0" y="339.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_Task_5" bpmnElement="Task_5">
        <dc:Bounds height="50.0" width="110.0" x="577.0" y="296.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_29" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="14.0" width="55.0" x="604.0" y="314.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_Task_6" bpmnElement="Task_6">
        <dc:Bounds height="50.0" width="110.0" x="577.0" y="431.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_30" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="14.0" width="58.0" x="603.0" y="449.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_IntermediateCatchEvent_6" bpmnElement="IntermediateCatchEvent_6">
        <dc:Bounds height="36.0" width="36.0" x="490.0" y="303.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_31" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="14.0" width="39.0" x="489.0" y="339.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_IntermediateCatchEvent_7" bpmnElement="IntermediateCatchEvent_7">
        <dc:Bounds height="36.0" width="36.0" x="491.0" y="438.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_33" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="14.0" width="58.0" x="480.0" y="474.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_IntermediateCatchEvent_8" bpmnElement="IntermediateCatchEvent_8">
        <dc:Bounds height="36.0" width="36.0" x="721.0" y="303.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_37" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="14.0" width="27.0" x="725.0" y="339.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_IntermediateCatchEvent_9" bpmnElement="IntermediateCatchEvent_9">
        <dc:Bounds height="36.0" width="36.0" x="791.0" y="303.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_38" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="28.0" width="57.0" x="781.0" y="339.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_IntermediateCatchEvent_10" bpmnElement="IntermediateCatchEvent_10">
        <dc:Bounds height="36.0" width="36.0" x="721.0" y="438.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_41" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="14.0" width="27.0" x="725.0" y="474.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_IntermediateCatchEvent_11" bpmnElement="IntermediateCatchEvent_11">
        <dc:Bounds height="36.0" width="36.0" x="791.0" y="438.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_42" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="28.0" width="57.0" x="781.0" y="474.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_IntermediateCatchEvent_12" bpmnElement="IntermediateCatchEvent_12">
        <dc:Bounds height="36.0" width="36.0" x="890.0" y="303.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_45" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="14.0" width="67.0" x="875.0" y="339.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_IntermediateCatchEvent_13" bpmnElement="IntermediateCatchEvent_13">
        <dc:Bounds height="36.0" width="36.0" x="890.0" y="438.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_46" labelStyle="BPMNLabelStyle_1">
          <dc:Bounds height="28.0" width="58.0" x="879.0" y="474.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_BoundaryEvent_2" bpmnElement="BoundaryEvent_2">
        <dc:Bounds height="36.0" width="36.0" x="609.0" y="278.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_13" labelStyle="BPMNLabelStyle_1"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_BoundaryEvent_1" bpmnElement="BoundaryEvent_1">
        <dc:Bounds height="36.0" width="36.0" x="608.0" y="145.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_11" labelStyle="BPMNLabelStyle_1"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_BoundaryEvent_3" bpmnElement="BoundaryEvent_3">
        <dc:Bounds height="36.0" width="36.0" x="609.0" y="413.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_19" labelStyle="BPMNLabelStyle_1"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_TextAnnotation_1" bpmnElement="TextAnnotation_1">
        <dc:Bounds height="321.0" width="541.0" x="440.0" y="600.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_53">
          <dc:Bounds height="315.0" width="529.0" x="446.0" y="600.0"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_1" bpmnElement="SequenceFlow_1" sourceElement="BPMNShape_ExclusiveGateway_1" targetElement="BPMNShape_IntermediateCatchEvent_2">
        <di:waypoint xsi:type="dc:Point" x="426.0" y="296.0"/>
        <di:waypoint xsi:type="dc:Point" x="426.0" y="188.0"/>
        <di:waypoint xsi:type="dc:Point" x="490.0" y="188.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_6"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_3" bpmnElement="SequenceFlow_3" sourceElement="BPMNShape_Task_1" targetElement="BPMNShape_ExclusiveGateway_1">
        <di:waypoint xsi:type="dc:Point" x="351.0" y="321.0"/>
        <di:waypoint xsi:type="dc:Point" x="376.0" y="321.0"/>
        <di:waypoint xsi:type="dc:Point" x="401.0" y="321.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_8"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_4" bpmnElement="SequenceFlow_4" sourceElement="BPMNShape_IntermediateCatchEvent_2" targetElement="BPMNShape_Task_2">
        <di:waypoint xsi:type="dc:Point" x="526.0" y="188.0"/>
        <di:waypoint xsi:type="dc:Point" x="551.0" y="188.0"/>
        <di:waypoint xsi:type="dc:Point" x="576.0" y="188.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_12"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_6" bpmnElement="SequenceFlow_6" sourceElement="BPMNShape_IntermediateCatchEvent_3" targetElement="BPMNShape_IntermediateCatchEvent_4">
        <di:waypoint xsi:type="dc:Point" x="757.0" y="188.0"/>
        <di:waypoint xsi:type="dc:Point" x="774.0" y="188.0"/>
        <di:waypoint xsi:type="dc:Point" x="791.0" y="188.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_17"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_7" bpmnElement="SequenceFlow_7" sourceElement="BPMNShape_IntermediateCatchEvent_4" targetElement="BPMNShape_IntermediateCatchEvent_5">
        <di:waypoint xsi:type="dc:Point" x="827.0" y="188.0"/>
        <di:waypoint xsi:type="dc:Point" x="858.0" y="188.0"/>
        <di:waypoint xsi:type="dc:Point" x="890.0" y="188.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_18"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_9" bpmnElement="SequenceFlow_9" sourceElement="BPMNShape_Task_2" targetElement="BPMNShape_IntermediateCatchEvent_3">
        <di:waypoint xsi:type="dc:Point" x="688.0" y="188.0"/>
        <di:waypoint xsi:type="dc:Point" x="704.0" y="188.0"/>
        <di:waypoint xsi:type="dc:Point" x="721.0" y="188.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_21"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_10" bpmnElement="SequenceFlow_10" sourceElement="BPMNShape_IntermediateCatchEvent_5" targetElement="BPMNShape_ExclusiveGateway_2">
        <di:waypoint xsi:type="dc:Point" x="926.0" y="188.0"/>
        <di:waypoint xsi:type="dc:Point" x="1011.0" y="188.0"/>
        <di:waypoint xsi:type="dc:Point" x="1011.0" y="296.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_24"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_11" bpmnElement="SequenceFlow_11" sourceElement="BPMNShape_ExclusiveGateway_2" targetElement="BPMNShape_Task_4">
        <di:waypoint xsi:type="dc:Point" x="1036.0" y="321.0"/>
        <di:waypoint xsi:type="dc:Point" x="1062.0" y="321.0"/>
        <di:waypoint xsi:type="dc:Point" x="1088.0" y="321.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_25"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_12" bpmnElement="SequenceFlow_12" sourceElement="BPMNShape_Task_4" targetElement="BPMNShape_EndEvent_1">
        <di:waypoint xsi:type="dc:Point" x="1198.0" y="321.0"/>
        <di:waypoint xsi:type="dc:Point" x="1218.0" y="321.0"/>
        <di:waypoint xsi:type="dc:Point" x="1238.0" y="321.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_27"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_13" bpmnElement="SequenceFlow_13" sourceElement="BPMNShape_StartEvent_1" targetElement="BPMNShape_Task_1">
        <di:waypoint xsi:type="dc:Point" x="206.0" y="321.0"/>
        <di:waypoint xsi:type="dc:Point" x="223.0" y="321.0"/>
        <di:waypoint xsi:type="dc:Point" x="241.0" y="321.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_28"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_5" bpmnElement="SequenceFlow_5" sourceElement="BPMNShape_ExclusiveGateway_1" targetElement="BPMNShape_IntermediateCatchEvent_6">
        <di:waypoint xsi:type="dc:Point" x="451.0" y="321.0"/>
        <di:waypoint xsi:type="dc:Point" x="470.0" y="321.0"/>
        <di:waypoint xsi:type="dc:Point" x="490.0" y="321.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_32"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_14" bpmnElement="SequenceFlow_14" sourceElement="BPMNShape_ExclusiveGateway_1" targetElement="BPMNShape_IntermediateCatchEvent_7">
        <di:waypoint xsi:type="dc:Point" x="426.0" y="346.0"/>
        <di:waypoint xsi:type="dc:Point" x="426.0" y="456.0"/>
        <di:waypoint xsi:type="dc:Point" x="491.0" y="456.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_34"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_15" bpmnElement="SequenceFlow_15" sourceElement="BPMNShape_IntermediateCatchEvent_6" targetElement="BPMNShape_Task_5">
        <di:waypoint xsi:type="dc:Point" x="526.0" y="321.0"/>
        <di:waypoint xsi:type="dc:Point" x="551.0" y="321.0"/>
        <di:waypoint xsi:type="dc:Point" x="577.0" y="321.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_35"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_16" bpmnElement="SequenceFlow_16" sourceElement="BPMNShape_IntermediateCatchEvent_7" targetElement="BPMNShape_Task_6">
        <di:waypoint xsi:type="dc:Point" x="527.0" y="456.0"/>
        <di:waypoint xsi:type="dc:Point" x="552.0" y="456.0"/>
        <di:waypoint xsi:type="dc:Point" x="577.0" y="456.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_36"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_17" bpmnElement="SequenceFlow_17" sourceElement="BPMNShape_IntermediateCatchEvent_8" targetElement="BPMNShape_IntermediateCatchEvent_9">
        <di:waypoint xsi:type="dc:Point" x="757.0" y="321.0"/>
        <di:waypoint xsi:type="dc:Point" x="774.0" y="321.0"/>
        <di:waypoint xsi:type="dc:Point" x="791.0" y="321.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_39"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_18" bpmnElement="SequenceFlow_18" sourceElement="BPMNShape_Task_5" targetElement="BPMNShape_IntermediateCatchEvent_8">
        <di:waypoint xsi:type="dc:Point" x="687.0" y="321.0"/>
        <di:waypoint xsi:type="dc:Point" x="704.0" y="321.0"/>
        <di:waypoint xsi:type="dc:Point" x="721.0" y="321.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_40"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_19" bpmnElement="SequenceFlow_19" sourceElement="BPMNShape_IntermediateCatchEvent_10" targetElement="BPMNShape_IntermediateCatchEvent_11">
        <di:waypoint xsi:type="dc:Point" x="757.0" y="456.0"/>
        <di:waypoint xsi:type="dc:Point" x="774.0" y="456.0"/>
        <di:waypoint xsi:type="dc:Point" x="791.0" y="456.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_43"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_20" bpmnElement="SequenceFlow_20" sourceElement="BPMNShape_Task_6" targetElement="BPMNShape_IntermediateCatchEvent_10">
        <di:waypoint xsi:type="dc:Point" x="687.0" y="456.0"/>
        <di:waypoint xsi:type="dc:Point" x="704.0" y="456.0"/>
        <di:waypoint xsi:type="dc:Point" x="721.0" y="456.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_44"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_21" bpmnElement="SequenceFlow_21" sourceElement="BPMNShape_IntermediateCatchEvent_9" targetElement="BPMNShape_IntermediateCatchEvent_12">
        <di:waypoint xsi:type="dc:Point" x="827.0" y="321.0"/>
        <di:waypoint xsi:type="dc:Point" x="858.0" y="321.0"/>
        <di:waypoint xsi:type="dc:Point" x="890.0" y="321.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_47"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_22" bpmnElement="SequenceFlow_22" sourceElement="BPMNShape_IntermediateCatchEvent_12" targetElement="BPMNShape_ExclusiveGateway_2">
        <di:waypoint xsi:type="dc:Point" x="926.0" y="321.0"/>
        <di:waypoint xsi:type="dc:Point" x="956.0" y="321.0"/>
        <di:waypoint xsi:type="dc:Point" x="986.0" y="321.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_48"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_23" bpmnElement="SequenceFlow_23" sourceElement="BPMNShape_IntermediateCatchEvent_11" targetElement="BPMNShape_IntermediateCatchEvent_13">
        <di:waypoint xsi:type="dc:Point" x="827.0" y="456.0"/>
        <di:waypoint xsi:type="dc:Point" x="858.0" y="456.0"/>
        <di:waypoint xsi:type="dc:Point" x="890.0" y="456.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_49"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_24" bpmnElement="SequenceFlow_24" sourceElement="BPMNShape_IntermediateCatchEvent_13" targetElement="BPMNShape_ExclusiveGateway_2">
        <di:waypoint xsi:type="dc:Point" x="926.0" y="456.0"/>
        <di:waypoint xsi:type="dc:Point" x="1011.0" y="456.0"/>
        <di:waypoint xsi:type="dc:Point" x="1011.0" y="346.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_50"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_2" bpmnElement="SequenceFlow_2" sourceElement="BPMNShape_BoundaryEvent_1" targetElement="BPMNShape_IntermediateCatchEvent_3">
        <di:waypoint xsi:type="dc:Point" x="626.0" y="145.0"/>
        <di:waypoint xsi:type="dc:Point" x="626.0" y="135.0"/>
        <di:waypoint xsi:type="dc:Point" x="739.0" y="135.0"/>
        <di:waypoint xsi:type="dc:Point" x="739.0" y="170.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_20"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_8" bpmnElement="SequenceFlow_8" sourceElement="BPMNShape_BoundaryEvent_2" targetElement="BPMNShape_IntermediateCatchEvent_8">
        <di:waypoint xsi:type="dc:Point" x="627.0" y="278.0"/>
        <di:waypoint xsi:type="dc:Point" x="627.0" y="268.0"/>
        <di:waypoint xsi:type="dc:Point" x="739.0" y="268.0"/>
        <di:waypoint xsi:type="dc:Point" x="739.0" y="303.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_51"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_25" bpmnElement="SequenceFlow_25" sourceElement="BPMNShape_BoundaryEvent_3" targetElement="BPMNShape_IntermediateCatchEvent_10">
        <di:waypoint xsi:type="dc:Point" x="627.0" y="413.0"/>
        <di:waypoint xsi:type="dc:Point" x="627.0" y="403.0"/>
        <di:waypoint xsi:type="dc:Point" x="739.0" y="403.0"/>
        <di:waypoint xsi:type="dc:Point" x="739.0" y="438.0"/>
        <bpmndi:BPMNLabel id="BPMNLabel_52"/>
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
    <bpmndi:BPMNLabelStyle id="BPMNLabelStyle_1">
      <dc:Font name="arial" size="9.0"/>
    </bpmndi:BPMNLabelStyle>
  </bpmndi:BPMNDiagram>
</bpmn2:definitions>