Skip to content
Snippets Groups Projects
Commit 5cb15ed3 authored by Till Josef Brinkhus's avatar Till Josef Brinkhus
Browse files

Flow Zugehörigkeit erste Implementierung

parent 1c4f3181
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" id="Definitions_0b5ffl8" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.7.2">
<bpmn:process id="Retoure" name="Schuh-Retoure" isExecutable="true">
<bpmn:startEvent id="Retoure_Start">
<bpmn:extensionElements>
<camunda:formData>
<camunda:formField id="FormField_beschaedigt" label="beschaedigt" type="boolean" defaultValue="false" />
<camunda:formField id="FormField_erstattung" label="erstattung" type="boolean" defaultValue="false" />
<camunda:formField id="FormField_kundennummer" label="kundennummer" type="string" />
</camunda:formData>
</bpmn:extensionElements>
<bpmn:outgoing>Flow_Start</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_Start" sourceRef="Retoure_Start" targetRef="Gateway_Parallel_Lager_Neusendung" />
<bpmn:parallelGateway id="Gateway_Parallel_Lager_Neusendung">
<bpmn:incoming>Flow_Start</bpmn:incoming>
<bpmn:outgoing>Flow_0eh02jo</bpmn:outgoing>
<bpmn:outgoing>Flow_1gu0k49</bpmn:outgoing>
</bpmn:parallelGateway>
<bpmn:exclusiveGateway id="Gateway_Beschaedigt" default="Flow_unbeschaedigt">
<bpmn:incoming>Flow_0eh02jo</bpmn:incoming>
<bpmn:outgoing>Flow_unbeschaedigt</bpmn:outgoing>
<bpmn:outgoing>Flow_beschaedigt</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_0eh02jo" sourceRef="Gateway_Parallel_Lager_Neusendung" targetRef="Gateway_Beschaedigt" />
<bpmn:exclusiveGateway id="Gateway_Neusendung" default="Flow_neusenden">
<bpmn:incoming>Flow_0iibopi</bpmn:incoming>
<bpmn:outgoing>Flow_Erstattung</bpmn:outgoing>
<bpmn:outgoing>Flow_neusenden</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_1gu0k49" sourceRef="Gateway_Parallel_Lager_Neusendung" targetRef="Kundendaten_ermitteln" />
<bpmn:sequenceFlow id="Flow_unbeschaedigt" name="Ware nicht beschädigt" sourceRef="Gateway_Beschaedigt" targetRef="Ware_einsortieren" />
<bpmn:sequenceFlow id="Flow_beschaedigt" name="Ware &#10;beschädigt" sourceRef="Gateway_Beschaedigt" targetRef="Warendaten_erfassen">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{beschaedigt == true}</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:userTask id="Warendaten_erfassen" name="Warendaten erfassen" camunda:formKey="embedded:app:forms/warendaten-erfassen-form.html">
<bpmn:incoming>Flow_beschaedigt</bpmn:incoming>
<bpmn:outgoing>Flow_01lf19r</bpmn:outgoing>
</bpmn:userTask>
<bpmn:sequenceFlow id="Flow_01lf19r" sourceRef="Warendaten_erfassen" targetRef="Vernichtung_ermitteln" />
<bpmn:businessRuleTask id="Vernichtung_ermitteln" name="Vernichtung oder Spende ermitteln" camunda:resultVariable="vernichten" camunda:decisionRef="Schuh_Vernichtung_Spende" camunda:mapDecisionResult="singleEntry">
<bpmn:incoming>Flow_01lf19r</bpmn:incoming>
<bpmn:outgoing>Flow_0kgxxke</bpmn:outgoing>
</bpmn:businessRuleTask>
<bpmn:exclusiveGateway id="Gateway_Vernichtung">
<bpmn:incoming>Flow_0kgxxke</bpmn:incoming>
<bpmn:outgoing>Flow_vernichten</bpmn:outgoing>
<bpmn:outgoing>Flow_spenden</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_0kgxxke" sourceRef="Vernichtung_ermitteln" targetRef="Gateway_Vernichtung" />
<bpmn:sequenceFlow id="Flow_vernichten" name="vernichten" sourceRef="Gateway_Vernichtung" targetRef="Ware_vernichten">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{vernichten == true}</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:sequenceFlow id="Flow_spenden" name="spenden" sourceRef="Gateway_Vernichtung" targetRef="Ware_spenden">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{vernichten == false}</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:exclusiveGateway id="Gateway_Vernichtung_Close">
<bpmn:incoming>Flow_0f171gg</bpmn:incoming>
<bpmn:incoming>Flow_0zkq7z5</bpmn:incoming>
<bpmn:outgoing>Flow_14jbtgw</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_0f171gg" sourceRef="Ware_spenden" targetRef="Gateway_Vernichtung_Close" />
<bpmn:sequenceFlow id="Flow_0zkq7z5" sourceRef="Ware_vernichten" targetRef="Gateway_Vernichtung_Close" />
<bpmn:exclusiveGateway id="Gateway_Beschaedigt_Close">
<bpmn:incoming>Flow_14jbtgw</bpmn:incoming>
<bpmn:incoming>Flow_0a9rzst</bpmn:incoming>
<bpmn:outgoing>Flow_1c2tfla</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_14jbtgw" sourceRef="Gateway_Vernichtung_Close" targetRef="Gateway_Beschaedigt_Close" />
<bpmn:sequenceFlow id="Flow_0a9rzst" sourceRef="Ware_einsortieren" targetRef="Gateway_Beschaedigt_Close" />
<bpmn:userTask id="Ware_vernichten" name="Ware vernichten">
<bpmn:incoming>Flow_vernichten</bpmn:incoming>
<bpmn:outgoing>Flow_0zkq7z5</bpmn:outgoing>
</bpmn:userTask>
<bpmn:userTask id="Ware_spenden" name="Ware spenden">
<bpmn:incoming>Flow_spenden</bpmn:incoming>
<bpmn:outgoing>Flow_0f171gg</bpmn:outgoing>
</bpmn:userTask>
<bpmn:sequenceFlow id="Flow_Erstattung" name="Erstattung" sourceRef="Gateway_Neusendung" targetRef="Finanzdaten_ermitteln">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{erstattung}</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:sequenceFlow id="Flow_neusenden" name="Neusendung" sourceRef="Gateway_Neusendung" targetRef="Manuelle_Pruefung" />
<bpmn:serviceTask id="Erstattung" name="Erstattung ausführen" camunda:type="external" camunda:topic="financial">
<bpmn:extensionElements>
<camunda:inputOutput>
<camunda:inputParameter name="serviceIdentifier">refund</camunda:inputParameter>
<camunda:inputParameter name="ibanRefund">${iban}</camunda:inputParameter>
<camunda:inputParameter name="name">${vorname} ${nachname}</camunda:inputParameter>
<camunda:outputParameter name="emailGesendet">${confirmationEmailSent}</camunda:outputParameter>
</camunda:inputOutput>
</bpmn:extensionElements>
<bpmn:incoming>Flow_Erstattung_Datenermittlung</bpmn:incoming>
<bpmn:outgoing>Flow_Erstattung_abgeschlossen</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:userTask id="Manuelle_Pruefung" name="Manuelle Prüfung des Anliegens">
<bpmn:incoming>Flow_neusenden</bpmn:incoming>
<bpmn:outgoing>Flow_0u77zm0</bpmn:outgoing>
</bpmn:userTask>
<bpmn:sequenceFlow id="Flow_0u77zm0" sourceRef="Manuelle_Pruefung" targetRef="Warennummer_ermitteln" />
<bpmn:serviceTask id="Warennummer_ermitteln" name="Neue Warennummer ermitteln" camunda:delegateExpression="#{warennummer}">
<bpmn:incoming>Flow_0u77zm0</bpmn:incoming>
<bpmn:outgoing>Flow_03ubi3l</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:userTask id="Paket_packen" name="Paket packen">
<bpmn:extensionElements>
<camunda:inputOutput>
<camunda:outputParameter name="pakettyp">${pakettyp}</camunda:outputParameter>
</camunda:inputOutput>
</bpmn:extensionElements>
<bpmn:incoming>Flow_006t3wo</bpmn:incoming>
<bpmn:outgoing>Flow_0bhr7g8</bpmn:outgoing>
</bpmn:userTask>
<bpmn:sequenceFlow id="Flow_0bhr7g8" sourceRef="Paket_packen" targetRef="Paket_pruefen" />
<bpmn:userTask id="Paket_pruefen" name="Paket prüfen">
<bpmn:extensionElements>
<camunda:formData>
<camunda:formField id="FormField_Paket_Pruefung" label="paket" type="boolean" defaultValue="true" />
</camunda:formData>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0bhr7g8</bpmn:incoming>
<bpmn:outgoing>Flow_1n6o3h6</bpmn:outgoing>
</bpmn:userTask>
<bpmn:exclusiveGateway id="Gateway_Einpackung_Fehlerhaft" default="Flow_paket_okay">
<bpmn:incoming>Flow_1n6o3h6</bpmn:incoming>
<bpmn:outgoing>Flow_paket_okay</bpmn:outgoing>
<bpmn:outgoing>Flow_fehlerhaft_eingepackt</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_1n6o3h6" sourceRef="Paket_pruefen" targetRef="Gateway_Einpackung_Fehlerhaft" />
<bpmn:sequenceFlow id="Flow_paket_okay" name="Paket okay" sourceRef="Gateway_Einpackung_Fehlerhaft" targetRef="Paket_senden" />
<bpmn:sequenceFlow id="Flow_fehlerhaft_eingepackt" name="Fehlerhaft eingepackt" sourceRef="Gateway_Einpackung_Fehlerhaft" targetRef="Gateway_Auspacken">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{paket==false}</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:exclusiveGateway id="Gateway_Einpackung_Fehlerhaft_Closed">
<bpmn:incoming>Flow_03ubi3l</bpmn:incoming>
<bpmn:incoming>Flow_1bnro90</bpmn:incoming>
<bpmn:outgoing>Flow_006t3wo</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_03ubi3l" sourceRef="Warennummer_ermitteln" targetRef="Gateway_Einpackung_Fehlerhaft_Closed" />
<bpmn:sequenceFlow id="Flow_006t3wo" sourceRef="Gateway_Einpackung_Fehlerhaft_Closed" targetRef="Paket_packen" />
<bpmn:sequenceFlow id="Flow_1bnro90" sourceRef="Gateway_14evkap" targetRef="Gateway_Einpackung_Fehlerhaft_Closed" />
<bpmn:exclusiveGateway id="Gateway_Neusendung_Closed">
<bpmn:incoming>Flow_0u4n4gn</bpmn:incoming>
<bpmn:incoming>Flow_Erstattung_abgeschlossen</bpmn:incoming>
<bpmn:outgoing>Flow_0m33odz</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_0u4n4gn" sourceRef="Paket_senden" targetRef="Gateway_Neusendung_Closed" />
<bpmn:sequenceFlow id="Flow_Erstattung_abgeschlossen" sourceRef="Erstattung" targetRef="Gateway_Neusendung_Closed" />
<bpmn:sequenceFlow id="Flow_0m33odz" sourceRef="Gateway_Neusendung_Closed" targetRef="Gateway_Parallel_Lager_Neusendung_Closed" />
<bpmn:parallelGateway id="Gateway_Parallel_Lager_Neusendung_Closed">
<bpmn:incoming>Flow_0m33odz</bpmn:incoming>
<bpmn:incoming>Flow_1c2tfla</bpmn:incoming>
<bpmn:outgoing>Flow_Ende</bpmn:outgoing>
</bpmn:parallelGateway>
<bpmn:sequenceFlow id="Flow_1c2tfla" sourceRef="Gateway_Beschaedigt_Close" targetRef="Gateway_Parallel_Lager_Neusendung_Closed" />
<bpmn:endEvent id="Retoure_Ende">
<bpmn:incoming>Flow_Ende</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_Ende" sourceRef="Gateway_Parallel_Lager_Neusendung_Closed" targetRef="Retoure_Ende" />
<bpmn:userTask id="Paket_senden" name="Paket senden">
<bpmn:incoming>Flow_paket_okay</bpmn:incoming>
<bpmn:outgoing>Flow_0u4n4gn</bpmn:outgoing>
</bpmn:userTask>
<bpmn:manualTask id="Ware_einsortieren" name="Ware einsortieren">
<bpmn:incoming>Flow_unbeschaedigt</bpmn:incoming>
<bpmn:outgoing>Flow_0a9rzst</bpmn:outgoing>
</bpmn:manualTask>
<bpmn:exclusiveGateway id="Gateway_Auspacken">
<bpmn:incoming>Flow_fehlerhaft_eingepackt</bpmn:incoming>
<bpmn:outgoing>Flow_normal_auspacken</bpmn:outgoing>
<bpmn:outgoing>Flow_luxus_auspacken</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:exclusiveGateway id="Gateway_14evkap">
<bpmn:incoming>Flow_04tyvq1</bpmn:incoming>
<bpmn:incoming>Flow_0d8lhxo</bpmn:incoming>
<bpmn:outgoing>Flow_1bnro90</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_04tyvq1" sourceRef="Ware_auspacken_luxus" targetRef="Gateway_14evkap" />
<bpmn:sequenceFlow id="Flow_0d8lhxo" sourceRef="Ware_auspacken_normal" targetRef="Gateway_14evkap" />
<bpmn:sequenceFlow id="Flow_normal_auspacken" name="Normal-verpackung" sourceRef="Gateway_Auspacken" targetRef="Ware_auspacken_normal">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{pakettyp=="Normalverpackung"}</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:sequenceFlow id="Flow_luxus_auspacken" name="Luxusverpackung" sourceRef="Gateway_Auspacken" targetRef="Ware_auspacken_luxus">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{pakettyp=="Luxusverpackung"}</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:sequenceFlow id="Flow_Erstattung_Datenermittlung" sourceRef="Finanzdaten_ermitteln" targetRef="Erstattung" />
<bpmn:serviceTask id="Finanzdaten_ermitteln" name="Finanzdaten ermitteln" camunda:type="external" camunda:topic="financial">
<bpmn:extensionElements>
<camunda:inputOutput>
<camunda:inputParameter name="serviceIdentifier">getData</camunda:inputParameter>
<camunda:inputParameter name="kundennummer">${kundennummer}</camunda:inputParameter>
<camunda:outputParameter name="iban">${ibanRefund}</camunda:outputParameter>
</camunda:inputOutput>
</bpmn:extensionElements>
<bpmn:incoming>Flow_Erstattung</bpmn:incoming>
<bpmn:outgoing>Flow_Erstattung_Datenermittlung</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:manualTask id="Ware_auspacken_luxus" name="Luxuspaket auspacken">
<bpmn:incoming>Flow_luxus_auspacken</bpmn:incoming>
<bpmn:outgoing>Flow_04tyvq1</bpmn:outgoing>
</bpmn:manualTask>
<bpmn:manualTask id="Ware_auspacken_normal" name="Normales Paket auspacken">
<bpmn:incoming>Flow_normal_auspacken</bpmn:incoming>
<bpmn:outgoing>Flow_0d8lhxo</bpmn:outgoing>
</bpmn:manualTask>
<bpmn:sequenceFlow id="Flow_0iibopi" sourceRef="Kundendaten_ermitteln" targetRef="Gateway_Neusendung" />
<bpmn:serviceTask id="Kundendaten_ermitteln" name="Kundendaten ermitteln" camunda:type="external" camunda:topic="customer">
<bpmn:extensionElements>
<camunda:inputOutput>
<camunda:inputParameter name="kundennummer">${kundennummer}</camunda:inputParameter>
<camunda:outputParameter name="vorname">${firstname}</camunda:outputParameter>
<camunda:outputParameter name="nachname">${lastname}</camunda:outputParameter>
</camunda:inputOutput>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1gu0k49</bpmn:incoming>
<bpmn:outgoing>Flow_0iibopi</bpmn:outgoing>
</bpmn:serviceTask>
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Retoure">
<bpmndi:BPMNEdge id="Flow_01i7hk6_di" bpmnElement="Flow_Erstattung_Datenermittlung">
<di:waypoint x="690" y="540" />
<di:waypoint x="970" y="540" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0qjrxz7_di" bpmnElement="Flow_luxus_auspacken">
<di:waypoint x="1150" y="675" />
<di:waypoint x="1150" y="650" />
<di:waypoint x="1060" y="650" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1096" y="623" width="87" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1t3d53q_di" bpmnElement="Flow_normal_auspacken">
<di:waypoint x="1150" y="725" />
<di:waypoint x="1150" y="750" />
<di:waypoint x="1060" y="750" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1111" y="756" width="57" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0d8lhxo_di" bpmnElement="Flow_0d8lhxo">
<di:waypoint x="960" y="750" />
<di:waypoint x="880" y="750" />
<di:waypoint x="880" y="725" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_04tyvq1_di" bpmnElement="Flow_04tyvq1">
<di:waypoint x="960" y="650" />
<di:waypoint x="880" y="650" />
<di:waypoint x="880" y="675" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_02p7iio_di" bpmnElement="Flow_Ende">
<di:waypoint x="1656" y="660" />
<di:waypoint x="1705" y="660" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1c2tfla_di" bpmnElement="Flow_1c2tfla">
<di:waypoint x="1205" y="430" />
<di:waypoint x="1631" y="430" />
<di:waypoint x="1631" y="635" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0m33odz_di" bpmnElement="Flow_0m33odz">
<di:waypoint x="1555" y="660" />
<di:waypoint x="1606" y="660" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0pjcsuy_di" bpmnElement="Flow_Erstattung_abgeschlossen">
<di:waypoint x="1070" y="540" />
<di:waypoint x="1530" y="540" />
<di:waypoint x="1530" y="635" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0u4n4gn_di" bpmnElement="Flow_0u4n4gn">
<di:waypoint x="1500" y="870" />
<di:waypoint x="1530" y="870" />
<di:waypoint x="1530" y="685" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1bnro90_di" bpmnElement="Flow_1bnro90">
<di:waypoint x="855" y="700" />
<di:waypoint x="760" y="700" />
<di:waypoint x="760" y="845" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_006t3wo_di" bpmnElement="Flow_006t3wo">
<di:waypoint x="785" y="870" />
<di:waypoint x="870" y="870" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_03ubi3l_di" bpmnElement="Flow_03ubi3l">
<di:waypoint x="690" y="870" />
<di:waypoint x="735" y="870" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1ff93it_di" bpmnElement="Flow_fehlerhaft_eingepackt">
<di:waypoint x="1270" y="845" />
<di:waypoint x="1270" y="700" />
<di:waypoint x="1180" y="700" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1202" y="761" width="55" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_17na1xt_di" bpmnElement="Flow_paket_okay">
<di:waypoint x="1295" y="870" />
<di:waypoint x="1400" y="870" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1320" y="852" width="55" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1n6o3h6_di" bpmnElement="Flow_1n6o3h6">
<di:waypoint x="1160" y="870" />
<di:waypoint x="1245" y="870" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0bhr7g8_di" bpmnElement="Flow_0bhr7g8">
<di:waypoint x="970" y="870" />
<di:waypoint x="1060" y="870" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0u77zm0_di" bpmnElement="Flow_0u77zm0">
<di:waypoint x="520" y="870" />
<di:waypoint x="590" y="870" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_17xuhq0_di" bpmnElement="Flow_neusenden">
<di:waypoint x="470" y="565" />
<di:waypoint x="470" y="830" />
<bpmndi:BPMNLabel>
<dc:Bounds x="478" y="719" width="63" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0hwn7f3_di" bpmnElement="Flow_Erstattung">
<di:waypoint x="495" y="540" />
<di:waypoint x="590" y="540" />
<bpmndi:BPMNLabel>
<dc:Bounds x="507" y="522" width="51" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0a9rzst_di" bpmnElement="Flow_0a9rzst">
<di:waypoint x="820" y="160" />
<di:waypoint x="1180" y="160" />
<di:waypoint x="1180" y="405" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_14jbtgw_di" bpmnElement="Flow_14jbtgw">
<di:waypoint x="1085" y="430" />
<di:waypoint x="1155" y="430" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0zkq7z5_di" bpmnElement="Flow_0zkq7z5">
<di:waypoint x="970" y="320" />
<di:waypoint x="1060" y="320" />
<di:waypoint x="1060" y="405" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0f171gg_di" bpmnElement="Flow_0f171gg">
<di:waypoint x="970" y="430" />
<di:waypoint x="1035" y="430" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0t6w55x_di" bpmnElement="Flow_spenden">
<di:waypoint x="780" y="345" />
<di:waypoint x="780" y="430" />
<di:waypoint x="870" y="430" />
<bpmndi:BPMNLabel>
<dc:Bounds x="798" y="403" width="43" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0zzjxrn_di" bpmnElement="Flow_vernichten">
<di:waypoint x="805" y="320" />
<di:waypoint x="870" y="320" />
<bpmndi:BPMNLabel>
<dc:Bounds x="812" y="302" width="51" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0kgxxke_di" bpmnElement="Flow_0kgxxke">
<di:waypoint x="690" y="320" />
<di:waypoint x="755" y="320" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_01lf19r_di" bpmnElement="Flow_01lf19r">
<di:waypoint x="530" y="320" />
<di:waypoint x="590" y="320" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0rsh9gw_di" bpmnElement="Flow_beschaedigt">
<di:waypoint x="350" y="255" />
<di:waypoint x="350" y="320" />
<di:waypoint x="430" y="320" />
<bpmndi:BPMNLabel>
<dc:Bounds x="362" y="285" width="55" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1ffiujj_di" bpmnElement="Flow_unbeschaedigt">
<di:waypoint x="350" y="205" />
<di:waypoint x="350" y="160" />
<di:waypoint x="720" y="160" />
<bpmndi:BPMNLabel>
<dc:Bounds x="505" y="166" width="55" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1gu0k49_di" bpmnElement="Flow_1gu0k49">
<di:waypoint x="260" y="402" />
<di:waypoint x="260" y="540" />
<di:waypoint x="300" y="540" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0eh02jo_di" bpmnElement="Flow_0eh02jo">
<di:waypoint x="260" y="352" />
<di:waypoint x="260" y="230" />
<di:waypoint x="325" y="230" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0emcbml_di" bpmnElement="Flow_Start">
<di:waypoint x="188" y="377" />
<di:waypoint x="235" y="377" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0iibopi_di" bpmnElement="Flow_0iibopi">
<di:waypoint x="400" y="540" />
<di:waypoint x="445" y="540" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="Retoure_Start">
<dc:Bounds x="152" y="359" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_0pbw15b_di" bpmnElement="Gateway_Parallel_Lager_Neusendung">
<dc:Bounds x="235" y="352" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_12gz2vz_di" bpmnElement="Gateway_Beschaedigt" isMarkerVisible="true">
<dc:Bounds x="325" y="205" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1l943g0_di" bpmnElement="Warendaten_erfassen">
<dc:Bounds x="430" y="280" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0axy9lw_di" bpmnElement="Vernichtung_ermitteln">
<dc:Bounds x="590" y="280" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_0tcbgt9_di" bpmnElement="Gateway_Vernichtung" isMarkerVisible="true">
<dc:Bounds x="755" y="295" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_1usozh0_di" bpmnElement="Gateway_Vernichtung_Close" isMarkerVisible="true">
<dc:Bounds x="1035" y="405" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_0nb41va_di" bpmnElement="Gateway_Beschaedigt_Close" isMarkerVisible="true">
<dc:Bounds x="1155" y="405" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1obx3f0_di" bpmnElement="Ware_vernichten">
<dc:Bounds x="870" y="280" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0swadmc_di" bpmnElement="Ware_spenden">
<dc:Bounds x="870" y="390" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0dpq7jh_di" bpmnElement="Manuelle_Pruefung">
<dc:Bounds x="420" y="830" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0fnre3x_di" bpmnElement="Warennummer_ermitteln">
<dc:Bounds x="590" y="830" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_01orosg_di" bpmnElement="Paket_packen">
<dc:Bounds x="870" y="830" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0sg307t_di" bpmnElement="Paket_pruefen">
<dc:Bounds x="1060" y="830" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_0wlcnif_di" bpmnElement="Gateway_Einpackung_Fehlerhaft" isMarkerVisible="true">
<dc:Bounds x="1245" y="845" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_0pa451i_di" bpmnElement="Gateway_Einpackung_Fehlerhaft_Closed" isMarkerVisible="true">
<dc:Bounds x="735" y="845" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_0hqss9s_di" bpmnElement="Gateway_Neusendung_Closed" isMarkerVisible="true">
<dc:Bounds x="1505" y="635" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_05633xf_di" bpmnElement="Gateway_Parallel_Lager_Neusendung_Closed">
<dc:Bounds x="1606" y="635" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1ihgrip_di" bpmnElement="Retoure_Ende">
<dc:Bounds x="1705" y="642" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1ma1os5_di" bpmnElement="Paket_senden">
<dc:Bounds x="1400" y="830" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1p3me1t_di" bpmnElement="Ware_einsortieren">
<dc:Bounds x="720" y="120" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_0bffnik_di" bpmnElement="Gateway_Auspacken" isMarkerVisible="true">
<dc:Bounds x="1125" y="675" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_14evkap_di" bpmnElement="Gateway_14evkap" isMarkerVisible="true">
<dc:Bounds x="855" y="675" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1t8f6i7_di" bpmnElement="Finanzdaten_ermitteln">
<dc:Bounds x="590" y="500" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1gpa5a1_di" bpmnElement="Ware_auspacken_luxus">
<dc:Bounds x="960" y="610" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1xfsrap_di" bpmnElement="Ware_auspacken_normal">
<dc:Bounds x="960" y="710" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_1baqz4f_di" bpmnElement="Gateway_Neusendung" isMarkerVisible="true">
<dc:Bounds x="445" y="515" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1l3qzwt_di" bpmnElement="Kundendaten_ermitteln">
<dc:Bounds x="300" y="500" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0jhtgen_di" bpmnElement="Erstattung">
<dc:Bounds x="970" y="500" width="100" height="80" />
</bpmndi:BPMNShape>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>
<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" id="Definitions_0b5ffl8" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.7.2">
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" id="Definitions_0b5ffl8" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="4.10.0">
<bpmn:process id="Retoure" name="Schuh-Retoure" isExecutable="true">
<bpmn:startEvent id="Retoure_Start">
<bpmn:extensionElements>
......@@ -67,7 +67,6 @@
<bpmn:outgoing>Flow_1c2tfla</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_14jbtgw" sourceRef="Gateway_Vernichtung_Close" targetRef="Gateway_Beschaedigt_Close" />
<bpmn:sequenceFlow id="Flow_0a9rzst" sourceRef="Ware_einsortieren" targetRef="Gateway_Beschaedigt_Close" />
<bpmn:userTask id="Ware_vernichten" name="Ware vernichten">
<bpmn:incoming>Flow_vernichten</bpmn:incoming>
<bpmn:outgoing>Flow_0zkq7z5</bpmn:outgoing>
......@@ -214,9 +213,14 @@
<bpmn:incoming>Flow_1gu0k49</bpmn:incoming>
<bpmn:outgoing>Flow_0iibopi</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="Flow_0a9rzst" sourceRef="Ware_einsortieren" targetRef="Gateway_Beschaedigt_Close" />
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Retoure">
<bpmndi:BPMNEdge id="Flow_0iibopi_di" bpmnElement="Flow_0iibopi">
<di:waypoint x="400" y="540" />
<di:waypoint x="445" y="540" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_01i7hk6_di" bpmnElement="Flow_Erstattung_Datenermittlung">
<di:waypoint x="690" y="540" />
<di:waypoint x="970" y="540" />
......@@ -395,10 +399,6 @@
<di:waypoint x="188" y="377" />
<di:waypoint x="235" y="377" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0iibopi_di" bpmnElement="Flow_0iibopi">
<di:waypoint x="400" y="540" />
<di:waypoint x="445" y="540" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="Retoure_Start">
<dc:Bounds x="152" y="359" width="36" height="36" />
</bpmndi:BPMNShape>
......@@ -408,6 +408,9 @@
<bpmndi:BPMNShape id="Gateway_12gz2vz_di" bpmnElement="Gateway_Beschaedigt" isMarkerVisible="true">
<dc:Bounds x="325" y="205" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_1baqz4f_di" bpmnElement="Gateway_Neusendung" isMarkerVisible="true">
<dc:Bounds x="445" y="515" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1l943g0_di" bpmnElement="Warendaten_erfassen">
<dc:Bounds x="430" y="280" width="100" height="80" />
</bpmndi:BPMNShape>
......@@ -429,6 +432,9 @@
<bpmndi:BPMNShape id="Activity_0swadmc_di" bpmnElement="Ware_spenden">
<dc:Bounds x="870" y="390" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0jhtgen_di" bpmnElement="Erstattung">
<dc:Bounds x="970" y="500" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0dpq7jh_di" bpmnElement="Manuelle_Pruefung">
<dc:Bounds x="420" y="830" width="100" height="80" />
</bpmndi:BPMNShape>
......@@ -477,15 +483,9 @@
<bpmndi:BPMNShape id="Activity_1xfsrap_di" bpmnElement="Ware_auspacken_normal">
<dc:Bounds x="960" y="710" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_1baqz4f_di" bpmnElement="Gateway_Neusendung" isMarkerVisible="true">
<dc:Bounds x="445" y="515" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1l3qzwt_di" bpmnElement="Kundendaten_ermitteln">
<dc:Bounds x="300" y="500" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0jhtgen_di" bpmnElement="Erstattung">
<dc:Bounds x="970" y="500" width="100" height="80" />
</bpmndi:BPMNShape>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>
<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" id="Definitions_0b5ffl8" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="4.10.0">
<bpmn:process id="Retoure" name="Schuh-Retoure" isExecutable="true">
<bpmn:startEvent id="Retoure_Start">
<bpmn:extensionElements>
<camunda:formData>
<camunda:formField id="FormField_beschaedigt" label="beschaedigt" type="boolean" defaultValue="false" />
<camunda:formField id="FormField_erstattung" label="erstattung" type="boolean" defaultValue="false" />
<camunda:formField id="FormField_kundennummer" label="kundennummer" type="string" />
</camunda:formData>
</bpmn:extensionElements>
<bpmn:outgoing>Flow_Start</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_Start" sourceRef="Retoure_Start" targetRef="Gateway_Parallel_Lager_Neusendung" />
<bpmn:parallelGateway id="Gateway_Parallel_Lager_Neusendung">
<bpmn:incoming>Flow_Start</bpmn:incoming>
<bpmn:outgoing>Flow_0eh02jo</bpmn:outgoing>
<bpmn:outgoing>Flow_1gu0k49</bpmn:outgoing>
</bpmn:parallelGateway>
<bpmn:exclusiveGateway id="Gateway_Beschaedigt" default="Flow_unbeschaedigt">
<bpmn:incoming>Flow_0eh02jo</bpmn:incoming>
<bpmn:outgoing>Flow_unbeschaedigt</bpmn:outgoing>
<bpmn:outgoing>Flow_beschaedigt</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_0eh02jo" sourceRef="Gateway_Parallel_Lager_Neusendung" targetRef="Gateway_Beschaedigt" />
<bpmn:exclusiveGateway id="Gateway_Neusendung" default="Flow_neusenden">
<bpmn:incoming>Flow_0iibopi</bpmn:incoming>
<bpmn:outgoing>Flow_Erstattung</bpmn:outgoing>
<bpmn:outgoing>Flow_neusenden</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_1gu0k49" sourceRef="Gateway_Parallel_Lager_Neusendung" targetRef="Kundendaten_ermitteln" />
<bpmn:sequenceFlow id="Flow_unbeschaedigt" name="Ware nicht beschädigt" sourceRef="Gateway_Beschaedigt" targetRef="Ware_einsortieren" />
<bpmn:sequenceFlow id="Flow_beschaedigt" name="Ware &#10;beschädigt" sourceRef="Gateway_Beschaedigt" targetRef="Warendaten_erfassen">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{beschaedigt == true}</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:userTask id="Warendaten_erfassen" name="Warendaten erfassen" camunda:formKey="embedded:app:forms/warendaten-erfassen-form.html">
<bpmn:incoming>Flow_beschaedigt</bpmn:incoming>
<bpmn:outgoing>Flow_01lf19r</bpmn:outgoing>
</bpmn:userTask>
<bpmn:sequenceFlow id="Flow_01lf19r" sourceRef="Warendaten_erfassen" targetRef="Vernichtung_ermitteln" />
<bpmn:businessRuleTask id="Vernichtung_ermitteln" name="Vernichtung oder Spende ermitteln" camunda:resultVariable="vernichten" camunda:decisionRef="Schuh_Vernichtung_Spende" camunda:mapDecisionResult="singleEntry">
<bpmn:incoming>Flow_01lf19r</bpmn:incoming>
<bpmn:outgoing>Flow_0kgxxke</bpmn:outgoing>
</bpmn:businessRuleTask>
<bpmn:exclusiveGateway id="Gateway_Vernichtung">
<bpmn:incoming>Flow_0kgxxke</bpmn:incoming>
<bpmn:outgoing>Flow_vernichten</bpmn:outgoing>
<bpmn:outgoing>Flow_spenden</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_0kgxxke" sourceRef="Vernichtung_ermitteln" targetRef="Gateway_Vernichtung" />
<bpmn:sequenceFlow id="Flow_vernichten" name="vernichten" sourceRef="Gateway_Vernichtung" targetRef="Ware_vernichten">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{vernichten == true}</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:sequenceFlow id="Flow_spenden" name="spenden" sourceRef="Gateway_Vernichtung" targetRef="Ware_spenden">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{vernichten == false}</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:exclusiveGateway id="Gateway_Vernichtung_Close">
<bpmn:incoming>Flow_0f171gg</bpmn:incoming>
<bpmn:incoming>Flow_0zkq7z5</bpmn:incoming>
<bpmn:outgoing>Flow_14jbtgw</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_0f171gg" sourceRef="Ware_spenden" targetRef="Gateway_Vernichtung_Close" />
<bpmn:sequenceFlow id="Flow_0zkq7z5" sourceRef="Ware_vernichten" targetRef="Gateway_Vernichtung_Close" />
<bpmn:exclusiveGateway id="Gateway_Beschaedigt_Close">
<bpmn:incoming>Flow_14jbtgw</bpmn:incoming>
<bpmn:incoming>Flow_0a9rzst</bpmn:incoming>
<bpmn:outgoing>Flow_1c2tfla</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_14jbtgw" sourceRef="Gateway_Vernichtung_Close" targetRef="Gateway_Beschaedigt_Close" />
<bpmn:sequenceFlow id="Flow_0a9rzst" sourceRef="Activity_0pt1ys7" targetRef="Gateway_Beschaedigt_Close" />
<bpmn:userTask id="Ware_vernichten" name="Ware vernichten">
<bpmn:incoming>Flow_vernichten</bpmn:incoming>
<bpmn:outgoing>Flow_0zkq7z5</bpmn:outgoing>
</bpmn:userTask>
<bpmn:userTask id="Ware_spenden" name="Ware spenden">
<bpmn:incoming>Flow_spenden</bpmn:incoming>
<bpmn:outgoing>Flow_0f171gg</bpmn:outgoing>
</bpmn:userTask>
<bpmn:sequenceFlow id="Flow_Erstattung" name="Erstattung" sourceRef="Gateway_Neusendung" targetRef="Finanzdaten_ermitteln">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{erstattung}</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:sequenceFlow id="Flow_neusenden" name="Neusendung" sourceRef="Gateway_Neusendung" targetRef="Manuelle_Pruefung" />
<bpmn:serviceTask id="Erstattung" name="Erstattung ausführen" camunda:type="external" camunda:topic="financial">
<bpmn:extensionElements>
<camunda:inputOutput>
<camunda:inputParameter name="serviceIdentifier">refund</camunda:inputParameter>
<camunda:inputParameter name="ibanRefund">${iban}</camunda:inputParameter>
<camunda:inputParameter name="name">${vorname} ${nachname}</camunda:inputParameter>
<camunda:outputParameter name="emailGesendet">${confirmationEmailSent}</camunda:outputParameter>
</camunda:inputOutput>
</bpmn:extensionElements>
<bpmn:incoming>Flow_Erstattung_Datenermittlung</bpmn:incoming>
<bpmn:outgoing>Flow_06ceryf</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:userTask id="Manuelle_Pruefung" name="Manuelle Prüfung des Anliegens">
<bpmn:incoming>Flow_neusenden</bpmn:incoming>
<bpmn:outgoing>Flow_0u77zm0</bpmn:outgoing>
</bpmn:userTask>
<bpmn:sequenceFlow id="Flow_0u77zm0" sourceRef="Manuelle_Pruefung" targetRef="Warennummer_ermitteln" />
<bpmn:serviceTask id="Warennummer_ermitteln" name="Neue Warennummer ermitteln" camunda:delegateExpression="#{warennummer}">
<bpmn:incoming>Flow_0u77zm0</bpmn:incoming>
<bpmn:outgoing>Flow_03ubi3l</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:userTask id="Paket_packen" name="Paket packen">
<bpmn:extensionElements>
<camunda:inputOutput>
<camunda:outputParameter name="pakettyp">${pakettyp}</camunda:outputParameter>
</camunda:inputOutput>
</bpmn:extensionElements>
<bpmn:incoming>Flow_006t3wo</bpmn:incoming>
<bpmn:outgoing>Flow_0bhr7g8</bpmn:outgoing>
</bpmn:userTask>
<bpmn:sequenceFlow id="Flow_0bhr7g8" sourceRef="Paket_packen" targetRef="Paket_pruefen" />
<bpmn:userTask id="Paket_pruefen" name="Paket prüfen">
<bpmn:extensionElements>
<camunda:formData>
<camunda:formField id="FormField_Paket_Pruefung" label="paket" type="boolean" defaultValue="true" />
</camunda:formData>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0bhr7g8</bpmn:incoming>
<bpmn:outgoing>Flow_1n6o3h6</bpmn:outgoing>
</bpmn:userTask>
<bpmn:exclusiveGateway id="Gateway_Einpackung_Fehlerhaft" default="Flow_paket_okay">
<bpmn:incoming>Flow_1n6o3h6</bpmn:incoming>
<bpmn:outgoing>Flow_paket_okay</bpmn:outgoing>
<bpmn:outgoing>Flow_fehlerhaft_eingepackt</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_1n6o3h6" sourceRef="Paket_pruefen" targetRef="Gateway_Einpackung_Fehlerhaft" />
<bpmn:sequenceFlow id="Flow_paket_okay" name="Paket okay" sourceRef="Gateway_Einpackung_Fehlerhaft" targetRef="Paket_senden" />
<bpmn:sequenceFlow id="Flow_fehlerhaft_eingepackt" name="Fehlerhaft eingepackt" sourceRef="Gateway_Einpackung_Fehlerhaft" targetRef="Gateway_Auspacken">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{paket==false}</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:exclusiveGateway id="Gateway_Einpackung_Fehlerhaft_Closed">
<bpmn:incoming>Flow_03ubi3l</bpmn:incoming>
<bpmn:incoming>Flow_1bnro90</bpmn:incoming>
<bpmn:outgoing>Flow_006t3wo</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_03ubi3l" sourceRef="Warennummer_ermitteln" targetRef="Gateway_Einpackung_Fehlerhaft_Closed" />
<bpmn:sequenceFlow id="Flow_006t3wo" sourceRef="Gateway_Einpackung_Fehlerhaft_Closed" targetRef="Paket_packen" />
<bpmn:sequenceFlow id="Flow_1bnro90" sourceRef="Gateway_14evkap" targetRef="Gateway_Einpackung_Fehlerhaft_Closed" />
<bpmn:exclusiveGateway id="Gateway_Neusendung_Closed">
<bpmn:incoming>Flow_0u4n4gn</bpmn:incoming>
<bpmn:incoming>Flow_Erstattung_abgeschlossen</bpmn:incoming>
<bpmn:outgoing>Flow_0m33odz</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_0u4n4gn" sourceRef="Paket_senden" targetRef="Gateway_Neusendung_Closed" />
<bpmn:sequenceFlow id="Flow_Erstattung_abgeschlossen" sourceRef="Activity_1ssagay" targetRef="Gateway_Neusendung_Closed" />
<bpmn:sequenceFlow id="Flow_0m33odz" sourceRef="Gateway_Neusendung_Closed" targetRef="Gateway_Parallel_Lager_Neusendung_Closed" />
<bpmn:parallelGateway id="Gateway_Parallel_Lager_Neusendung_Closed">
<bpmn:incoming>Flow_0m33odz</bpmn:incoming>
<bpmn:incoming>Flow_1c2tfla</bpmn:incoming>
<bpmn:outgoing>Flow_Ende</bpmn:outgoing>
</bpmn:parallelGateway>
<bpmn:sequenceFlow id="Flow_1c2tfla" sourceRef="Gateway_Beschaedigt_Close" targetRef="Gateway_Parallel_Lager_Neusendung_Closed" />
<bpmn:endEvent id="Retoure_Ende">
<bpmn:incoming>Flow_Ende</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_Ende" sourceRef="Gateway_Parallel_Lager_Neusendung_Closed" targetRef="Retoure_Ende" />
<bpmn:userTask id="Paket_senden" name="Paket senden">
<bpmn:incoming>Flow_paket_okay</bpmn:incoming>
<bpmn:outgoing>Flow_0u4n4gn</bpmn:outgoing>
</bpmn:userTask>
<bpmn:manualTask id="Ware_einsortieren" name="Ware einsortieren">
<bpmn:incoming>Flow_unbeschaedigt</bpmn:incoming>
<bpmn:outgoing>Flow_03mxadh</bpmn:outgoing>
</bpmn:manualTask>
<bpmn:exclusiveGateway id="Gateway_Auspacken">
<bpmn:incoming>Flow_fehlerhaft_eingepackt</bpmn:incoming>
<bpmn:outgoing>Flow_normal_auspacken</bpmn:outgoing>
<bpmn:outgoing>Flow_luxus_auspacken</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:exclusiveGateway id="Gateway_14evkap">
<bpmn:incoming>Flow_04tyvq1</bpmn:incoming>
<bpmn:incoming>Flow_0d8lhxo</bpmn:incoming>
<bpmn:outgoing>Flow_1bnro90</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_04tyvq1" sourceRef="Ware_auspacken_luxus" targetRef="Gateway_14evkap" />
<bpmn:sequenceFlow id="Flow_0d8lhxo" sourceRef="Ware_auspacken_normal" targetRef="Gateway_14evkap" />
<bpmn:sequenceFlow id="Flow_normal_auspacken" name="Normal-verpackung" sourceRef="Gateway_Auspacken" targetRef="Ware_auspacken_normal">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{pakettyp=="Normalverpackung"}</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:sequenceFlow id="Flow_luxus_auspacken" name="Luxusverpackung" sourceRef="Gateway_Auspacken" targetRef="Ware_auspacken_luxus">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{pakettyp=="Luxusverpackung"}</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:sequenceFlow id="Flow_Erstattung_Datenermittlung" sourceRef="Finanzdaten_ermitteln" targetRef="Erstattung" />
<bpmn:serviceTask id="Finanzdaten_ermitteln" name="Finanzdaten ermitteln" camunda:type="external" camunda:topic="financial">
<bpmn:extensionElements>
<camunda:inputOutput>
<camunda:inputParameter name="serviceIdentifier">getData</camunda:inputParameter>
<camunda:inputParameter name="kundennummer">${kundennummer}</camunda:inputParameter>
<camunda:outputParameter name="iban">${ibanRefund}</camunda:outputParameter>
</camunda:inputOutput>
</bpmn:extensionElements>
<bpmn:incoming>Flow_Erstattung</bpmn:incoming>
<bpmn:outgoing>Flow_Erstattung_Datenermittlung</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:manualTask id="Ware_auspacken_luxus" name="Luxuspaket auspacken">
<bpmn:incoming>Flow_luxus_auspacken</bpmn:incoming>
<bpmn:outgoing>Flow_04tyvq1</bpmn:outgoing>
</bpmn:manualTask>
<bpmn:manualTask id="Ware_auspacken_normal" name="Normales Paket auspacken">
<bpmn:incoming>Flow_normal_auspacken</bpmn:incoming>
<bpmn:outgoing>Flow_0d8lhxo</bpmn:outgoing>
</bpmn:manualTask>
<bpmn:sequenceFlow id="Flow_0iibopi" sourceRef="Activity_10yv1wl" targetRef="Gateway_Neusendung" />
<bpmn:serviceTask id="Kundendaten_ermitteln" name="Kundendaten ermitteln" camunda:type="external" camunda:topic="customer">
<bpmn:extensionElements>
<camunda:inputOutput>
<camunda:inputParameter name="kundennummer">${kundennummer}</camunda:inputParameter>
<camunda:outputParameter name="vorname">${firstname}</camunda:outputParameter>
<camunda:outputParameter name="nachname">${lastname}</camunda:outputParameter>
</camunda:inputOutput>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1gu0k49</bpmn:incoming>
<bpmn:outgoing>Flow_0znf9gl</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="Flow_03mxadh" sourceRef="Ware_einsortieren" targetRef="Activity_0pt1ys7" />
<bpmn:manualTask id="Activity_0pt1ys7" name="New Task 1">
<bpmn:incoming>Flow_03mxadh</bpmn:incoming>
<bpmn:outgoing>Flow_0a9rzst</bpmn:outgoing>
</bpmn:manualTask>
<bpmn:sequenceFlow id="Flow_0znf9gl" sourceRef="Kundendaten_ermitteln" targetRef="Activity_10yv1wl" />
<bpmn:manualTask id="Activity_10yv1wl" name="New Task 2">
<bpmn:incoming>Flow_0znf9gl</bpmn:incoming>
<bpmn:outgoing>Flow_0iibopi</bpmn:outgoing>
</bpmn:manualTask>
<bpmn:task id="Activity_1ssagay" name="New Task 3">
<bpmn:incoming>Flow_06ceryf</bpmn:incoming>
<bpmn:outgoing>Flow_Erstattung_abgeschlossen</bpmn:outgoing>
</bpmn:task>
<bpmn:sequenceFlow id="Flow_06ceryf" sourceRef="Erstattung" targetRef="Activity_1ssagay" />
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Retoure">
<bpmndi:BPMNEdge id="Flow_0znf9gl_di" bpmnElement="Flow_0znf9gl">
<di:waypoint x="220" y="540" />
<di:waypoint x="280" y="540" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_03mxadh_di" bpmnElement="Flow_03mxadh">
<di:waypoint x="680" y="160" />
<di:waypoint x="870" y="160" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0iibopi_di" bpmnElement="Flow_0iibopi">
<di:waypoint x="380" y="540" />
<di:waypoint x="445" y="540" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_01i7hk6_di" bpmnElement="Flow_Erstattung_Datenermittlung">
<di:waypoint x="690" y="540" />
<di:waypoint x="810" y="540" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0qjrxz7_di" bpmnElement="Flow_luxus_auspacken">
<di:waypoint x="1150" y="675" />
<di:waypoint x="1150" y="650" />
<di:waypoint x="1060" y="650" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1096" y="623" width="87" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1t3d53q_di" bpmnElement="Flow_normal_auspacken">
<di:waypoint x="1150" y="725" />
<di:waypoint x="1150" y="750" />
<di:waypoint x="1060" y="750" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1111" y="756" width="57" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0d8lhxo_di" bpmnElement="Flow_0d8lhxo">
<di:waypoint x="960" y="750" />
<di:waypoint x="880" y="750" />
<di:waypoint x="880" y="725" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_04tyvq1_di" bpmnElement="Flow_04tyvq1">
<di:waypoint x="960" y="650" />
<di:waypoint x="880" y="650" />
<di:waypoint x="880" y="675" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_02p7iio_di" bpmnElement="Flow_Ende">
<di:waypoint x="1656" y="660" />
<di:waypoint x="1705" y="660" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1c2tfla_di" bpmnElement="Flow_1c2tfla">
<di:waypoint x="1205" y="430" />
<di:waypoint x="1631" y="430" />
<di:waypoint x="1631" y="635" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0m33odz_di" bpmnElement="Flow_0m33odz">
<di:waypoint x="1555" y="660" />
<di:waypoint x="1606" y="660" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0pjcsuy_di" bpmnElement="Flow_Erstattung_abgeschlossen">
<di:waypoint x="1070" y="540" />
<di:waypoint x="1530" y="540" />
<di:waypoint x="1530" y="635" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0u4n4gn_di" bpmnElement="Flow_0u4n4gn">
<di:waypoint x="1500" y="870" />
<di:waypoint x="1530" y="870" />
<di:waypoint x="1530" y="685" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1bnro90_di" bpmnElement="Flow_1bnro90">
<di:waypoint x="855" y="700" />
<di:waypoint x="760" y="700" />
<di:waypoint x="760" y="845" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_006t3wo_di" bpmnElement="Flow_006t3wo">
<di:waypoint x="785" y="870" />
<di:waypoint x="870" y="870" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_03ubi3l_di" bpmnElement="Flow_03ubi3l">
<di:waypoint x="690" y="870" />
<di:waypoint x="735" y="870" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1ff93it_di" bpmnElement="Flow_fehlerhaft_eingepackt">
<di:waypoint x="1270" y="845" />
<di:waypoint x="1270" y="700" />
<di:waypoint x="1180" y="700" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1202" y="761" width="55" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_17na1xt_di" bpmnElement="Flow_paket_okay">
<di:waypoint x="1295" y="870" />
<di:waypoint x="1400" y="870" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1320" y="852" width="55" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1n6o3h6_di" bpmnElement="Flow_1n6o3h6">
<di:waypoint x="1160" y="870" />
<di:waypoint x="1245" y="870" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0bhr7g8_di" bpmnElement="Flow_0bhr7g8">
<di:waypoint x="970" y="870" />
<di:waypoint x="1060" y="870" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0u77zm0_di" bpmnElement="Flow_0u77zm0">
<di:waypoint x="520" y="870" />
<di:waypoint x="590" y="870" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_17xuhq0_di" bpmnElement="Flow_neusenden">
<di:waypoint x="470" y="565" />
<di:waypoint x="470" y="830" />
<bpmndi:BPMNLabel>
<dc:Bounds x="478" y="719" width="63" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0hwn7f3_di" bpmnElement="Flow_Erstattung">
<di:waypoint x="495" y="540" />
<di:waypoint x="590" y="540" />
<bpmndi:BPMNLabel>
<dc:Bounds x="507" y="522" width="51" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0a9rzst_di" bpmnElement="Flow_0a9rzst">
<di:waypoint x="970" y="160" />
<di:waypoint x="1180" y="160" />
<di:waypoint x="1180" y="405" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_14jbtgw_di" bpmnElement="Flow_14jbtgw">
<di:waypoint x="1085" y="430" />
<di:waypoint x="1155" y="430" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0zkq7z5_di" bpmnElement="Flow_0zkq7z5">
<di:waypoint x="970" y="320" />
<di:waypoint x="1060" y="320" />
<di:waypoint x="1060" y="405" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0f171gg_di" bpmnElement="Flow_0f171gg">
<di:waypoint x="970" y="430" />
<di:waypoint x="1035" y="430" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0t6w55x_di" bpmnElement="Flow_spenden">
<di:waypoint x="780" y="345" />
<di:waypoint x="780" y="430" />
<di:waypoint x="870" y="430" />
<bpmndi:BPMNLabel>
<dc:Bounds x="798" y="403" width="43" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0zzjxrn_di" bpmnElement="Flow_vernichten">
<di:waypoint x="805" y="320" />
<di:waypoint x="870" y="320" />
<bpmndi:BPMNLabel>
<dc:Bounds x="812" y="302" width="51" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0kgxxke_di" bpmnElement="Flow_0kgxxke">
<di:waypoint x="730" y="320" />
<di:waypoint x="755" y="320" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_01lf19r_di" bpmnElement="Flow_01lf19r">
<di:waypoint x="560" y="320" />
<di:waypoint x="630" y="320" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0rsh9gw_di" bpmnElement="Flow_beschaedigt">
<di:waypoint x="350" y="255" />
<di:waypoint x="350" y="320" />
<di:waypoint x="460" y="320" />
<bpmndi:BPMNLabel>
<dc:Bounds x="342" y="285" width="55" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1ffiujj_di" bpmnElement="Flow_unbeschaedigt">
<di:waypoint x="350" y="205" />
<di:waypoint x="350" y="160" />
<di:waypoint x="580" y="160" />
<bpmndi:BPMNLabel>
<dc:Bounds x="436" y="166" width="55" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1gu0k49_di" bpmnElement="Flow_1gu0k49">
<di:waypoint x="260" y="402" />
<di:waypoint x="260" y="451" />
<di:waypoint x="170" y="451" />
<di:waypoint x="170" y="500" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0eh02jo_di" bpmnElement="Flow_0eh02jo">
<di:waypoint x="260" y="352" />
<di:waypoint x="260" y="230" />
<di:waypoint x="325" y="230" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0emcbml_di" bpmnElement="Flow_Start">
<di:waypoint x="188" y="377" />
<di:waypoint x="235" y="377" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_06ceryf_di" bpmnElement="Flow_06ceryf">
<di:waypoint x="910" y="540" />
<di:waypoint x="970" y="540" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="Retoure_Start">
<dc:Bounds x="152" y="359" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_0pbw15b_di" bpmnElement="Gateway_Parallel_Lager_Neusendung">
<dc:Bounds x="235" y="352" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_12gz2vz_di" bpmnElement="Gateway_Beschaedigt" isMarkerVisible="true">
<dc:Bounds x="325" y="205" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_1baqz4f_di" bpmnElement="Gateway_Neusendung" isMarkerVisible="true">
<dc:Bounds x="445" y="515" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1l943g0_di" bpmnElement="Warendaten_erfassen">
<dc:Bounds x="460" y="280" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0axy9lw_di" bpmnElement="Vernichtung_ermitteln">
<dc:Bounds x="630" y="280" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_0tcbgt9_di" bpmnElement="Gateway_Vernichtung" isMarkerVisible="true">
<dc:Bounds x="755" y="295" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_1usozh0_di" bpmnElement="Gateway_Vernichtung_Close" isMarkerVisible="true">
<dc:Bounds x="1035" y="405" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_0nb41va_di" bpmnElement="Gateway_Beschaedigt_Close" isMarkerVisible="true">
<dc:Bounds x="1155" y="405" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1obx3f0_di" bpmnElement="Ware_vernichten">
<dc:Bounds x="870" y="280" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0swadmc_di" bpmnElement="Ware_spenden">
<dc:Bounds x="870" y="390" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0dpq7jh_di" bpmnElement="Manuelle_Pruefung">
<dc:Bounds x="420" y="830" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0fnre3x_di" bpmnElement="Warennummer_ermitteln">
<dc:Bounds x="590" y="830" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_01orosg_di" bpmnElement="Paket_packen">
<dc:Bounds x="870" y="830" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0sg307t_di" bpmnElement="Paket_pruefen">
<dc:Bounds x="1060" y="830" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_0wlcnif_di" bpmnElement="Gateway_Einpackung_Fehlerhaft" isMarkerVisible="true">
<dc:Bounds x="1245" y="845" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_0pa451i_di" bpmnElement="Gateway_Einpackung_Fehlerhaft_Closed" isMarkerVisible="true">
<dc:Bounds x="735" y="845" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_0hqss9s_di" bpmnElement="Gateway_Neusendung_Closed" isMarkerVisible="true">
<dc:Bounds x="1505" y="635" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_05633xf_di" bpmnElement="Gateway_Parallel_Lager_Neusendung_Closed">
<dc:Bounds x="1606" y="635" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1ihgrip_di" bpmnElement="Retoure_Ende">
<dc:Bounds x="1705" y="642" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1ma1os5_di" bpmnElement="Paket_senden">
<dc:Bounds x="1400" y="830" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1p3me1t_di" bpmnElement="Ware_einsortieren">
<dc:Bounds x="580" y="120" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_0bffnik_di" bpmnElement="Gateway_Auspacken" isMarkerVisible="true">
<dc:Bounds x="1125" y="675" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_14evkap_di" bpmnElement="Gateway_14evkap" isMarkerVisible="true">
<dc:Bounds x="855" y="675" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1t8f6i7_di" bpmnElement="Finanzdaten_ermitteln">
<dc:Bounds x="590" y="500" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1gpa5a1_di" bpmnElement="Ware_auspacken_luxus">
<dc:Bounds x="960" y="610" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1xfsrap_di" bpmnElement="Ware_auspacken_normal">
<dc:Bounds x="960" y="710" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1l3qzwt_di" bpmnElement="Kundendaten_ermitteln">
<dc:Bounds x="120" y="500" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0rn03kj_di" bpmnElement="Activity_0pt1ys7">
<dc:Bounds x="870" y="120" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1yojvdr_di" bpmnElement="Activity_10yv1wl">
<dc:Bounds x="280" y="500" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0jhtgen_di" bpmnElement="Erstattung">
<dc:Bounds x="810" y="500" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1ssagay_di" bpmnElement="Activity_1ssagay">
<dc:Bounds x="970" y="500" width="100" height="80" />
</bpmndi:BPMNShape>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>
......@@ -43,9 +43,7 @@ public class ChangeController {
{
for(int i = 0 ; i<keywords.length;i++){
if(line.startsWith(keywords[i])){
// do something if(line.contains(keywords[i])){
System.out.println(line);
System.out.println(line);
}
}
line=reader.readLine();
......
import { Component, OnInit, ViewChild, ViewChildren } from '@angular/core';
import { ActivatedRoute } from '@angular/router';
import { HttpClient } from '@angular/common/http';
import { environment } from 'src/environments/environment';
import { FileService } from 'src/app/services/file.service';
import { ProjectService } from 'src/app/services/project.service';
import { SingleProjectConfig } from 'src/app/models/single-project-config';
......@@ -11,6 +11,7 @@ let BpmnModdle = require('bpmn-moddle').default;
//import BpmnModdle from 'bpmn-moddle';
import { diff } from 'bpmn-js-differ';
import { BpmnDiagramComponent } from '../bpmn-diagram/bpmn-diagram.component';
import { NONE_TYPE } from '@angular/compiler';
@Component({
selector: 'app-update-project',
......@@ -29,7 +30,7 @@ export class UpdateProjectComponent implements OnInit {
@ViewChild('backupDiagram') backupDiagram;
@ViewChild('newDiagram') newDiagram;
constructor(private fileService: FileService, private projectService: ProjectService, private route: ActivatedRoute) {
constructor(private fileService: FileService, private projectService: ProjectService, private route: ActivatedRoute, public http: HttpClient) {
this.route.params.subscribe(params =>
this.actualProject = params['projectId']
)
......@@ -46,7 +47,7 @@ export class UpdateProjectComponent implements OnInit {
async compareProjects() {
var currentDiagram, newDiagram;
try {
var result = await new BpmnModdle().fromXML(this.diagram);
currentDiagram = result.rootElement;
......@@ -76,7 +77,20 @@ export class UpdateProjectComponent implements OnInit {
for(let element of Object.keys(changes._added)) {
newCanvas.addMarker(element, 'marker-added');
}
console.log(this.actualProject)
this.getMatchingFlowsMessage();
}
identifyMatchingFlows(projectId: number): Promise<string> {
const url = `${environment.apiBaseUrl}project/${projectId}/match`;
return this.http.get(url, {responseType: 'text'}).toPromise();
}
async getMatchingFlowsMessage() {
let message = await this.identifyMatchingFlows (this.actualProject)
console.log(message)
}
async loadProject() {
try {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment