Workflow XML-voorbeelden
Vooraf
Hieronder vind je enkele voorbeelden van .bpmn-bestanden, gaande van basic tot complex.
Voorbeelden
Basic
Deze eenvoudige BPMN start via een message start event vanuit de frontoffice, geeft signalen (mijlpalen) voor statussen (‘Aanvraag opgestart’, ‘Aanvraag in behandeling’, ‘Aanvraag behandeld’), laat de groep ‘aanvrager’ een gebruikertaak uitvoeren om het formulier ‘demoFormulier’ (onkostennota) in te vullen, en publiceert daarna automatisch in de frontoffice-downloadzone: een communicatie-PDF op basis van sjabloon ‘onkostennota’ met dynamische bestandsnaam/label (veld ‘naam’ uit het formulier), het ingevulde formulier zelf en de bijlage ‘bewijs’. Vervolgens bevestigt de dossierbehandelaar en sluit het dossier af met ‘Dossier afgerond’.
<?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:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:bioc="http://bpmn.io/schema/bpmn/biocolor/1.0" xmlns:color="http://www.omg.org/spec/BPMN/non-normative/color/1.0" id="Definitions_10ft502" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.7.3">
<bpmn:process id="frontofficeDownloadZone" name="Frontoffice download zone" isExecutable="true">
<bpmn:extensionElements>
<camunda:properties>
<camunda:property name="description" value="Documentatie demo herwerking frontoffice download zone (v31.0.X)" />
<camunda:property name="email" value="" />
</camunda:properties>
</bpmn:extensionElements>
<bpmn:startEvent id="StartEvent_1" name="Opgestart vanuit FO">
<bpmn:outgoing>Flow_0mrgfmj</bpmn:outgoing>
<bpmn:messageEventDefinition id="MessageEventDefinition_1ojixbf" messageRef="Message_0ajfmkg" />
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_0mrgfmj" sourceRef="StartEvent_1" targetRef="Event_04749yp" />
<bpmn:userTask id="Activity_037hfzj" name="Vul onkostennota in" camunda:modelerTemplate="com.skryv.SkryvDocUserTask" camunda:candidateGroups="aanvrager">
<bpmn:extensionElements>
<camunda:inputOutput>
<camunda:inputParameter name="scope">DOSSIER</camunda:inputParameter>
<camunda:inputParameter name="markReadOnly">true</camunda:inputParameter>
<camunda:inputParameter name="definition">demoFormulier</camunda:inputParameter>
</camunda:inputOutput>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0nzfmk6</bpmn:incoming>
<bpmn:outgoing>Flow_1snv0gm</bpmn:outgoing>
</bpmn:userTask>
<bpmn:sequenceFlow id="Flow_1snv0gm" sourceRef="Activity_037hfzj" targetRef="Activity_005s67f" />
<bpmn:endEvent id="Event_03mbrop" name="Dossier afgerond">
<bpmn:incoming>Flow_12evmtb</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_0cbw5w5" sourceRef="Activity_005s67f" targetRef="Activity_0mrco70" />
<bpmn:serviceTask id="Activity_005s67f" name="Communicatie in FO" camunda:modelerTemplate="com.skryv.downloadZone" camunda:expression="${skryv.dossierFromScope(execution).getLatestOrCreateCommunicationByTemplateName(communicationTemplate).addToDownloadZoneAsPdf(labelForDownloadZone, fileNameForDownload)}">
<bpmn:extensionElements>
<camunda:inputOutput>
<camunda:inputParameter name="fileNameForDownload">${'Onkostennota '.concat(skryv.dossierFromScope(execution).getDocumentByDefinitionKey('demoFormulier').getField('naam'))}</camunda:inputParameter>
<camunda:inputParameter name="labelForDownloadZone">${'Communicatie '.concat(skryv.dossierFromScope(execution).getDocumentByDefinitionKey('demoFormulier').getField('naam'))}</camunda:inputParameter>
<camunda:inputParameter name="communicationTemplate">onkostennota</camunda:inputParameter>
</camunda:inputOutput>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1snv0gm</bpmn:incoming>
<bpmn:outgoing>Flow_0cbw5w5</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="Flow_0t0s1mq" sourceRef="Activity_0mrco70" targetRef="Activity_1wqwwww" />
<bpmn:serviceTask id="Activity_0mrco70" name="Formulier in FO" camunda:modelerTemplate="com.skryv.downloadZone" camunda:expression="${skryv.dossierFromScope(execution).getOrCreateDocumentByDefinitionKey(formKey).addToDownloadZone(labelForDownloadZone, fileNameForDownload)}">
<bpmn:extensionElements>
<camunda:inputOutput>
<camunda:inputParameter name="fileNameForDownload" />
<camunda:inputParameter name="formKey">demoFormulier</camunda:inputParameter>
<camunda:inputParameter name="formField" />
<camunda:inputParameter name="labelForDownloadZone">${'Formulier '.concat(skryv.dossierFromScope(execution).getDocumentByDefinitionKey('demoFormulier').getField('naam'))}</camunda:inputParameter>
</camunda:inputOutput>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0cbw5w5</bpmn:incoming>
<bpmn:outgoing>Flow_0t0s1mq</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="Flow_16mj6pd" sourceRef="Activity_1wqwwww" targetRef="Event_0svlo7v" />
<bpmn:serviceTask id="Activity_1wqwwww" name="Bijlage in FO" camunda:modelerTemplate="com.skryv.downloadZone" camunda:expression="${skryv.dossierFromScope(execution).getOrCreateDocumentByDefinitionKey(formKey).getAttachmentField(formField).addToDownloadZone(labelForDownloadZone, fileNameForDownload)}">
<bpmn:extensionElements>
<camunda:inputOutput>
<camunda:inputParameter name="fileNameForDownload" />
<camunda:inputParameter name="formKey">demoFormulier</camunda:inputParameter>
<camunda:inputParameter name="formField">bewijs</camunda:inputParameter>
<camunda:inputParameter name="labelForDownloadZone">${'Bewijsstuk '.concat(skryv.dossierFromScope(execution).getDocumentByDefinitionKey('demoFormulier').getField('naam'))}</camunda:inputParameter>
</camunda:inputOutput>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0t0s1mq</bpmn:incoming>
<bpmn:outgoing>Flow_16mj6pd</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="Flow_0nzfmk6" sourceRef="Event_04749yp" targetRef="Activity_037hfzj" />
<bpmn:intermediateThrowEvent id="Event_04749yp" name="Aanvraag opgestart">
<bpmn:incoming>Flow_0mrgfmj</bpmn:incoming>
<bpmn:outgoing>Flow_0nzfmk6</bpmn:outgoing>
<bpmn:signalEventDefinition id="SignalEventDefinition_1ryrtqg" signalRef="Signal_23r2ri9" />
</bpmn:intermediateThrowEvent>
<bpmn:sequenceFlow id="Flow_10mirki" sourceRef="Event_0svlo7v" targetRef="Activity_10qvgvb" />
<bpmn:intermediateThrowEvent id="Event_0svlo7v" name="Aanvraag in behandeling">
<bpmn:incoming>Flow_16mj6pd</bpmn:incoming>
<bpmn:outgoing>Flow_10mirki</bpmn:outgoing>
<bpmn:signalEventDefinition id="SignalEventDefinition_1jwxk0l" signalRef="Signal_2ejfmke" />
</bpmn:intermediateThrowEvent>
<bpmn:sequenceFlow id="Flow_19rlu1s" sourceRef="Activity_10qvgvb" targetRef="Event_0bce86i" />
<bpmn:userTask id="Activity_10qvgvb" name="Bevestig" camunda:candidateGroups="dossierbehandelaar">
<bpmn:documentation>Bevestig</bpmn:documentation>
<bpmn:incoming>Flow_10mirki</bpmn:incoming>
<bpmn:outgoing>Flow_19rlu1s</bpmn:outgoing>
</bpmn:userTask>
<bpmn:sequenceFlow id="Flow_12evmtb" sourceRef="Event_0bce86i" targetRef="Event_03mbrop" />
<bpmn:intermediateThrowEvent id="Event_0bce86i" name="Aanvraag behandeld">
<bpmn:incoming>Flow_19rlu1s</bpmn:incoming>
<bpmn:outgoing>Flow_12evmtb</bpmn:outgoing>
<bpmn:signalEventDefinition id="SignalEventDefinition_1btvmsp" signalRef="Signal_0djngbt" />
</bpmn:intermediateThrowEvent>
</bpmn:process>
<bpmn:message id="Message_0ajfmkg" name="downloadZoneDemo" />
<bpmn:signal id="Signal_23r2ri9" name="DS_Event_04749yp" />
<bpmn:signal id="Signal_2ejfmke" name="DS_Event_0svlo7v" />
<bpmn:signal id="Signal_0djngbt" name="DS_Event_0bce86i" />
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="frontofficeDownloadZone">
<bpmndi:BPMNEdge id="Flow_12evmtb_di" bpmnElement="Flow_12evmtb">
<di:waypoint x="1138" y="97" />
<di:waypoint x="1222" y="97" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_19rlu1s_di" bpmnElement="Flow_19rlu1s">
<di:waypoint x="1050" y="97" />
<di:waypoint x="1102" y="97" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_10mirki_di" bpmnElement="Flow_10mirki">
<di:waypoint x="908" y="97" />
<di:waypoint x="950" y="97" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0nzfmk6_di" bpmnElement="Flow_0nzfmk6">
<di:waypoint x="198" y="97" />
<di:waypoint x="250" y="97" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_16mj6pd_di" bpmnElement="Flow_16mj6pd">
<di:waypoint x="830" y="97" />
<di:waypoint x="872" y="97" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0t0s1mq_di" bpmnElement="Flow_0t0s1mq">
<di:waypoint x="660" y="97" />
<di:waypoint x="730" y="97" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0cbw5w5_di" bpmnElement="Flow_0cbw5w5">
<di:waypoint x="510" y="97" />
<di:waypoint x="560" y="97" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1snv0gm_di" bpmnElement="Flow_1snv0gm">
<di:waypoint x="350" y="97" />
<di:waypoint x="410" y="97" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0mrgfmj_di" bpmnElement="Flow_0mrgfmj">
<di:waypoint x="48" y="97" />
<di:waypoint x="162" y="97" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="Event_0o3id5k_di" bpmnElement="StartEvent_1">
<dc:Bounds x="12" y="79" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="-6" y="122" width="82" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0acsefn_di" bpmnElement="Activity_037hfzj" bioc:stroke="#1e88e5" bioc:fill="#bbdefb" color:background-color="#bbdefb" color:border-color="#1e88e5">
<dc:Bounds x="250" y="57" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_03mbrop_di" bpmnElement="Event_03mbrop">
<dc:Bounds x="1222" y="79" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1202" y="122" width="84" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_07injzx_di" bpmnElement="Activity_005s67f">
<dc:Bounds x="410" y="57" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1kru6lo_di" bpmnElement="Activity_0mrco70">
<dc:Bounds x="560" y="57" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0awaclu_di" bpmnElement="Activity_1wqwwww">
<dc:Bounds x="730" y="57" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0efiw44_di" bpmnElement="Event_04749yp">
<dc:Bounds x="162" y="79" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="161" y="122" width="47" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_19lwhus_di" bpmnElement="Event_0svlo7v">
<dc:Bounds x="872" y="79" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="863" y="122" width="60" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0eufr9x_di" bpmnElement="Activity_10qvgvb" bioc:stroke="#8e24aa" bioc:fill="#e1bee7" color:background-color="#e1bee7" color:border-color="#8e24aa">
<dc:Bounds x="950" y="57" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1oilyz5_di" bpmnElement="Event_0bce86i">
<dc:Bounds x="1102" y="79" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1100" y="122" width="52" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>
Eenvoudig
Deze workflow start via een message start event en vult bij de start met execution listeners automatisch dossier- en documentvelden vooraf in. De aanvrager en de dossierbehandelaar voeren elk hun gebruikerstaken uit. Een DMN/business rule task bepaalt het subsidiepercentage, waarna de flow vertakt op aanvaarding of weigering en een goedkeurings- of weigerings-PDF in de frontoffice-downloadzone publiceert. De workflow eindigt na een (dummy) betaling en het versturen van de bijhorende notificaties.
<?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:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bioc="http://bpmn.io/schema/bpmn/biocolor/1.0" xmlns:color="http://www.omg.org/spec/BPMN/non-normative/color/1.0" id="Definitions_10ft502" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.7.3">
<bpmn:process id="subsidieAanvraagZorgProces" name="subsidieAanvraagZorgProces" isExecutable="true">
<bpmn:extensionElements>
<camunda:properties>
<camunda:property name="description" value="Hoofdproces" />
</camunda:properties>
<camunda:executionListener expression="${skryv.dossierFromScope(execution).getOrCreateDocumentByDefinitionKey("aanvraagInvesteringssubsidiesZorg").setField("gegevensOrganisatie.naamOrganisatie",'Zorginstelling ABC')}" event="start" />
<camunda:executionListener expression="${skryv.dossierFromScope(execution).getOrCreateDocumentByDefinitionKey("aanvraagInvesteringssubsidiesZorg").setField("gegevensOrganisatie.kboNummer", '0458597291')}" event="start" />
<camunda:executionListener expression="${skryv.dossierFromScope(execution).getOrCreateDocumentByDefinitionKey("aanvraagInvesteringssubsidiesZorg").setField("gegevensOrganisatie.voornaamContactpersoon", 'Emma')}" event="start" />
<camunda:executionListener expression="${skryv.dossierFromScope(execution).getOrCreateDocumentByDefinitionKey("aanvraagInvesteringssubsidiesZorg").setField("gegevensOrganisatie.naamContactpersoon", 'Dubois')}" event="start" />
<camunda:executionListener expression="${skryv.dossierFromScope(execution).getOrCreateDocumentByDefinitionKey("aanvraagInvesteringssubsidiesZorg").setField("gegevensOrganisatie.emailContactpersoon", 'emma.dubois@zorginstellingabc.be')}" event="start" />
<camunda:executionListener expression="${skryv.dossierFromScope(execution).getOrCreateDocumentByDefinitionKey("aanvraagInvesteringssubsidiesZorg").setField("gegevensOrganisatie.telefoonnummer", '320450123123')}" event="start" />
<camunda:executionListener expression="${skryv.dossierFromScope(execution).getOrCreateDocumentByDefinitionKey("aanvraagInvesteringssubsidiesZorg").setField("newFieldsetZ9Kmgi.street", 'Zorgstraat')}" event="start" />
<camunda:executionListener expression="${skryv.dossierFromScope(execution).getOrCreateDocumentByDefinitionKey("aanvraagInvesteringssubsidiesZorg").setField("newFieldsetZ9Kmgi.housenumber", '1')}" event="start" />
<camunda:executionListener expression="${skryv.dossierFromScope(execution).getOrCreateDocumentByDefinitionKey("aanvraagInvesteringssubsidiesZorg").setField("newFieldsetZ9Kmgi.zipcode", '1501')}" event="start" />
<camunda:executionListener expression="${skryv.dossierFromScope(execution).getOrCreateDocumentByDefinitionKey("aanvraagInvesteringssubsidiesZorg").setField("newFieldsetZ9Kmgi.municipality", 'Zorg')}" event="start" />
</bpmn:extensionElements>
<bpmn:startEvent id="StartEvent_1" name="Aanvraag opgestart">
<bpmn:outgoing>Flow_0ittdso</bpmn:outgoing>
<bpmn:messageEventDefinition id="MessageEventDefinition_0gou3af" messageRef="Message_1f5dn68" />
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_0ittdso" sourceRef="StartEvent_1" targetRef="Activity_0ewld6d" />
<bpmn:userTask id="Activity_1qck739" name="Vraag subsidie investering zorg aan" camunda:modelerTemplate="com.skryv.SkryvDocUserTask" camunda:candidateGroups="aanvrager">
<bpmn:extensionElements>
<camunda:inputOutput>
<camunda:inputParameter name="scope">DOSSIER</camunda:inputParameter>
<camunda:inputParameter name="markReadOnly">true</camunda:inputParameter>
<camunda:inputParameter name="definition">aanvraagInvesteringssubsidiesZorg</camunda:inputParameter>
<camunda:inputParameter name="submitText">Indienen</camunda:inputParameter>
</camunda:inputOutput>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1664o0q</bpmn:incoming>
<bpmn:outgoing>Flow_1sujerm</bpmn:outgoing>
</bpmn:userTask>
<bpmn:sequenceFlow id="Flow_1sujerm" sourceRef="Activity_1qck739" targetRef="Activity_0jnuszp" />
<bpmn:userTask id="Activity_1yjd93n" name="Beoordeel subsidie investering zorg" camunda:modelerTemplate="com.skryv.SkryvDocUserTask" camunda:candidateGroups="dossierbehandelaar">
<bpmn:extensionElements>
<camunda:inputOutput>
<camunda:inputParameter name="scope">DOSSIER</camunda:inputParameter>
<camunda:inputParameter name="markReadOnly">true</camunda:inputParameter>
<camunda:inputParameter name="contextDefaultForm">aanvraagSubsidieInvesteringZorg</camunda:inputParameter>
<camunda:inputParameter name="submitText">Beoordeel</camunda:inputParameter>
<camunda:inputParameter name="definition">beoordeelSubsidieaanvraagZorginvestering</camunda:inputParameter>
</camunda:inputOutput>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0ouofel</bpmn:incoming>
<bpmn:outgoing>Flow_02qgbpd</bpmn:outgoing>
</bpmn:userTask>
<bpmn:exclusiveGateway id="Gateway_0qcezfc" name="Aanvaard?" default="Flow_0b153y9">
<bpmn:incoming>Flow_00xjivj</bpmn:incoming>
<bpmn:outgoing>Flow_0b153y9</bpmn:outgoing>
<bpmn:outgoing>Flow_08jk9fa</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_02qgbpd" sourceRef="Activity_1yjd93n" targetRef="Event_0vv8kmj" />
<bpmn:serviceTask id="Activity_0mq2vr9" name="Publiceer goedkeuring in frontoffice" camunda:modelerTemplate="com.skryv.downloadZone" camunda:expression="${skryv.dossierFromScope(execution).getLatestOrCreateCommunicationByTemplateName(communicationTemplate).addToDownloadZone(labelForDownloadZone, fileNameForDownload)}">
<bpmn:extensionElements>
<camunda:inputOutput>
<camunda:inputParameter name="fileNameForDownload">Subsidie goedkeuring</camunda:inputParameter>
<camunda:inputParameter name="communicationTemplate">subsidieaanvraagZorginvesteringGoedkeuring</camunda:inputParameter>
<camunda:inputParameter name="labelForDownloadZone">Subsidie goedkeuring</camunda:inputParameter>
</camunda:inputOutput>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0b153y9</bpmn:incoming>
<bpmn:outgoing>Flow_1ufigcc</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="Flow_0b153y9" name="Ja" sourceRef="Gateway_0qcezfc" targetRef="Activity_0mq2vr9" />
<bpmn:sequenceFlow id="Flow_08jk9fa" name="Nee" sourceRef="Gateway_0qcezfc" targetRef="Activity_04wbzrb">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">${skryv.dossierFromScope(execution).getOrCreateDocumentByDefinitionKey("beoordeelSubsidieaanvraagZorginvestering").getField("aanvraagAanvaarden") == false}</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:serviceTask id="Activity_04wbzrb" name="Publiceer weigering in frontoffice" camunda:modelerTemplate="com.skryv.downloadZone" camunda:expression="${skryv.dossierFromScope(execution).getLatestOrCreateCommunicationByTemplateName(communicationTemplate).addToDownloadZone(labelForDownloadZone, fileNameForDownload)}">
<bpmn:extensionElements>
<camunda:inputOutput>
<camunda:inputParameter name="fileNameForDownload">Subsidieaanvraag weigering</camunda:inputParameter>
<camunda:inputParameter name="communicationTemplate">subsidieaanvraagZorginvesteringWeigering</camunda:inputParameter>
<camunda:inputParameter name="labelForDownloadZone">Subsidieaanvraag weigering</camunda:inputParameter>
</camunda:inputOutput>
</bpmn:extensionElements>
<bpmn:incoming>Flow_08jk9fa</bpmn:incoming>
<bpmn:outgoing>Flow_1qvjqlu</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:exclusiveGateway id="Gateway_07fz73m">
<bpmn:incoming>Flow_1v5ikoz</bpmn:incoming>
<bpmn:incoming>Flow_038s3kk</bpmn:incoming>
<bpmn:outgoing>Flow_0814uqn</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_1ufigcc" sourceRef="Activity_0mq2vr9" targetRef="Activity_1l2i9ps" />
<bpmn:sequenceFlow id="Flow_1qvjqlu" sourceRef="Activity_04wbzrb" targetRef="Activity_09q9lsp" />
<bpmn:endEvent id="Event_11l56s5" name="Aanvraag afgerond">
<bpmn:incoming>Flow_1iq4osj</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_1664o0q" sourceRef="Activity_0ewld6d" targetRef="Activity_1qck739" />
<bpmn:serviceTask id="Activity_0ewld6d" name="Vul logingegevens automatisch in" camunda:expression="${true}">
<bpmn:incoming>Flow_0ittdso</bpmn:incoming>
<bpmn:outgoing>Flow_1664o0q</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="Flow_1xfd654" sourceRef="Activity_0jnuszp" targetRef="Activity_1pc6p5i" />
<bpmn:serviceTask id="Activity_0jnuszp" name="Plaats kopie aanvraag in frontoffice" camunda:modelerTemplate="com.skryv.downloadZone" camunda:expression="${skryv.dossierFromScope(execution).getOrCreateDocumentByDefinitionKey(formKey).addToDownloadZone(labelForDownloadZone, fileNameForDownload)}">
<bpmn:extensionElements>
<camunda:inputOutput>
<camunda:inputParameter name="fileNameForDownload" />
<camunda:inputParameter name="formKey">aanvraagInvesteringssubsidiesZorg</camunda:inputParameter>
<camunda:inputParameter name="formField" />
<camunda:inputParameter name="labelForDownloadZone">Kopie van uw aanvraag</camunda:inputParameter>
</camunda:inputOutput>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1sujerm</bpmn:incoming>
<bpmn:outgoing>Flow_1xfd654</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="Flow_0ouofel" sourceRef="Activity_17arb93" targetRef="Activity_1yjd93n" />
<bpmn:businessRuleTask id="Activity_17arb93" name="Bepaal subsidie-percentage" camunda:asyncBefore="true" camunda:resultVariable="subsidiePercentage" camunda:decisionRef="subsidiepercentage" camunda:mapDecisionResult="singleEntry">
<bpmn:extensionElements>
<camunda:inputOutput>
<camunda:inputParameter name="bijkomendAanbod">${skryv.dossierFromScope(execution).getOrCreateDocumentByDefinitionKey("aanvraagInvesteringssubsidiesZorg").getField("gegevensOverDeInfrastructuurinvestering.creeertDeInvesteringBijkomendZorgaanbod") == true}</camunda:inputParameter>
<camunda:inputParameter name="nietVipa">${skryv.dossierFromScope(execution).getOrCreateDocumentByDefinitionKey("aanvraagInvesteringssubsidiesZorg").getField("detailsAndereOverheidsinstanties.ontvangtInvesteringssubsidies") == false}</camunda:inputParameter>
</camunda:inputOutput>
<camunda:executionListener expression="${skryv.dossierFromScope(execution).getOrCreateDocumentByDefinitionKey("beoordeelSubsidieaanvraagZorginvestering").setField("percentage", subsidiePercentage)}" event="end" />
</bpmn:extensionElements>
<bpmn:incoming>Flow_0asftbh</bpmn:incoming>
<bpmn:outgoing>Flow_0ouofel</bpmn:outgoing>
</bpmn:businessRuleTask>
<bpmn:sequenceFlow id="Flow_0asftbh" sourceRef="Event_061twj8" targetRef="Activity_17arb93" />
<bpmn:intermediateThrowEvent id="Event_061twj8" name="Aanvraag ingediend">
<bpmn:incoming>Flow_07m0rib</bpmn:incoming>
<bpmn:outgoing>Flow_0asftbh</bpmn:outgoing>
<bpmn:signalEventDefinition id="SignalEventDefinition_0ai67lm" signalRef="Signal_19l05os" />
</bpmn:intermediateThrowEvent>
<bpmn:sequenceFlow id="Flow_1iq4osj" sourceRef="Event_0qcnbmx" targetRef="Event_11l56s5" />
<bpmn:intermediateThrowEvent id="Event_0qcnbmx" name="Dossier afgesloten">
<bpmn:incoming>Flow_0814uqn</bpmn:incoming>
<bpmn:outgoing>Flow_1iq4osj</bpmn:outgoing>
<bpmn:signalEventDefinition id="SignalEventDefinition_0x0cw21" signalRef="Signal_3dtmvup" />
</bpmn:intermediateThrowEvent>
<bpmn:intermediateThrowEvent id="Event_0vv8kmj" name="Beslissing genomen">
<bpmn:incoming>Flow_02qgbpd</bpmn:incoming>
<bpmn:outgoing>Flow_00xjivj</bpmn:outgoing>
<bpmn:signalEventDefinition id="SignalEventDefinition_0kwoak9" signalRef="Signal_321fn00" />
</bpmn:intermediateThrowEvent>
<bpmn:sequenceFlow id="Flow_0814uqn" sourceRef="Gateway_07fz73m" targetRef="Event_0qcnbmx" />
<bpmn:sequenceFlow id="Flow_00xjivj" sourceRef="Event_0vv8kmj" targetRef="Gateway_0qcezfc" />
<bpmn:sequenceFlow id="Flow_1xry5m8" sourceRef="Activity_0rlor1h" targetRef="Activity_1ck66rp" />
<bpmn:userTask id="Activity_0rlor1h" name="Betaal uit" camunda:candidateGroups="dossierbehandelaar">
<bpmn:documentation>Dit is een dummy taak. In de praktijk kan hier een uitbetalingsopdracht naar het boekhoudpakket voorzien worden.</bpmn:documentation>
<bpmn:incoming>Flow_114k6gm</bpmn:incoming>
<bpmn:outgoing>Flow_1xry5m8</bpmn:outgoing>
</bpmn:userTask>
<bpmn:sequenceFlow id="Flow_0o5p2c7" sourceRef="Activity_1ck66rp" targetRef="Activity_0dub0xw" />
<bpmn:serviceTask id="Activity_1ck66rp" name="Uitbetaling via ORAFIN" camunda:expression="${true}">
<bpmn:incoming>Flow_1xry5m8</bpmn:incoming>
<bpmn:outgoing>Flow_0o5p2c7</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="Flow_07m0rib" sourceRef="Activity_1pc6p5i" targetRef="Event_061twj8" />
<bpmn:serviceTask id="Activity_1pc6p5i" name="eBox notificatie" camunda:expression="${true}">
<bpmn:incoming>Flow_1xfd654</bpmn:incoming>
<bpmn:outgoing>Flow_07m0rib</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="Flow_114k6gm" sourceRef="Activity_1l2i9ps" targetRef="Activity_0rlor1h" />
<bpmn:serviceTask id="Activity_1l2i9ps" name="eBox notificatie" camunda:expression="${true}">
<bpmn:incoming>Flow_1ufigcc</bpmn:incoming>
<bpmn:outgoing>Flow_114k6gm</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="Flow_1v5ikoz" sourceRef="Activity_0dub0xw" targetRef="Gateway_07fz73m" />
<bpmn:serviceTask id="Activity_0dub0xw" name="eBox notificatie" camunda:expression="${true}">
<bpmn:incoming>Flow_0o5p2c7</bpmn:incoming>
<bpmn:outgoing>Flow_1v5ikoz</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="Flow_038s3kk" sourceRef="Activity_09q9lsp" targetRef="Gateway_07fz73m" />
<bpmn:serviceTask id="Activity_09q9lsp" name="eBox notificatie" camunda:expression="${true}">
<bpmn:incoming>Flow_1qvjqlu</bpmn:incoming>
<bpmn:outgoing>Flow_038s3kk</bpmn:outgoing>
</bpmn:serviceTask>
</bpmn:process>
<bpmn:message id="Message_1f5dn68" name="aanvraagSubsidieZorgStartFO" />
<bpmn:signal id="Signal_19l05os" name="DS_Event_061twj8" />
<bpmn:signal id="Signal_3dtmvup" name="DS_Event_0qcnbmx" />
<bpmn:signal id="Signal_321fn00" name="DS_Event_0vv8kmj" />
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="subsidieAanvraagZorgProces">
<bpmndi:BPMNEdge id="Flow_038s3kk_di" bpmnElement="Flow_038s3kk">
<di:waypoint x="1850" y="240" />
<di:waypoint x="2440" y="240" />
<di:waypoint x="2440" y="122" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1v5ikoz_di" bpmnElement="Flow_1v5ikoz">
<di:waypoint x="2390" y="97" />
<di:waypoint x="2415" y="97" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_114k6gm_di" bpmnElement="Flow_114k6gm">
<di:waypoint x="1850" y="97" />
<di:waypoint x="2020" y="97" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_07m0rib_di" bpmnElement="Flow_07m0rib">
<di:waypoint x="670" y="97" />
<di:waypoint x="912" y="97" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0o5p2c7_di" bpmnElement="Flow_0o5p2c7">
<di:waypoint x="2260" y="97" />
<di:waypoint x="2290" y="97" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1xry5m8_di" bpmnElement="Flow_1xry5m8">
<di:waypoint x="2120" y="97" />
<di:waypoint x="2160" y="97" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_00xjivj_di" bpmnElement="Flow_00xjivj">
<di:waypoint x="1378" y="97" />
<di:waypoint x="1475" y="97" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0814uqn_di" bpmnElement="Flow_0814uqn">
<di:waypoint x="2465" y="97" />
<di:waypoint x="2522" y="97" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1iq4osj_di" bpmnElement="Flow_1iq4osj">
<di:waypoint x="2558" y="97" />
<di:waypoint x="2662" y="97" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0asftbh_di" bpmnElement="Flow_0asftbh">
<di:waypoint x="948" y="97" />
<di:waypoint x="1020" y="97" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0ouofel_di" bpmnElement="Flow_0ouofel">
<di:waypoint x="1120" y="97" />
<di:waypoint x="1170" y="97" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1xfd654_di" bpmnElement="Flow_1xfd654">
<di:waypoint x="540" y="97" />
<di:waypoint x="570" y="97" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1664o0q_di" bpmnElement="Flow_1664o0q">
<di:waypoint x="270" y="97" />
<di:waypoint x="300" y="97" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1qvjqlu_di" bpmnElement="Flow_1qvjqlu">
<di:waypoint x="1700" y="240" />
<di:waypoint x="1750" y="240" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1ufigcc_di" bpmnElement="Flow_1ufigcc">
<di:waypoint x="1700" y="97" />
<di:waypoint x="1750" y="97" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_08jk9fa_di" bpmnElement="Flow_08jk9fa">
<di:waypoint x="1500" y="122" />
<di:waypoint x="1500" y="240" />
<di:waypoint x="1600" y="240" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1505" y="178" width="21" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0b153y9_di" bpmnElement="Flow_0b153y9">
<di:waypoint x="1525" y="97" />
<di:waypoint x="1600" y="97" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1557" y="79" width="13" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_02qgbpd_di" bpmnElement="Flow_02qgbpd">
<di:waypoint x="1270" y="97" />
<di:waypoint x="1342" y="97" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1sujerm_di" bpmnElement="Flow_1sujerm">
<di:waypoint x="400" y="97" />
<di:waypoint x="440" y="97" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0ittdso_di" bpmnElement="Flow_0ittdso">
<di:waypoint x="108" y="97" />
<di:waypoint x="170" y="97" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="Event_0hspxux_di" bpmnElement="StartEvent_1">
<dc:Bounds x="72" y="79" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="69" y="122" width="47" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0xqtvjt_di" bpmnElement="Activity_1qck739" bioc:stroke="#1e88e5" bioc:fill="#bbdefb" color:background-color="#bbdefb" color:border-color="#1e88e5">
<dc:Bounds x="300" y="57" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1m4a07u_di" bpmnElement="Activity_1yjd93n" bioc:stroke="#8e24aa" bioc:fill="#e1bee7" color:background-color="#e1bee7" color:border-color="#8e24aa">
<dc:Bounds x="1170" y="57" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_0qcezfc_di" bpmnElement="Gateway_0qcezfc" isMarkerVisible="true">
<dc:Bounds x="1475" y="72" width="50" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1473" y="48" width="53" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_074dbi4_di" bpmnElement="Activity_0mq2vr9">
<dc:Bounds x="1600" y="57" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0admwso_di" bpmnElement="Activity_04wbzrb">
<dc:Bounds x="1600" y="200" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_07fz73m_di" bpmnElement="Gateway_07fz73m" isMarkerVisible="true">
<dc:Bounds x="2415" y="72" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_11l56s5_di" bpmnElement="Event_11l56s5">
<dc:Bounds x="2662" y="79" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="2657" y="122" width="47" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1h3cb7v_di" bpmnElement="Activity_0ewld6d">
<dc:Bounds x="170" y="57" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0tzez81_di" bpmnElement="Activity_0jnuszp">
<dc:Bounds x="440" y="57" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0bu3mmq_di" bpmnElement="Activity_17arb93">
<dc:Bounds x="1020" y="57" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1gdztb5_di" bpmnElement="Event_061twj8">
<dc:Bounds x="912" y="79" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="909" y="122" width="49" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_18dmoar_di" bpmnElement="Event_0qcnbmx">
<dc:Bounds x="2522" y="79" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="2521" y="122" width="52" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_01zzdrg_di" bpmnElement="Event_0vv8kmj">
<dc:Bounds x="1342" y="79" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1341" y="122" width="51" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_13dkz0p_di" bpmnElement="Activity_0rlor1h" bioc:stroke="#8e24aa" bioc:fill="#e1bee7" color:background-color="#e1bee7" color:border-color="#8e24aa">
<dc:Bounds x="2020" y="57" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_19l7154_di" bpmnElement="Activity_1ck66rp">
<dc:Bounds x="2160" y="57" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0qmut86_di" bpmnElement="Activity_1pc6p5i">
<dc:Bounds x="570" y="57" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0fkzjj6_di" bpmnElement="Activity_1l2i9ps">
<dc:Bounds x="1750" y="57" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1h182x9_di" bpmnElement="Activity_0dub0xw">
<dc:Bounds x="2290" y="57" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0f4y13t_di" bpmnElement="Activity_09q9lsp">
<dc:Bounds x="1750" y="200" width="100" height="80" />
</bpmndi:BPMNShape>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>
Uitgebreid
De workflow start in de backoffice of via een frontoffice-bericht, waarna de aanvrager het formulier invult. In het frontoffice-pad worden login- en persoonsgegevens automatisch vooraf ingevuld. Daarna volgt een geautomatiseerde check via een business rule task (DMN) die de aanvraag valideert. De aanvrager bevestigt de aanvraag met opties om aan te passen, te annuleren of officieel in te dienen. Het dossier gaat vervolgens naar de dossierbehandelaar voor beoordeling, met de mogelijkheid om bijkomende informatie op te vragen. Op basis van de beslissing wordt de aanvraag aanvaard of geweigerd: bij aanvaarding volgt een betalingsverzoek, een (dummy) betaling en plaatsing van de vergunning-PDF in de frontoffice; bij weigering wordt een weigeringsbericht-PDF gepubliceerd. Timers sturen herinneringen en notificaties (na 1 dag, 5 dagen, 20 dagen en 1 minuut). Na activatie blijft de vergunning actief en loopt een subprocess met een event-based gateway dat sluit bij extern annulatiebericht, interne annulatieconditie of automatische afloop na 12 maanden, waarna het dossier wordt afgerond.
<?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:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:bioc="http://bpmn.io/schema/bpmn/biocolor/1.0" xmlns:color="http://www.omg.org/spec/BPMN/non-normative/color/1.0" id="Definitions_10ft502" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.7.3">
<bpmn:process id="citesInvoervergunningWorkflow" name="CITES Invoervergunning Workflow" isExecutable="true">
<bpmn:startEvent id="StartEvent_1" name="Aanvraag via backoffice opgestart">
<bpmn:outgoing>Flow_0v9agi9</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:startEvent id="Event_0bflfz7" name="Aanvraag via frontoffice opgestart">
<bpmn:outgoing>Flow_0pew9eo</bpmn:outgoing>
<bpmn:messageEventDefinition id="MessageEventDefinition_1nm4hs6" messageRef="Message_2895ka9" />
</bpmn:startEvent>
<bpmn:userTask id="Activity_17wjal0" name="Vul aanvraag in" camunda:modelerTemplate="com.skryv.SkryvDocUserTask" camunda:candidateGroups="aanvrager">
<bpmn:extensionElements>
<camunda:inputOutput>
<camunda:inputParameter name="scope">DOSSIER</camunda:inputParameter>
<camunda:inputParameter name="markReadOnly">true</camunda:inputParameter>
<camunda:inputParameter name="definition">citesInvoervergunning</camunda:inputParameter>
<camunda:inputParameter name="afterCompletionGoTo">
<camunda:list>
<camunda:value>Activity_13bm0pl</camunda:value>
</camunda:list>
</camunda:inputParameter>
</camunda:inputOutput>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0lcsb1f</bpmn:incoming>
<bpmn:outgoing>Flow_0q8l8ma</bpmn:outgoing>
</bpmn:userTask>
<bpmn:exclusiveGateway id="Gateway_0zk3urn">
<bpmn:incoming>Flow_0v9agi9</bpmn:incoming>
<bpmn:incoming>Flow_0sy2f3n</bpmn:incoming>
<bpmn:incoming>Flow_0b9448c</bpmn:incoming>
<bpmn:outgoing>Flow_0lcsb1f</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_0v9agi9" sourceRef="StartEvent_1" targetRef="Gateway_0zk3urn" />
<bpmn:sequenceFlow id="Flow_0lcsb1f" sourceRef="Gateway_0zk3urn" targetRef="Activity_17wjal0" />
<bpmn:sequenceFlow id="Flow_0q8l8ma" sourceRef="Activity_17wjal0" targetRef="Activity_0m915zl" />
<bpmn:sequenceFlow id="Flow_0pew9eo" sourceRef="Event_0bflfz7" targetRef="Activity_1tqr558" />
<bpmn:sequenceFlow id="Flow_0sy2f3n" sourceRef="Activity_1tqr558" targetRef="Gateway_0zk3urn" />
<bpmn:serviceTask id="Activity_1tqr558" name="Haal login data op en vul formulier in" camunda:expression="${true}">
<bpmn:extensionElements>
<camunda:executionListener expression="${skryv.dossierFromScope(execution).getOrCreateDocumentByDefinitionKey("citesInvoervergunning").setField("aanvragerType", "particulier")}" event="start" />
<camunda:executionListener expression="${skryv.dossierFromScope(execution).getOrCreateDocumentByDefinitionKey("citesInvoervergunning").setField("persoonsgegevens.voornaam", "Jan")}" event="start" />
<camunda:executionListener expression="${skryv.dossierFromScope(execution).getOrCreateDocumentByDefinitionKey("citesInvoervergunning").setField("persoonsgegevens.achternaam", "Peeters")}" event="start" />
<camunda:executionListener expression="${skryv.dossierFromScope(execution).getOrCreateDocumentByDefinitionKey("citesInvoervergunning").setField("persoonsgegevens.nationaliteit", "Belgisch")}" event="start" />
<camunda:executionListener expression="${skryv.dossierFromScope(execution).getOrCreateDocumentByDefinitionKey("citesInvoervergunning").setField("contactgegevens.email", "jan.peeters@example.com")}" event="start" />
<camunda:executionListener expression="${skryv.dossierFromScope(execution).getOrCreateDocumentByDefinitionKey("citesInvoervergunning").setField("contactgegevens.telefoon", "+32 479 12 34 56")}" event="start" />
<camunda:executionListener expression="${skryv.dossierFromScope(execution).getOrCreateDocumentByDefinitionKey("citesInvoervergunning").setField("contactgegevens.straat", "Dorpsstraat 12")}" event="start" />
<camunda:executionListener expression="${skryv.dossierFromScope(execution).getOrCreateDocumentByDefinitionKey("citesInvoervergunning").setField("contactgegevens.postcode", "2800")}" event="start" />
<camunda:executionListener expression="${skryv.dossierFromScope(execution).getOrCreateDocumentByDefinitionKey("citesInvoervergunning").setField("contactgegevens.gemeente", "Mechelen")}" event="start" />
<camunda:executionListener expression="${skryv.dossierFromScope(execution).getOrCreateDocumentByDefinitionKey("citesInvoervergunning").setField("contactgegevens.land", "BE")}" event="start" />
<camunda:executionListener expression="${skryv.dossierFromScope(execution).getOrCreateDocumentByDefinitionKey("citesInvoervergunning").setField("persoonsgegevens.newSsinEjswm5", "56.05.10-005.33")}" event="start" />
</bpmn:extensionElements>
<bpmn:incoming>Flow_0pew9eo</bpmn:incoming>
<bpmn:outgoing>Flow_0sy2f3n</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="Flow_1r2l9q6" sourceRef="Activity_13bm0pl" targetRef="Gateway_07i4ef7" />
<bpmn:userTask id="Activity_13bm0pl" name="Bevestig aanvraag" camunda:modelerTemplate="com.skryv.SkryvDocUserTask" camunda:candidateGroups="aanvrager">
<bpmn:extensionElements>
<camunda:inputOutput>
<camunda:inputParameter name="scope">DOSSIER</camunda:inputParameter>
<camunda:inputParameter name="markReadOnly">true</camunda:inputParameter>
<camunda:inputParameter name="definition">bevestigCitesAanvraag</camunda:inputParameter>
<camunda:inputParameter name="contextDefaultForm">citesInvoervergunning</camunda:inputParameter>
<camunda:inputParameter name="submitText">Bevestig</camunda:inputParameter>
</camunda:inputOutput>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1lcyy3j</bpmn:incoming>
<bpmn:outgoing>Flow_1r2l9q6</bpmn:outgoing>
</bpmn:userTask>
<bpmn:sequenceFlow id="Flow_1lcyy3j" sourceRef="Event_0jt4c0y" targetRef="Activity_13bm0pl" />
<bpmn:intermediateThrowEvent id="Event_0jt4c0y" name="Klad aangemaakt">
<bpmn:incoming>Flow_102h6w5</bpmn:incoming>
<bpmn:outgoing>Flow_1lcyy3j</bpmn:outgoing>
<bpmn:signalEventDefinition id="SignalEventDefinition_0u92i3f" signalRef="Signal_1ep8ivr" />
</bpmn:intermediateThrowEvent>
<bpmn:intermediateCatchEvent id="Event_0sq21jx" name="Aanvraag aanpassen">
<bpmn:outgoing>Flow_0b9448c</bpmn:outgoing>
<bpmn:linkEventDefinition id="LinkEventDefinition_0rfjl3o" name="aanvraagAanpassen" />
</bpmn:intermediateCatchEvent>
<bpmn:sequenceFlow id="Flow_0b9448c" sourceRef="Event_0sq21jx" targetRef="Gateway_0zk3urn" />
<bpmn:exclusiveGateway id="Gateway_07i4ef7" name="Bevestigd?" default="Flow_1431vzc">
<bpmn:incoming>Flow_1r2l9q6</bpmn:incoming>
<bpmn:outgoing>Flow_1431vzc</bpmn:outgoing>
<bpmn:outgoing>Flow_0ndh97z</bpmn:outgoing>
<bpmn:outgoing>Flow_0yml04p</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_1431vzc" name="Ja" sourceRef="Gateway_07i4ef7" targetRef="Activity_1pud8vr" />
<bpmn:sequenceFlow id="Flow_0ndh97z" name="Nee, aanpassen" sourceRef="Gateway_07i4ef7" targetRef="Event_1nqbzn2">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">${skryv.dossierFromScope(execution).getOrCreateDocumentByDefinitionKey("bevestigCitesAanvraag").getField("aanvraagDefinitiefIndienen") == 'neeIkWilDeAanvraagNogAanpassen'}</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:intermediateThrowEvent id="Event_1nqbzn2" name="Aanvraag aanpassen">
<bpmn:incoming>Flow_0ndh97z</bpmn:incoming>
<bpmn:linkEventDefinition id="LinkEventDefinition_1wq53r9" name="aanvraagAanpassen" />
</bpmn:intermediateThrowEvent>
<bpmn:sequenceFlow id="Flow_00yaaw2" sourceRef="Event_1twv9y8" targetRef="Activity_18g8x1a" />
<bpmn:intermediateThrowEvent id="Event_1twv9y8" name="Dossier ingediend">
<bpmn:incoming>Flow_14rs6r9</bpmn:incoming>
<bpmn:outgoing>Flow_00yaaw2</bpmn:outgoing>
<bpmn:signalEventDefinition id="SignalEventDefinition_16pcikm" signalRef="Signal_3vp0mpd" />
</bpmn:intermediateThrowEvent>
<bpmn:sequenceFlow id="Flow_14rs6r9" sourceRef="Activity_1pud8vr" targetRef="Event_1twv9y8" />
<bpmn:serviceTask id="Activity_1pud8vr" name="Dien aanvraag officieel in" camunda:modelerTemplate="com.skryv.submitDraftDossier" camunda:expression="${skryv.dossierFromScope(execution).submitDossier()}">
<bpmn:incoming>Flow_1431vzc</bpmn:incoming>
<bpmn:outgoing>Flow_14rs6r9</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="Flow_0u192sv" sourceRef="Activity_0m915zl" targetRef="Gateway_1bojf90" />
<bpmn:sequenceFlow id="Flow_12axwip" sourceRef="Activity_1ait4oi" targetRef="Gateway_020uijn" />
<bpmn:userTask id="Activity_1ait4oi" name="Beoordeel aanvraag" camunda:modelerTemplate="com.skryv.SkryvDocUserTask" camunda:candidateGroups="dossierbehandelaar">
<bpmn:extensionElements>
<camunda:inputOutput>
<camunda:inputParameter name="scope">DOSSIER</camunda:inputParameter>
<camunda:inputParameter name="markReadOnly">true</camunda:inputParameter>
<camunda:inputParameter name="definition">beoordeelCitesAanvraag</camunda:inputParameter>
<camunda:inputParameter name="contextDefaultForm">citesInvoervergunning</camunda:inputParameter>
<camunda:inputParameter name="submitText">Beoordeel</camunda:inputParameter>
</camunda:inputOutput>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0991z68</bpmn:incoming>
<bpmn:outgoing>Flow_12axwip</bpmn:outgoing>
</bpmn:userTask>
<bpmn:sequenceFlow id="Flow_0x16qer" sourceRef="Activity_18g8x1a" targetRef="Activity_0kizjoo" />
<bpmn:serviceTask id="Activity_18g8x1a" name="Plaats aanvraag als PDF in frontoffice" camunda:modelerTemplate="com.skryv.downloadZone" camunda:expression="${skryv.dossierFromScope(execution).getOrCreateDocumentByDefinitionKey(formKey).addToDownloadZone(labelForDownloadZone, fileNameForDownload)}">
<bpmn:extensionElements>
<camunda:inputOutput>
<camunda:inputParameter name="fileNameForDownload" />
<camunda:inputParameter name="formKey">citesInvoervergunning</camunda:inputParameter>
<camunda:inputParameter name="formField" />
<camunda:inputParameter name="labelForDownloadZone">Uw aanvraag voor invoervergunning</camunda:inputParameter>
</camunda:inputOutput>
</bpmn:extensionElements>
<bpmn:incoming>Flow_00yaaw2</bpmn:incoming>
<bpmn:outgoing>Flow_0x16qer</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:exclusiveGateway id="Gateway_1k904ga" name="Aanvaard?">
<bpmn:incoming>Flow_1aszkch</bpmn:incoming>
<bpmn:outgoing>Flow_15vg7m8</bpmn:outgoing>
<bpmn:outgoing>Flow_0v9gsu4</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_15vg7m8" name="Ja" sourceRef="Gateway_1k904ga" targetRef="Activity_0s1u8kr">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">${skryv.dossierFromScope(execution).getOrCreateDocumentByDefinitionKey("beoordeelCitesAanvraag").getField("beslissing") == 'aanvaard'}</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:sequenceFlow id="Flow_061lti6" sourceRef="Activity_0l4dfc2" targetRef="Event_05l0ms0" />
<bpmn:serviceTask id="Activity_0l4dfc2" name="Plaats vergunning als PDF in frontoffice" camunda:modelerTemplate="com.skryv.downloadZone" camunda:expression="${skryv.dossierFromScope(execution).getLatestOrCreateCommunicationByTemplateName(communicationTemplate).addToDownloadZone(labelForDownloadZone, fileNameForDownload)}">
<bpmn:extensionElements>
<camunda:inputOutput>
<camunda:inputParameter name="fileNameForDownload">Invoervergunning CITES</camunda:inputParameter>
<camunda:inputParameter name="communicationTemplate">invoervergunningCites</camunda:inputParameter>
<camunda:inputParameter name="labelForDownloadZone">Invoervergunning CITES </camunda:inputParameter>
</camunda:inputOutput>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0b91ovw</bpmn:incoming>
<bpmn:outgoing>Flow_061lti6</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="Flow_19o1h0c" sourceRef="Activity_0s1u8kr" targetRef="Event_01uzxh4" />
<bpmn:serviceTask id="Activity_0s1u8kr" name="Genereer betalings-verzoek" camunda:expression="${true}">
<bpmn:incoming>Flow_15vg7m8</bpmn:incoming>
<bpmn:outgoing>Flow_19o1h0c</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="Flow_1jfg32q" sourceRef="Event_1odvfiz" targetRef="Activity_1aukigg" />
<bpmn:boundaryEvent id="Event_0f3au47" name="Na 1 dag" cancelActivity="false" attachedToRef="Activity_13bm0pl">
<bpmn:outgoing>Flow_13ed3vi</bpmn:outgoing>
<bpmn:timerEventDefinition id="TimerEventDefinition_1hqxsih">
<bpmn:timeDuration xsi:type="bpmn:tFormalExpression">P1D</bpmn:timeDuration>
</bpmn:timerEventDefinition>
</bpmn:boundaryEvent>
<bpmn:boundaryEvent id="Event_1odvfiz" name="Na 20 dagen" cancelActivity="false" attachedToRef="Activity_1ait4oi">
<bpmn:outgoing>Flow_1jfg32q</bpmn:outgoing>
<bpmn:timerEventDefinition id="TimerEventDefinition_09ukem6">
<bpmn:timeDuration xsi:type="bpmn:tFormalExpression">P20D</bpmn:timeDuration>
</bpmn:timerEventDefinition>
</bpmn:boundaryEvent>
<bpmn:endEvent id="Event_0k298ej" name="Notificatie verstuurd">
<bpmn:incoming>Flow_00zurai</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_00zurai" sourceRef="Activity_1aukigg" targetRef="Event_0k298ej" />
<bpmn:serviceTask id="Activity_1aukigg" name="Stuur notificatie naar behandelaar" camunda:expression="${true}">
<bpmn:incoming>Flow_1jfg32q</bpmn:incoming>
<bpmn:outgoing>Flow_00zurai</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="Flow_13ed3vi" sourceRef="Event_0f3au47" targetRef="Activity_0t8o8gp" />
<bpmn:serviceTask id="Activity_0t8o8gp" name="Stuur notificatie naar aanvrager" camunda:expression="${true}">
<bpmn:incoming>Flow_13ed3vi</bpmn:incoming>
<bpmn:outgoing>Flow_03h8mzu</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:endEvent id="Event_1c09q73" name="Notificatie uitgestuurd">
<bpmn:incoming>Flow_03h8mzu</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_03h8mzu" sourceRef="Activity_0t8o8gp" targetRef="Event_1c09q73" />
<bpmn:boundaryEvent id="Event_1ogxebm" name="Na 5 dagen" attachedToRef="Activity_13bm0pl">
<bpmn:outgoing>Flow_1xexc8o</bpmn:outgoing>
<bpmn:timerEventDefinition id="TimerEventDefinition_133r4rg">
<bpmn:timeDuration xsi:type="bpmn:tFormalExpression">P5D</bpmn:timeDuration>
</bpmn:timerEventDefinition>
</bpmn:boundaryEvent>
<bpmn:sequenceFlow id="Flow_1xexc8o" sourceRef="Event_1ogxebm" targetRef="Gateway_00dlu2l" />
<bpmn:serviceTask id="Activity_1nod8j1" name="Stuur annulatie naar aanvrager" camunda:expression="${true}">
<bpmn:incoming>Flow_1kqz4ag</bpmn:incoming>
<bpmn:outgoing>Flow_1odr7ys</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="Flow_1odr7ys" sourceRef="Activity_1nod8j1" targetRef="Event_03pz5cv" />
<bpmn:endEvent id="Event_03pz5cv" name="Aanvraag geannuleerd">
<bpmn:incoming>Flow_1odr7ys</bpmn:incoming>
<bpmn:terminateEventDefinition id="TerminateEventDefinition_0y8abm6" />
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_0b91ovw" sourceRef="Activity_0qcegpl" targetRef="Activity_0l4dfc2" />
<bpmn:userTask id="Activity_0qcegpl" name="Voer betaling uit (dummy taak)" camunda:modelerTemplate="com.skryv.SkryvDocUserTask" camunda:candidateGroups="aanvrager">
<bpmn:extensionElements>
<camunda:inputOutput>
<camunda:inputParameter name="scope">DOSSIER</camunda:inputParameter>
<camunda:inputParameter name="markReadOnly">true</camunda:inputParameter>
<camunda:inputParameter name="definition">voerBetalingCitesAanvraagUit</camunda:inputParameter>
<camunda:inputParameter name="submitText">Betaal</camunda:inputParameter>
</camunda:inputOutput>
</bpmn:extensionElements>
<bpmn:incoming>Flow_15z14lq</bpmn:incoming>
<bpmn:outgoing>Flow_0b91ovw</bpmn:outgoing>
</bpmn:userTask>
<bpmn:sequenceFlow id="Flow_15z14lq" sourceRef="Activity_080htek" targetRef="Activity_0qcegpl" />
<bpmn:serviceTask id="Activity_080htek" name="Stuur notificatie betaling uit naar aanvrager" camunda:expression="${true}">
<bpmn:incoming>Flow_1l2hqz7</bpmn:incoming>
<bpmn:outgoing>Flow_15z14lq</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="Flow_1aszkch" sourceRef="Event_0xbykqk" targetRef="Gateway_1k904ga" />
<bpmn:intermediateThrowEvent id="Event_0xbykqk" name="Beslissing genomen">
<bpmn:incoming>Flow_1xb0is5</bpmn:incoming>
<bpmn:outgoing>Flow_1aszkch</bpmn:outgoing>
<bpmn:signalEventDefinition id="SignalEventDefinition_1rdsc5f" signalRef="Signal_230khjf" />
</bpmn:intermediateThrowEvent>
<bpmn:sequenceFlow id="Flow_0uwe02r" sourceRef="Event_0qhlyfu" targetRef="Gateway_0v3kivh" />
<bpmn:endEvent id="Event_1drhaup" name="Dossier afgerond">
<bpmn:incoming>Flow_0ivmovy</bpmn:incoming>
</bpmn:endEvent>
<bpmn:intermediateThrowEvent id="Event_0qhlyfu" name="Vergunning afgesloten">
<bpmn:incoming>Flow_1vqfoe8</bpmn:incoming>
<bpmn:outgoing>Flow_0uwe02r</bpmn:outgoing>
<bpmn:signalEventDefinition id="SignalEventDefinition_1l3aqku" signalRef="Signal_21u26ns" />
</bpmn:intermediateThrowEvent>
<bpmn:serviceTask id="Activity_1itl193" name="Plaats weigerings-bericht in frontoffice" camunda:modelerTemplate="com.skryv.downloadZone" camunda:expression="${skryv.dossierFromScope(execution).getLatestOrCreateCommunicationByTemplateName(communicationTemplate).addToDownloadZone(labelForDownloadZone, fileNameForDownload)}">
<bpmn:extensionElements>
<camunda:inputOutput>
<camunda:inputParameter name="fileNameForDownload">Weigering invoervergunning CITES</camunda:inputParameter>
<camunda:inputParameter name="communicationTemplate">weigeringInvoervergunningCites</camunda:inputParameter>
<camunda:inputParameter name="labelForDownloadZone">Weigering invoervergunning CITES</camunda:inputParameter>
</camunda:inputOutput>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0v9gsu4</bpmn:incoming>
<bpmn:outgoing>Flow_01arrz9</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="Flow_0v9gsu4" name="Nee" sourceRef="Gateway_1k904ga" targetRef="Activity_1itl193">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">${skryv.dossierFromScope(execution).getOrCreateDocumentByDefinitionKey("beoordeelCitesAanvraag").getField("beslissing") == 'geweigerd'}</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:exclusiveGateway id="Gateway_0f8z647">
<bpmn:incoming>Flow_0jhbfy5</bpmn:incoming>
<bpmn:incoming>Flow_1pcznl0</bpmn:incoming>
<bpmn:outgoing>Flow_0991z68</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_0991z68" sourceRef="Gateway_0f8z647" targetRef="Activity_1ait4oi" />
<bpmn:intermediateCatchEvent id="Event_1ivffp1" name="Bijkomende info gevraagd">
<bpmn:outgoing>Flow_1a90e0v</bpmn:outgoing>
<bpmn:linkEventDefinition id="LinkEventDefinition_08k6zis" name="bijkomendeInfoGevraagd" />
</bpmn:intermediateCatchEvent>
<bpmn:userTask id="Activity_0mdptdv" name="Geef bijkomende info" camunda:modelerTemplate="com.skryv.SkryvDocUserTask" camunda:candidateGroups="aanvrager">
<bpmn:extensionElements>
<camunda:inputOutput>
<camunda:inputParameter name="scope">DOSSIER</camunda:inputParameter>
<camunda:inputParameter name="markReadOnly">true</camunda:inputParameter>
<camunda:inputParameter name="definition">beoordeelCitesAanvraag</camunda:inputParameter>
<camunda:inputParameter name="contextDefaultForm">citesInvoervergunning</camunda:inputParameter>
</camunda:inputOutput>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1a90e0v</bpmn:incoming>
<bpmn:outgoing>Flow_0jhbfy5</bpmn:outgoing>
</bpmn:userTask>
<bpmn:sequenceFlow id="Flow_1a90e0v" sourceRef="Event_1ivffp1" targetRef="Activity_0mdptdv" />
<bpmn:boundaryEvent id="Event_0iuow0p" name="Na 1 minuut" cancelActivity="false" attachedToRef="Activity_0mdptdv">
<bpmn:outgoing>Flow_10ewldc</bpmn:outgoing>
<bpmn:timerEventDefinition id="TimerEventDefinition_1rbwrl9">
<bpmn:timeDuration xsi:type="bpmn:tFormalExpression">PT1M</bpmn:timeDuration>
</bpmn:timerEventDefinition>
</bpmn:boundaryEvent>
<bpmn:sequenceFlow id="Flow_0jhbfy5" sourceRef="Activity_0mdptdv" targetRef="Gateway_0f8z647" />
<bpmn:sequenceFlow id="Flow_10ewldc" sourceRef="Event_0iuow0p" targetRef="Activity_1ygs4v5" />
<bpmn:serviceTask id="Activity_1ygs4v5" name="Stuur notificatie naar aanvrager" camunda:expression="${true}">
<bpmn:incoming>Flow_10ewldc</bpmn:incoming>
<bpmn:outgoing>Flow_0evusax</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:endEvent id="Event_0nngv4a" name="Notificatie uitgestuurd">
<bpmn:incoming>Flow_0evusax</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_0evusax" sourceRef="Activity_1ygs4v5" targetRef="Event_0nngv4a" />
<bpmn:exclusiveGateway id="Gateway_020uijn" name="Volledig?" default="Flow_1xb0is5">
<bpmn:incoming>Flow_12axwip</bpmn:incoming>
<bpmn:outgoing>Flow_1xb0is5</bpmn:outgoing>
<bpmn:outgoing>Flow_1dzwfrq</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_1xb0is5" name="Ja" sourceRef="Gateway_020uijn" targetRef="Event_0xbykqk" />
<bpmn:sequenceFlow id="Flow_1dzwfrq" name="Nee" sourceRef="Gateway_020uijn" targetRef="Event_0bd3rib">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">${skryv.dossierFromScope(execution).getOrCreateDocumentByDefinitionKey("beoordeelCitesAanvraag").getField("beslissing") == 'bijkomendeInfoNodig'}</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:intermediateThrowEvent id="Event_0bd3rib" name="Bijkomende info opgevraagd">
<bpmn:incoming>Flow_1dzwfrq</bpmn:incoming>
<bpmn:linkEventDefinition id="LinkEventDefinition_1iic1ep" name="bijkomendeInfoGevraagd" />
</bpmn:intermediateThrowEvent>
<bpmn:sequenceFlow id="Flow_1pcznl0" sourceRef="Activity_0kizjoo" targetRef="Gateway_0f8z647" />
<bpmn:serviceTask id="Activity_0kizjoo" name="Stuur notificatie met dossierlabel" camunda:expression="${true}">
<bpmn:incoming>Flow_0x16qer</bpmn:incoming>
<bpmn:outgoing>Flow_1pcznl0</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:exclusiveGateway id="Gateway_1bojf90" name="Valide?" default="Flow_102h6w5">
<bpmn:incoming>Flow_0u192sv</bpmn:incoming>
<bpmn:outgoing>Flow_102h6w5</bpmn:outgoing>
<bpmn:outgoing>Flow_1q69pf5</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_102h6w5" name="Ja" sourceRef="Gateway_1bojf90" targetRef="Event_0jt4c0y" />
<bpmn:intermediateThrowEvent id="Event_05l0ms0" name="Vergunning actief">
<bpmn:extensionElements>
<camunda:executionListener expression="${execution.setVariable("actief",true)}" event="start" />
</bpmn:extensionElements>
<bpmn:incoming>Flow_061lti6</bpmn:incoming>
<bpmn:outgoing>Flow_05renbl</bpmn:outgoing>
<bpmn:signalEventDefinition id="SignalEventDefinition_01k827e" signalRef="Signal_2kpo1b1" />
</bpmn:intermediateThrowEvent>
<bpmn:exclusiveGateway id="Gateway_10scjw3" name="Aanvraag aanpassen?" default="Flow_1ud0s4s">
<bpmn:incoming>Flow_1gm8vsx</bpmn:incoming>
<bpmn:outgoing>Flow_1ud0s4s</bpmn:outgoing>
<bpmn:outgoing>Flow_1cbx175</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_1gm8vsx" sourceRef="Activity_12rqeec" targetRef="Gateway_10scjw3" />
<bpmn:sequenceFlow id="Flow_1ud0s4s" name="Ja" sourceRef="Gateway_10scjw3" targetRef="Event_0s6qq1u" />
<bpmn:intermediateThrowEvent id="Event_0s6qq1u" name="Aanvraag aanpassen">
<bpmn:incoming>Flow_1ud0s4s</bpmn:incoming>
<bpmn:linkEventDefinition id="LinkEventDefinition_11v6su2" name="aanvraagAanpassen" />
</bpmn:intermediateThrowEvent>
<bpmn:exclusiveGateway id="Gateway_00dlu2l">
<bpmn:incoming>Flow_1xexc8o</bpmn:incoming>
<bpmn:incoming>Flow_1cbx175</bpmn:incoming>
<bpmn:outgoing>Flow_0mjac83</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_0mjac83" sourceRef="Gateway_00dlu2l" targetRef="Gateway_02sletn" />
<bpmn:sequenceFlow id="Flow_1cbx175" name="Nee" sourceRef="Gateway_10scjw3" targetRef="Gateway_00dlu2l">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">${skryv.dossierFromScope(execution).getOrCreateDocumentByDefinitionKey("beslisNaOngeldigeCheck").getField("aanvraagAanpassen") == 'neeAanvraagAnnuleren'}</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:exclusiveGateway id="Gateway_02sletn">
<bpmn:incoming>Flow_0mjac83</bpmn:incoming>
<bpmn:incoming>Flow_0yml04p</bpmn:incoming>
<bpmn:outgoing>Flow_1kqz4ag</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_1kqz4ag" sourceRef="Gateway_02sletn" targetRef="Activity_1nod8j1" />
<bpmn:sequenceFlow id="Flow_0yml04p" name="Nee, annuleren" sourceRef="Gateway_07i4ef7" targetRef="Gateway_02sletn">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">${skryv.dossierFromScope(execution).getOrCreateDocumentByDefinitionKey("bevestigCitesAanvraag").getField("aanvraagDefinitiefIndienen") == 'neeIkWilDeAanvraagAnnuleren'}</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:sequenceFlow id="Flow_1q69pf5" name="Nee" sourceRef="Gateway_1bojf90" targetRef="Activity_12rqeec">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">${checkResults.get('valide') == false}</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:exclusiveGateway id="Gateway_0v3kivh">
<bpmn:incoming>Flow_0uwe02r</bpmn:incoming>
<bpmn:incoming>Flow_1jyb8l5</bpmn:incoming>
<bpmn:outgoing>Flow_0ivmovy</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_0ivmovy" sourceRef="Gateway_0v3kivh" targetRef="Event_1drhaup" />
<bpmn:sequenceFlow id="Flow_01arrz9" sourceRef="Activity_1itl193" targetRef="Gateway_0guoqrv" />
<bpmn:subProcess id="Activity_0kdailj">
<bpmn:incoming>Flow_05renbl</bpmn:incoming>
<bpmn:outgoing>Flow_1vqfoe8</bpmn:outgoing>
<bpmn:startEvent id="Event_106n5n4" name="Vergunning geactiveerd">
<bpmn:outgoing>Flow_07pg5af</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_07pg5af" sourceRef="Event_106n5n4" targetRef="Gateway_0hdc5ll" />
<bpmn:eventBasedGateway id="Gateway_0hdc5ll">
<bpmn:incoming>Flow_07pg5af</bpmn:incoming>
<bpmn:outgoing>Flow_0u7m59v</bpmn:outgoing>
<bpmn:outgoing>Flow_0txrfb3</bpmn:outgoing>
<bpmn:outgoing>Flow_1092ksa</bpmn:outgoing>
</bpmn:eventBasedGateway>
<bpmn:intermediateCatchEvent id="Event_0m40nrg" name="Extern annulatie ontvangen">
<bpmn:incoming>Flow_0u7m59v</bpmn:incoming>
<bpmn:outgoing>Flow_0exogj9</bpmn:outgoing>
<bpmn:messageEventDefinition id="MessageEventDefinition_08ma23f" messageRef="Message_05vtbdr" />
</bpmn:intermediateCatchEvent>
<bpmn:sequenceFlow id="Flow_0u7m59v" sourceRef="Gateway_0hdc5ll" targetRef="Event_0m40nrg" />
<bpmn:endEvent id="Event_1h6vd9l" name="Vergunning afgesloten">
<bpmn:incoming>Flow_0exogj9</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_0exogj9" sourceRef="Event_0m40nrg" targetRef="Event_1h6vd9l" />
<bpmn:intermediateCatchEvent id="Event_0pb85eg" name="Na termijn">
<bpmn:incoming>Flow_0txrfb3</bpmn:incoming>
<bpmn:outgoing>Flow_1bok34w</bpmn:outgoing>
<bpmn:timerEventDefinition id="TimerEventDefinition_0930ym3">
<bpmn:timeDuration xsi:type="bpmn:tFormalExpression">P12M</bpmn:timeDuration>
</bpmn:timerEventDefinition>
</bpmn:intermediateCatchEvent>
<bpmn:sequenceFlow id="Flow_0txrfb3" sourceRef="Gateway_0hdc5ll" targetRef="Event_0pb85eg" />
<bpmn:endEvent id="Event_16cqklq" name="Vergunning afgesloten">
<bpmn:incoming>Flow_1bok34w</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_1bok34w" sourceRef="Event_0pb85eg" targetRef="Event_16cqklq" />
<bpmn:sequenceFlow id="Flow_1092ksa" sourceRef="Gateway_0hdc5ll" targetRef="Event_1jgkh3r" />
<bpmn:endEvent id="Event_01ygoz0" name="Vergunning afgesloten">
<bpmn:incoming>Flow_0yctp6p</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_0yctp6p" sourceRef="Event_1jgkh3r" targetRef="Event_01ygoz0" />
<bpmn:intermediateCatchEvent id="Event_1jgkh3r" name="Intern annulatie ontvangen">
<bpmn:incoming>Flow_1092ksa</bpmn:incoming>
<bpmn:outgoing>Flow_0yctp6p</bpmn:outgoing>
<bpmn:conditionalEventDefinition id="ConditionalEventDefinition_103idqa" camunda:variableName="geannuleerd">
<bpmn:condition xsi:type="bpmn:tFormalExpression">${false}</bpmn:condition>
</bpmn:conditionalEventDefinition>
</bpmn:intermediateCatchEvent>
</bpmn:subProcess>
<bpmn:sequenceFlow id="Flow_05renbl" sourceRef="Event_05l0ms0" targetRef="Activity_0kdailj" />
<bpmn:sequenceFlow id="Flow_1vqfoe8" sourceRef="Activity_0kdailj" targetRef="Event_0qhlyfu" />
<bpmn:sequenceFlow id="Flow_1l2hqz7" sourceRef="Event_01uzxh4" targetRef="Activity_080htek" />
<bpmn:intermediateThrowEvent id="Event_01uzxh4" name="Betalingsverzoek aangemaakt">
<bpmn:incoming>Flow_19o1h0c</bpmn:incoming>
<bpmn:outgoing>Flow_1l2hqz7</bpmn:outgoing>
<bpmn:signalEventDefinition id="SignalEventDefinition_0x3bmh4" signalRef="Signal_14c8vs9" />
</bpmn:intermediateThrowEvent>
<bpmn:businessRuleTask id="Activity_0m915zl" name="Check" camunda:resultVariable="checkResults" camunda:decisionRef="checkAanvraag" camunda:mapDecisionResult="singleResult">
<bpmn:extensionElements>
<camunda:inputOutput>
<camunda:inputParameter name="land">${skryv.dossierFromScope(execution).getOrCreateDocumentByDefinitionKey("citesInvoervergunning").getField("herkomstExporteur.landOorsprong")}</camunda:inputParameter>
</camunda:inputOutput>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0q8l8ma</bpmn:incoming>
<bpmn:outgoing>Flow_0u192sv</bpmn:outgoing>
</bpmn:businessRuleTask>
<bpmn:userTask id="Activity_12rqeec" name="Beslis wat te doen na opmerkingen" camunda:modelerTemplate="com.skryv.SkryvDocUserTask" camunda:candidateGroups="aanvrager">
<bpmn:extensionElements>
<camunda:inputOutput>
<camunda:inputParameter name="scope">DOSSIER</camunda:inputParameter>
<camunda:inputParameter name="markReadOnly">true</camunda:inputParameter>
<camunda:inputParameter name="definition">beslisNaOngeldigeCheck</camunda:inputParameter>
</camunda:inputOutput>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1q69pf5</bpmn:incoming>
<bpmn:outgoing>Flow_1gm8vsx</bpmn:outgoing>
</bpmn:userTask>
<bpmn:boundaryEvent id="Event_126n877" name="Na 5 dagen" cancelActivity="false" attachedToRef="Activity_0qcegpl">
<bpmn:outgoing>Flow_10z7896</bpmn:outgoing>
<bpmn:timerEventDefinition id="TimerEventDefinition_0ed83j7">
<bpmn:timeDuration xsi:type="bpmn:tFormalExpression">P5D</bpmn:timeDuration>
</bpmn:timerEventDefinition>
</bpmn:boundaryEvent>
<bpmn:sequenceFlow id="Flow_10z7896" sourceRef="Event_126n877" targetRef="Activity_1p5npc5" />
<bpmn:serviceTask id="Activity_1p5npc5" name="Stuur notificatie naar aanvrager" camunda:expression="${true}">
<bpmn:incoming>Flow_10z7896</bpmn:incoming>
<bpmn:outgoing>Flow_16z9i9h</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:endEvent id="Event_1fn6xdt" name="Notificatie verstuurd">
<bpmn:incoming>Flow_16z9i9h</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_16z9i9h" sourceRef="Activity_1p5npc5" targetRef="Event_1fn6xdt" />
<bpmn:boundaryEvent id="Event_1f7vwi9" name="Na 20 dagen" attachedToRef="Activity_0qcegpl">
<bpmn:outgoing>Flow_1a0ejfb</bpmn:outgoing>
<bpmn:timerEventDefinition id="TimerEventDefinition_06mgqdg">
<bpmn:timeDuration xsi:type="bpmn:tFormalExpression">P20D</bpmn:timeDuration>
</bpmn:timerEventDefinition>
</bpmn:boundaryEvent>
<bpmn:exclusiveGateway id="Gateway_0guoqrv">
<bpmn:incoming>Flow_01arrz9</bpmn:incoming>
<bpmn:incoming>Flow_1a0ejfb</bpmn:incoming>
<bpmn:outgoing>Flow_1jyb8l5</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_1jyb8l5" sourceRef="Gateway_0guoqrv" targetRef="Gateway_0v3kivh" />
<bpmn:sequenceFlow id="Flow_1a0ejfb" sourceRef="Event_1f7vwi9" targetRef="Gateway_0guoqrv" />
<bpmn:textAnnotation id="TextAnnotation_08na7er">
<bpmn:text>Via ORAFIN of andere connectie?</bpmn:text>
</bpmn:textAnnotation>
<bpmn:association id="Association_1rkti0s" sourceRef="Activity_0s1u8kr" targetRef="TextAnnotation_08na7er" />
<bpmn:textAnnotation id="TextAnnotation_06ogwaj">
<bpmn:text>eBox</bpmn:text>
</bpmn:textAnnotation>
<bpmn:association id="Association_00zfffi" sourceRef="Activity_0kizjoo" targetRef="TextAnnotation_06ogwaj" />
<bpmn:textAnnotation id="TextAnnotation_1f8iba2">
<bpmn:text>eBox</bpmn:text>
</bpmn:textAnnotation>
<bpmn:association id="Association_0r41pif" sourceRef="Activity_0t8o8gp" targetRef="TextAnnotation_1f8iba2" />
<bpmn:textAnnotation id="TextAnnotation_18zkcz6">
<bpmn:text>eBox</bpmn:text>
</bpmn:textAnnotation>
<bpmn:association id="Association_0iap627" sourceRef="Activity_1nod8j1" targetRef="TextAnnotation_18zkcz6" />
<bpmn:textAnnotation id="TextAnnotation_03gdd5e">
<bpmn:text>eBox</bpmn:text>
</bpmn:textAnnotation>
<bpmn:association id="Association_15qsydj" sourceRef="Activity_1ygs4v5" targetRef="TextAnnotation_03gdd5e" />
<bpmn:textAnnotation id="TextAnnotation_0wnrdl6">
<bpmn:text>eBox</bpmn:text>
</bpmn:textAnnotation>
<bpmn:association id="Association_1qnwz99" sourceRef="Activity_1aukigg" targetRef="TextAnnotation_0wnrdl6" />
<bpmn:textAnnotation id="TextAnnotation_0gkli77">
<bpmn:text>eBox</bpmn:text>
</bpmn:textAnnotation>
<bpmn:association id="Association_13qpv73" sourceRef="Activity_080htek" targetRef="TextAnnotation_0gkli77" />
</bpmn:process>
<bpmn:message id="Message_2895ka9" name="citesInvoervergunningStart" />
<bpmn:signal id="Signal_1ep8ivr" name="DS_Event_0jt4c0y" />
<bpmn:signal id="Signal_3vp0mpd" name="DS_Event_1twv9y8" />
<bpmn:signal id="Signal_230khjf" name="DS_Event_0xbykqk" />
<bpmn:signal id="Signal_21u26ns" name="DS_Event_0qhlyfu" />
<bpmn:signal id="Signal_2kpo1b1" name="DS_Event_05l0ms0" />
<bpmn:message id="Message_05vtbdr" name="Message_2gre8e4" />
<bpmn:message id="Message_1lcsa8k" name="Message_2c7be23" />
<bpmn:signal id="Signal_14c8vs9" name="DS_Event_01uzxh4" />
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="citesInvoervergunningWorkflow">
<bpmndi:BPMNEdge id="Flow_1a0ejfb_di" bpmnElement="Flow_1a0ejfb">
<di:waypoint x="3280" y="228" />
<di:waypoint x="3280" y="265" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1jyb8l5_di" bpmnElement="Flow_1jyb8l5">
<di:waypoint x="3305" y="290" />
<di:waypoint x="4820" y="290" />
<di:waypoint x="4820" y="195" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_16z9i9h_di" bpmnElement="Flow_16z9i9h">
<di:waypoint x="3440" y="-10" />
<di:waypoint x="3512" y="-10" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_10z7896_di" bpmnElement="Flow_10z7896">
<di:waypoint x="3280" y="112" />
<di:waypoint x="3280" y="-10" />
<di:waypoint x="3340" y="-10" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1l2hqz7_di" bpmnElement="Flow_1l2hqz7">
<di:waypoint x="2988" y="170" />
<di:waypoint x="3070" y="170" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1vqfoe8_di" bpmnElement="Flow_1vqfoe8">
<di:waypoint x="4545" y="170" />
<di:waypoint x="4652" y="170" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_05renbl_di" bpmnElement="Flow_05renbl">
<di:waypoint x="3558" y="170" />
<di:waypoint x="4070" y="170" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_01arrz9_di" bpmnElement="Flow_01arrz9">
<di:waypoint x="2880" y="290" />
<di:waypoint x="3255" y="290" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0ivmovy_di" bpmnElement="Flow_0ivmovy">
<di:waypoint x="4845" y="170" />
<di:waypoint x="4912" y="170" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1q69pf5_di" bpmnElement="Flow_1q69pf5">
<di:waypoint x="690" y="195" />
<di:waypoint x="690" y="370" />
<bpmndi:BPMNLabel>
<dc:Bounds x="695" y="280" width="21" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0yml04p_di" bpmnElement="Flow_0yml04p">
<di:waypoint x="1040" y="195" />
<di:waypoint x="1040" y="515" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1002" y="392" width="76" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1kqz4ag_di" bpmnElement="Flow_1kqz4ag">
<di:waypoint x="1065" y="540" />
<di:waypoint x="1110" y="540" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1cbx175_di" bpmnElement="Flow_1cbx175">
<di:waypoint x="810" y="435" />
<di:waypoint x="810" y="540" />
<di:waypoint x="905" y="540" />
<bpmndi:BPMNLabel>
<dc:Bounds x="815" y="485" width="21" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0mjac83_di" bpmnElement="Flow_0mjac83">
<di:waypoint x="955" y="540" />
<di:waypoint x="1015" y="540" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1ud0s4s_di" bpmnElement="Flow_1ud0s4s">
<di:waypoint x="835" y="410" />
<di:waypoint x="872" y="410" />
<bpmndi:BPMNLabel>
<dc:Bounds x="849" y="392" width="12" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1gm8vsx_di" bpmnElement="Flow_1gm8vsx">
<di:waypoint x="740" y="410" />
<di:waypoint x="785" y="410" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_102h6w5_di" bpmnElement="Flow_102h6w5">
<di:waypoint x="715" y="170" />
<di:waypoint x="792" y="170" />
<bpmndi:BPMNLabel>
<dc:Bounds x="748" y="152" width="12" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1pcznl0_di" bpmnElement="Flow_1pcznl0">
<di:waypoint x="1600" y="170" />
<di:waypoint x="1875" y="170" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1dzwfrq_di" bpmnElement="Flow_1dzwfrq">
<di:waypoint x="2140" y="195" />
<di:waypoint x="2140" y="262" />
<bpmndi:BPMNLabel>
<dc:Bounds x="2145" y="230" width="21" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1xb0is5_di" bpmnElement="Flow_1xb0is5">
<di:waypoint x="2165" y="170" />
<di:waypoint x="2242" y="170" />
<bpmndi:BPMNLabel>
<dc:Bounds x="2198" y="152" width="13" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0evusax_di" bpmnElement="Flow_0evusax">
<di:waypoint x="2050" y="-180" />
<di:waypoint x="2122" y="-180" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_10ewldc_di" bpmnElement="Flow_10ewldc">
<di:waypoint x="1793" y="-98" />
<di:waypoint x="1793" y="-180" />
<di:waypoint x="1950" y="-180" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0jhbfy5_di" bpmnElement="Flow_0jhbfy5">
<di:waypoint x="1843" y="-40" />
<di:waypoint x="1900" y="-40" />
<di:waypoint x="1900" y="145" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1a90e0v_di" bpmnElement="Flow_1a90e0v">
<di:waypoint x="1691" y="-40" />
<di:waypoint x="1743" y="-40" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0991z68_di" bpmnElement="Flow_0991z68">
<di:waypoint x="1925" y="170" />
<di:waypoint x="1950" y="170" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0v9gsu4_di" bpmnElement="Flow_0v9gsu4">
<di:waypoint x="2700" y="195" />
<di:waypoint x="2700" y="290" />
<di:waypoint x="2780" y="290" />
<bpmndi:BPMNLabel>
<dc:Bounds x="2705" y="235" width="21" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0uwe02r_di" bpmnElement="Flow_0uwe02r">
<di:waypoint x="4688" y="170" />
<di:waypoint x="4795" y="170" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1aszkch_di" bpmnElement="Flow_1aszkch">
<di:waypoint x="2278" y="170" />
<di:waypoint x="2675" y="170" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_15z14lq_di" bpmnElement="Flow_15z14lq">
<di:waypoint x="3170" y="170" />
<di:waypoint x="3230" y="170" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0b91ovw_di" bpmnElement="Flow_0b91ovw">
<di:waypoint x="3330" y="170" />
<di:waypoint x="3370" y="170" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1odr7ys_di" bpmnElement="Flow_1odr7ys">
<di:waypoint x="1210" y="540" />
<di:waypoint x="1262" y="540" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1xexc8o_di" bpmnElement="Flow_1xexc8o">
<di:waypoint x="930" y="228" />
<di:waypoint x="930" y="515" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_03h8mzu_di" bpmnElement="Flow_03h8mzu">
<di:waypoint x="1060" y="-40" />
<di:waypoint x="1142" y="-40" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_13ed3vi_di" bpmnElement="Flow_13ed3vi">
<di:waypoint x="930" y="112" />
<di:waypoint x="930" y="-40" />
<di:waypoint x="960" y="-40" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_00zurai_di" bpmnElement="Flow_00zurai">
<di:waypoint x="2190" y="10" />
<di:waypoint x="2242" y="10" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1jfg32q_di" bpmnElement="Flow_1jfg32q">
<di:waypoint x="2000" y="112" />
<di:waypoint x="2000" y="10" />
<di:waypoint x="2090" y="10" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_19o1h0c_di" bpmnElement="Flow_19o1h0c">
<di:waypoint x="2880" y="170" />
<di:waypoint x="2952" y="170" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_061lti6_di" bpmnElement="Flow_061lti6">
<di:waypoint x="3470" y="170" />
<di:waypoint x="3522" y="170" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_15vg7m8_di" bpmnElement="Flow_15vg7m8">
<di:waypoint x="2725" y="170" />
<di:waypoint x="2780" y="170" />
<bpmndi:BPMNLabel>
<dc:Bounds x="2747" y="152" width="13" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0x16qer_di" bpmnElement="Flow_0x16qer">
<di:waypoint x="1460" y="170" />
<di:waypoint x="1500" y="170" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_12axwip_di" bpmnElement="Flow_12axwip">
<di:waypoint x="2050" y="170" />
<di:waypoint x="2115" y="170" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0u192sv_di" bpmnElement="Flow_0u192sv">
<di:waypoint x="630" y="170" />
<di:waypoint x="665" y="170" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_14rs6r9_di" bpmnElement="Flow_14rs6r9">
<di:waypoint x="1220" y="170" />
<di:waypoint x="1262" y="170" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_00yaaw2_di" bpmnElement="Flow_00yaaw2">
<di:waypoint x="1298" y="170" />
<di:waypoint x="1360" y="170" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0ndh97z_di" bpmnElement="Flow_0ndh97z">
<di:waypoint x="1040" y="195" />
<di:waypoint x="1040" y="280" />
<di:waypoint x="1142" y="280" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1052" y="263" width="81" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1431vzc_di" bpmnElement="Flow_1431vzc">
<di:waypoint x="1065" y="170" />
<di:waypoint x="1120" y="170" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1087" y="152" width="12" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0b9448c_di" bpmnElement="Flow_0b9448c">
<di:waypoint x="78" y="40" />
<di:waypoint x="320" y="40" />
<di:waypoint x="320" y="145" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1lcyy3j_di" bpmnElement="Flow_1lcyy3j">
<di:waypoint x="828" y="170" />
<di:waypoint x="880" y="170" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1r2l9q6_di" bpmnElement="Flow_1r2l9q6">
<di:waypoint x="980" y="170" />
<di:waypoint x="1015" y="170" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0sy2f3n_di" bpmnElement="Flow_0sy2f3n">
<di:waypoint x="240" y="170" />
<di:waypoint x="295" y="170" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0pew9eo_di" bpmnElement="Flow_0pew9eo">
<di:waypoint x="78" y="170" />
<di:waypoint x="140" y="170" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0q8l8ma_di" bpmnElement="Flow_0q8l8ma">
<di:waypoint x="480" y="170" />
<di:waypoint x="530" y="170" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0lcsb1f_di" bpmnElement="Flow_0lcsb1f">
<di:waypoint x="345" y="170" />
<di:waypoint x="380" y="170" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0v9agi9_di" bpmnElement="Flow_0v9agi9">
<di:waypoint x="78" y="280" />
<di:waypoint x="320" y="280" />
<di:waypoint x="320" y="195" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="42" y="262" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="33" y="305" width="64" height="40" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0o8c3hd_di" bpmnElement="Event_0bflfz7">
<dc:Bounds x="42" y="152" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="37" y="195" width="64" height="40" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1y1xpxk_di" bpmnElement="Activity_17wjal0" bioc:stroke="#1e88e5" bioc:fill="#bbdefb" color:background-color="#bbdefb" color:border-color="#1e88e5">
<dc:Bounds x="380" y="130" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_0zk3urn_di" bpmnElement="Gateway_0zk3urn" isMarkerVisible="true">
<dc:Bounds x="295" y="145" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1997jyn_di" bpmnElement="Activity_1tqr558">
<dc:Bounds x="140" y="130" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1yky3gl_di" bpmnElement="Activity_13bm0pl" bioc:stroke="#1e88e5" bioc:fill="#bbdefb" color:background-color="#bbdefb" color:border-color="#1e88e5">
<dc:Bounds x="880" y="130" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1mty08u_di" bpmnElement="Event_0jt4c0y" bioc:stroke="#fb8c00" bioc:fill="#ffe0b2" color:background-color="#ffe0b2" color:border-color="#fb8c00">
<dc:Bounds x="792" y="152" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="766" y="195" width="87" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1d3qb5i_di" bpmnElement="Event_0sq21jx">
<dc:Bounds x="42" y="22" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="33" y="65" width="55" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_07i4ef7_di" bpmnElement="Gateway_07i4ef7" isMarkerVisible="true">
<dc:Bounds x="1015" y="145" width="50" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1012" y="121" width="55" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0hcrcy1_di" bpmnElement="Event_1nqbzn2">
<dc:Bounds x="1142" y="262" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1134" y="305" width="55" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0pkl3za_di" bpmnElement="Event_1twv9y8" bioc:stroke="#fb8c00" bioc:fill="#ffe0b2" color:background-color="#ffe0b2" color:border-color="#fb8c00">
<dc:Bounds x="1262" y="152" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1241" y="195" width="89" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_09qg0el_di" bpmnElement="Activity_1pud8vr">
<dc:Bounds x="1120" y="130" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1nbvqo7_di" bpmnElement="Activity_1ait4oi" bioc:stroke="#8e24aa" bioc:fill="#e1bee7" color:background-color="#e1bee7" color:border-color="#8e24aa">
<dc:Bounds x="1950" y="130" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0vinu0f_di" bpmnElement="Activity_18g8x1a">
<dc:Bounds x="1360" y="130" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_1k904ga_di" bpmnElement="Gateway_1k904ga" isMarkerVisible="true">
<dc:Bounds x="2675" y="145" width="50" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="2673" y="121" width="53" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0l29qo1_di" bpmnElement="Activity_0l4dfc2">
<dc:Bounds x="3370" y="130" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1b2vwgv_di" bpmnElement="Activity_0s1u8kr">
<dc:Bounds x="2780" y="130" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0k298ej_di" bpmnElement="Event_0k298ej">
<dc:Bounds x="2242" y="-8" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="2236" y="35" width="49" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0fpqdp4_di" bpmnElement="Activity_1aukigg">
<dc:Bounds x="2090" y="-30" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_09qxqxl_di" bpmnElement="Activity_0t8o8gp">
<dc:Bounds x="960" y="-80" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1c09q73_di" bpmnElement="Event_1c09q73">
<dc:Bounds x="1142" y="-58" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1133" y="-15" width="55" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0u5pibq_di" bpmnElement="Activity_1nod8j1">
<dc:Bounds x="1110" y="500" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1svteit_di" bpmnElement="Event_03pz5cv">
<dc:Bounds x="1262" y="522" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1249" y="565" width="62" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1271urp_di" bpmnElement="Activity_0qcegpl" bioc:stroke="#1e88e5" bioc:fill="#bbdefb" color:background-color="#bbdefb" color:border-color="#1e88e5">
<dc:Bounds x="3230" y="130" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1y637oj_di" bpmnElement="Activity_080htek">
<dc:Bounds x="3070" y="130" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0hhakol_di" bpmnElement="Event_0xbykqk" bioc:stroke="#fb8c00" bioc:fill="#ffe0b2" color:background-color="#ffe0b2" color:border-color="#fb8c00">
<dc:Bounds x="2242" y="152" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="2237" y="195" width="50" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0xdmawh_di" bpmnElement="Event_1drhaup">
<dc:Bounds x="4912" y="152" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="4892" y="195" width="84" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0mlggnr_di" bpmnElement="Event_0qhlyfu" bioc:stroke="#fb8c00" bioc:fill="#ffe0b2" color:background-color="#ffe0b2" color:border-color="#fb8c00">
<dc:Bounds x="4652" y="152" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="4651" y="195" width="55" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1jvesi9_di" bpmnElement="Activity_1itl193">
<dc:Bounds x="2780" y="250" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_0f8z647_di" bpmnElement="Gateway_0f8z647" isMarkerVisible="true">
<dc:Bounds x="1875" y="145" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0wxa47e_di" bpmnElement="Event_1ivffp1">
<dc:Bounds x="1655" y="-58" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1634" y="-15" width="79" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0eutbmv_di" bpmnElement="Activity_0mdptdv" bioc:stroke="#1e88e5" bioc:fill="#bbdefb" color:background-color="#bbdefb" color:border-color="#1e88e5">
<dc:Bounds x="1743" y="-80" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_17g1xwu_di" bpmnElement="Activity_1ygs4v5">
<dc:Bounds x="1950" y="-220" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0nngv4a_di" bpmnElement="Event_0nngv4a">
<dc:Bounds x="2122" y="-198" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="2112" y="-154" width="55" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_020uijn_di" bpmnElement="Gateway_020uijn" isMarkerVisible="true">
<dc:Bounds x="2115" y="145" width="50" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="2119" y="115" width="44" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0z4ni0f_di" bpmnElement="Event_0bd3rib">
<dc:Bounds x="2122" y="262" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="2104" y="305" width="79" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0peskwt_di" bpmnElement="Activity_0kizjoo">
<dc:Bounds x="1500" y="130" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_1bojf90_di" bpmnElement="Gateway_1bojf90" isMarkerVisible="true">
<dc:Bounds x="665" y="145" width="50" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="671" y="121" width="37" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_01y7n67_di" bpmnElement="Event_05l0ms0" bioc:stroke="#fb8c00" bioc:fill="#ffe0b2" color:background-color="#ffe0b2" color:border-color="#fb8c00">
<dc:Bounds x="3522" y="152" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="3500" y="195" width="86" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_10scjw3_di" bpmnElement="Gateway_10scjw3" isMarkerVisible="true">
<dc:Bounds x="785" y="385" width="50" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="779" y="348" width="61" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0hnzj9x_di" bpmnElement="Event_0s6qq1u">
<dc:Bounds x="872" y="392" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="868" y="435" width="55" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_00dlu2l_di" bpmnElement="Gateway_00dlu2l" isMarkerVisible="true">
<dc:Bounds x="905" y="515" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_02sletn_di" bpmnElement="Gateway_02sletn" isMarkerVisible="true">
<dc:Bounds x="1015" y="515" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_0v3kivh_di" bpmnElement="Gateway_0v3kivh" isMarkerVisible="true">
<dc:Bounds x="4795" y="145" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0kdailj_di" bpmnElement="Activity_0kdailj" isExpanded="true">
<dc:Bounds x="4070" y="-165" width="475" height="410" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_0yctp6p_di" bpmnElement="Flow_0yctp6p">
<di:waypoint x="4358" y="-110" />
<di:waypoint x="4482" y="-110" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1092ksa_di" bpmnElement="Flow_1092ksa">
<di:waypoint x="4215" y="120" />
<di:waypoint x="4215" y="-110" />
<di:waypoint x="4322" y="-110" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1bok34w_di" bpmnElement="Flow_1bok34w">
<di:waypoint x="4358" y="145" />
<di:waypoint x="4482" y="145" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0txrfb3_di" bpmnElement="Flow_0txrfb3">
<di:waypoint x="4240" y="145" />
<di:waypoint x="4322" y="145" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0exogj9_di" bpmnElement="Flow_0exogj9">
<di:waypoint x="4358" y="10" />
<di:waypoint x="4482" y="10" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0u7m59v_di" bpmnElement="Flow_0u7m59v">
<di:waypoint x="4215" y="120" />
<di:waypoint x="4215" y="10" />
<di:waypoint x="4322" y="10" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_07pg5af_di" bpmnElement="Flow_07pg5af">
<di:waypoint x="4146" y="145" />
<di:waypoint x="4190" y="145" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="Event_106n5n4_di" bpmnElement="Event_106n5n4">
<dc:Bounds x="4110" y="127" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="4100" y="170" width="57" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_0c4j8zi_di" bpmnElement="Gateway_0hdc5ll">
<dc:Bounds x="4190" y="120" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0m40nrg_di" bpmnElement="Event_0m40nrg">
<dc:Bounds x="4322" y="-8" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="4302" y="35" width="80" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1h6vd9l_di" bpmnElement="Event_1h6vd9l">
<dc:Bounds x="4482" y="-8" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="4473" y="35" width="55" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0pb85eg_di" bpmnElement="Event_0pb85eg">
<dc:Bounds x="4322" y="127" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="4315" y="170" width="51" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_16cqklq_di" bpmnElement="Event_16cqklq">
<dc:Bounds x="4482" y="127" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="4473" y="170" width="55" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_01ygoz0_di" bpmnElement="Event_01ygoz0">
<dc:Bounds x="4482" y="-128" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="4473" y="-85" width="55" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0pesabz_di" bpmnElement="Event_1jgkh3r">
<dc:Bounds x="4322" y="-128" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="4303" y="-85" width="77" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_14rbt8y_di" bpmnElement="Event_01uzxh4" bioc:stroke="#fb8c00" bioc:fill="#ffe0b2" color:background-color="#ffe0b2" color:border-color="#fb8c00">
<dc:Bounds x="2952" y="152" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="2931" y="195" width="85" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_04n34q2_di" bpmnElement="Activity_0m915zl">
<dc:Bounds x="530" y="130" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_032mjpz_di" bpmnElement="Activity_12rqeec" bioc:stroke="#1e88e5" bioc:fill="#bbdefb" color:background-color="#bbdefb" color:border-color="#1e88e5">
<dc:Bounds x="640" y="370" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0frjbif_di" bpmnElement="Activity_1p5npc5">
<dc:Bounds x="3340" y="-50" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1fn6xdt_di" bpmnElement="Event_1fn6xdt">
<dc:Bounds x="3512" y="-28" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="3506" y="15" width="49" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_0guoqrv_di" bpmnElement="Gateway_0guoqrv" isMarkerVisible="true">
<dc:Bounds x="3255" y="265" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="TextAnnotation_08na7er_di" bpmnElement="TextAnnotation_08na7er">
<dc:Bounds x="2860" y="40" width="280" height="55" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="TextAnnotation_06ogwaj_di" bpmnElement="TextAnnotation_06ogwaj">
<dc:Bounds x="1540" y="65" width="100" height="30" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="TextAnnotation_1f8iba2_di" bpmnElement="TextAnnotation_1f8iba2">
<dc:Bounds x="1000" y="-140" width="100" height="29.999998092651367" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="TextAnnotation_18zkcz6_di" bpmnElement="TextAnnotation_18zkcz6">
<dc:Bounds x="1170" y="440" width="100" height="29.999998092651367" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="TextAnnotation_03gdd5e_di" bpmnElement="TextAnnotation_03gdd5e">
<dc:Bounds x="2000" y="-280" width="100" height="30" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="TextAnnotation_0wnrdl6_di" bpmnElement="TextAnnotation_0wnrdl6">
<dc:Bounds x="2140" y="-95" width="100" height="30" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="TextAnnotation_0gkli77_di" bpmnElement="TextAnnotation_0gkli77">
<dc:Bounds x="3160" y="53" width="100" height="30" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_11f8bqb_di" bpmnElement="Event_1f7vwi9">
<dc:Bounds x="3262" y="192" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="3250" y="235" width="64" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_126n877_di" bpmnElement="Event_126n877">
<dc:Bounds x="3262" y="112" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="3252" y="93" width="58" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1bnmpf6_di" bpmnElement="Event_0iuow0p">
<dc:Bounds x="1775" y="-98" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1763" y="-128" width="60" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0y7sicc_di" bpmnElement="Event_1ogxebm">
<dc:Bounds x="912" y="192" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="901" y="235" width="58" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1cu8nf1_di" bpmnElement="Event_1odvfiz">
<dc:Bounds x="1982" y="112" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1969" y="93" width="63" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0p8uitp_di" bpmnElement="Event_0f3au47">
<dc:Bounds x="912" y="112" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="908" y="93" width="45" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Association_1rkti0s_di" bpmnElement="Association_1rkti0s">
<di:waypoint x="2857" y="130" />
<di:waypoint x="2882" y="95" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Association_00zfffi_di" bpmnElement="Association_00zfffi">
<di:waypoint x="1568" y="130" />
<di:waypoint x="1584" y="95" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Association_0r41pif_di" bpmnElement="Association_0r41pif">
<di:waypoint x="1029" y="-80" />
<di:waypoint x="1043" y="-110" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Association_0iap627_di" bpmnElement="Association_0iap627">
<di:waypoint x="1188" y="500" />
<di:waypoint x="1209" y="470" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Association_15qsydj_di" bpmnElement="Association_15qsydj">
<di:waypoint x="2024" y="-220" />
<di:waypoint x="2041" y="-250" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Association_1qnwz99_di" bpmnElement="Association_1qnwz99">
<di:waypoint x="2162" y="-30" />
<di:waypoint x="2182" y="-65" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Association_13qpv73_di" bpmnElement="Association_13qpv73">
<di:waypoint x="3155" y="130" />
<di:waypoint x="3197" y="83" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>
Complex
Deze complexe BPMN start met een start event dat een tijdsvariabele zet en vertakt via een gateway: ofwel wordt gewerkt met een lijst van periodes (multi-instance subprocess dat per periode het evenement in GIPOD registreert, op conflicten controleert en resultaten opslaat in een array-variabele), ofwel enkel met minimale begin- en maximale einddatum. Na registratie volgt steeds een conflictcontrole; de verzamelde conflicts worden samengevat tot een boolean die in het doelformulier wordt overgenomen. Vervolgens wordt een HTML-tekst opgebouwd (ul/li) met per item een link naar de GIPOD-dossiers, met verschillende URL’s voor beta of productie. Tot slot worden relevante signalen/mijlpalen gegooid en wordt de workflow afgesloten.
<?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:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_10ft502" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.7.3">
<bpmn:process id="innameOpenbaarDomeinGipodEvenement" name="Inname openbaar domein (GIPOD)" isExecutable="true">
<bpmn:startEvent id="StartEvent_1" name="start">
<bpmn:extensionElements>
<camunda:executionListener expression="${execution.setVariable('theTimeNow', dateTime().toString("YYYY-MM-dd"))}" event="end" />
</bpmn:extensionElements>
<bpmn:outgoing>Flow_1ugwrff</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_1ugwrff" sourceRef="StartEvent_1" targetRef="Gateway_1xdjhwd" />
<bpmn:endEvent id="Event_1dzifam" name="einde">
<bpmn:incoming>Flow_1xqo8w6</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_02obfhu" sourceRef="Activity_0y03zuf" targetRef="Activity_0d3qktm" />
<bpmn:subProcess id="Activity_1iziwuy">
<bpmn:incoming>Flow_1xaffjq</bpmn:incoming>
<bpmn:outgoing>Flow_1bixdsm</bpmn:outgoing>
<bpmn:multiInstanceLoopCharacteristics isSequential="true" camunda:collection="periodesEvenement" camunda:elementVariable="periodeEvenement" />
<bpmn:startEvent id="Event_03rdw8c" name="start">
<bpmn:outgoing>Flow_1gwjct8</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:serviceTask id="Activity_0brhujv" name="GIPOD controleer op conflict" camunda:asyncBefore="true" camunda:asyncAfter="true" camunda:expression="${gipodService.getPublicOccupancies(execution.processBusinessKey, bronformulier, veldLocatieEvenement, veldStartdatum, veldEinddatum)}" camunda:resultVariable="conflict">
<bpmn:incoming>Flow_1w9fyl7</bpmn:incoming>
<bpmn:outgoing>Flow_0klk7fr</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="Flow_1gwjct8" sourceRef="Event_03rdw8c" targetRef="Activity_0nl9bg7" />
<bpmn:sequenceFlow id="Flow_0klk7fr" sourceRef="Activity_0brhujv" targetRef="Activity_1fvl7kp" />
<bpmn:endEvent id="Event_1bdmlil" name="end">
<bpmn:incoming>Flow_11opg2g</bpmn:incoming>
</bpmn:endEvent>
<bpmn:serviceTask id="Activity_1is1dz9" name="GIPOD registreer IOD" camunda:asyncBefore="true" camunda:asyncAfter="true" camunda:expression="${gipodService.registerEvent(execution.processBusinessKey, bronformulier,veldEmail ,veldNaamEvenement, veldLocatieEvenement, veldStartdatum, veldEinddatum)}" camunda:resultVariable="gipodEventId">
<bpmn:incoming>Flow_0lz4qbn</bpmn:incoming>
<bpmn:outgoing>Flow_1w9fyl7</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="Flow_1w9fyl7" sourceRef="Activity_1is1dz9" targetRef="Activity_0brhujv" />
<bpmn:scriptTask id="Activity_1fvl7kp" name="Sla gipodId op in gipodEventIdArrayVariable" camunda:asyncBefore="true" camunda:asyncAfter="true" scriptFormat="javascript">
<bpmn:incoming>Flow_0klk7fr</bpmn:incoming>
<bpmn:outgoing>Flow_11opg2g</bpmn:outgoing>
<bpmn:script>var conflict = execution.getVariable('conflict');
var gipodEventId = execution.getVariable('gipodEventId');
var gipodEventIdArrayVariable = execution.hasVariable('gipodEventIdArrayVariable') ? JSON.parse(execution.getVariable('gipodEventIdArrayVariable')) : []
gipodEventIdArrayVariable.push({
gipodEventId: gipodEventId,
conflict: conflict
});
execution.setVariable('gipodEventIdArrayVariable', JSON.stringify(gipodEventIdArrayVariable))</bpmn:script>
</bpmn:scriptTask>
<bpmn:sequenceFlow id="Flow_11opg2g" sourceRef="Activity_1fvl7kp" targetRef="Event_1bdmlil" />
<bpmn:sequenceFlow id="Flow_0lz4qbn" sourceRef="Activity_0nl9bg7" targetRef="Activity_1is1dz9" />
<bpmn:scriptTask id="Activity_0nl9bg7" name="Vul begin- en einddatum periode in bronformuler" camunda:asyncBefore="true" camunda:asyncAfter="true" scriptFormat="javascript">
<bpmn:incoming>Flow_1gwjct8</bpmn:incoming>
<bpmn:outgoing>Flow_0lz4qbn</bpmn:outgoing>
<bpmn:script>var bronformulier = execution.getVariable('bronformulier')
var periodeEvenement = execution.getVariable('periodeEvenement')
var veldStartdatum = execution.getVariable('veldStartdatum')
var veldStartdatumElementLijstveld = execution.getVariable('veldStartdatumElementLijstveld')
var veldEinddatum = execution.getVariable('veldEinddatum')
var veldEinddatumElementLijstveld = execution.getVariable('veldEinddatumElementLijstveld')
skryv.dossierFromScope(execution)
.getOrCreateDocumentByDefinitionKey(bronformulier)
.setField(veldEinddatum, periodeEvenement[veldEinddatumElementLijstveld]);
skryv.dossierFromScope(execution)
.getOrCreateDocumentByDefinitionKey(bronformulier)
.setField(veldStartdatum, periodeEvenement[veldStartdatumElementLijstveld]);</bpmn:script>
</bpmn:scriptTask>
<bpmn:association id="Association_1xf0hco" sourceRef="Activity_0brhujv" targetRef="TextAnnotation_19uo8ue" />
<bpmn:textAnnotation id="TextAnnotation_19uo8ue">
<bpmn:text>${gipodService.getPublicOccupancies(execution.processBusinessKey, bronformulier, veldLocatieEvenement, veldStartdatum, veldEinddatum)}</bpmn:text>
</bpmn:textAnnotation>
<bpmn:textAnnotation id="TextAnnotation_0ixjekf">
<bpmn:text>${gipodService.registerEvent(execution.processBusinessKey, bronformulier,veldEmail ,veldNaamEvenement, veldLocatieEvenement, veldStartdatum, veldEinddatum)}</bpmn:text>
</bpmn:textAnnotation>
<bpmn:association id="Association_06p1izg" sourceRef="Activity_1is1dz9" targetRef="TextAnnotation_0ixjekf" />
</bpmn:subProcess>
<bpmn:sequenceFlow id="Flow_1bixdsm" sourceRef="Activity_1iziwuy" targetRef="Activity_0y03zuf" />
<bpmn:sequenceFlow id="Flow_1xaffjq" sourceRef="Activity_1e9tuzs" targetRef="Activity_1iziwuy" />
<bpmn:serviceTask id="Activity_1e9tuzs" name="Haal lijst periodes evenement op" camunda:asyncBefore="true" camunda:asyncAfter="true" camunda:expression="${skryv.dossierFromScope(execution).getOrCreateDocumentByDefinitionKey(bronformulier).getField(veldLijstPeriodes)}" camunda:resultVariable="periodesEvenement">
<bpmn:incoming>Flow_1f0x9ui</bpmn:incoming>
<bpmn:outgoing>Flow_1xaffjq</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:scriptTask id="Activity_0y03zuf" name="Neem conflict (boolean) over in doelformulier" camunda:asyncBefore="true" camunda:asyncAfter="true" scriptFormat="javascript">
<bpmn:incoming>Flow_1bixdsm</bpmn:incoming>
<bpmn:outgoing>Flow_02obfhu</bpmn:outgoing>
<bpmn:script>var gipodEventIdArrayVariable = JSON.parse(execution.getVariable('gipodEventIdArrayVariable'));
var veldConflictGipod = execution.getVariable('veldConflictGipod');
var resultingConflict = false;
for (var i = 0; i < gipodEventIdArrayVariable.length; i++) {
if (gipodEventIdArrayVariable[i].conflict === true) {
resultingConflict = true;
break;
}
}
skryv.dossierFromScope(execution)
.getOrCreateDocumentByDefinitionKey(doelformulier)
.setField(veldConflictGipod, resultingConflict);</bpmn:script>
</bpmn:scriptTask>
<bpmn:scriptTask id="Activity_0d3qktm" name="Genereer en vul tekst in in doelformulier" camunda:asyncBefore="true" camunda:asyncAfter="true" scriptFormat="javascript">
<bpmn:incoming>Flow_02obfhu</bpmn:incoming>
<bpmn:outgoing>Flow_1xqo8w6</bpmn:outgoing>
<bpmn:script>var gipodEventIdArrayVariable = JSON.parse(execution.getVariable('gipodEventIdArrayVariable'));
var veldTekstGipod = execution.getVariable('veldTekstGipod');
var prod = execution.getVariable('prod')
var doelformulier = execution.getVariable('doelformulier')
var resultingGipodText = '<ul>';
if (prod !== true) {
for (var i = 0; i < gipodEventIdArrayVariable.length; i++) {
resultingGipodText += '<br><li> GIPOD-dossier: <a href="https://gipod.beta-vlaanderen.be/inname/' + gipodEventIdArrayVariable[i].gipodEventId + '" target="_blank" style="color: blue; text-decoration: underline;">https://gipod.beta-vlaanderen.be/inname/' + gipodEventIdArrayVariable[i].gipodEventId + '</a>' + '</li><li>Conflict? ' + (gipodEventIdArrayVariable[i].conflict === true ? '<b>Ja</b>' : 'Nee') + '</li>';
}
} else {
for (var i = 0; i < gipodEventIdArrayVariable.length; i++) {
resultingGipodText += '<br><li> GIPOD-dossier: <a href="https://gipod.vlaanderen.be/ws/v1/manifestation?id=' + gipodEventIdArrayVariable[i].gipodEventId + '" target="_blank" style="color: blue; text-decoration: underline;"> ' + 'https://gipod.vlaanderen.be/ws/v1/manifestation?id=' + gipodEventIdArrayVariable[i].gipodEventId + '</a>' + '</li><li>Conflict? ' + (gipodEventIdArrayVariable[i].conflict === true ? '<b>Ja</b>' : 'Nee') + '</li>';
}
}
resultingGipodText = resultingGipodText + '</ul>'
skryv.dossierFromScope(execution).getOrCreateDocumentByDefinitionKey(doelformulier).setField(veldTekstGipod, resultingGipodText);</bpmn:script>
</bpmn:scriptTask>
<bpmn:sequenceFlow id="Flow_1xqo8w6" sourceRef="Activity_0d3qktm" targetRef="Event_1dzifam" />
<bpmn:exclusiveGateway id="Gateway_1xdjhwd" name="Gebruik lijst van IOD-data" default="Flow_0euu9a6">
<bpmn:incoming>Flow_1ugwrff</bpmn:incoming>
<bpmn:outgoing>Flow_1f0x9ui</bpmn:outgoing>
<bpmn:outgoing>Flow_0euu9a6</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_1f0x9ui" name="ja" sourceRef="Gateway_1xdjhwd" targetRef="Activity_1e9tuzs">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">${false}</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:sequenceFlow id="Flow_0euu9a6" name="nee" sourceRef="Gateway_1xdjhwd" targetRef="Activity_1roqg9s" />
<bpmn:sequenceFlow id="Flow_0e1cpue" sourceRef="Activity_1roqg9s" targetRef="Event_18gq8v7" />
<bpmn:endEvent id="Event_13th3zp" name="end">
<bpmn:incoming>Flow_1g09rto</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_1puwc0f" sourceRef="Event_18gq8v7" targetRef="Activity_0ighwf2" />
<bpmn:intermediateThrowEvent id="Event_18gq8v7" name="GIPOD: inname openbaar domein geregistreerd">
<bpmn:incoming>Flow_0e1cpue</bpmn:incoming>
<bpmn:outgoing>Flow_1puwc0f</bpmn:outgoing>
<bpmn:signalEventDefinition id="SignalEventDefinition_1j757up" signalRef="Signal_02i17jp" />
</bpmn:intermediateThrowEvent>
<bpmn:serviceTask id="Activity_1roqg9s" name="Registreer evenement" camunda:modelerTemplate="com.skryv.gipod.RegisterEvent" camunda:expression="${gipodService.registerEvent(execution.processBusinessKey, "aanvraagEvenement", "infoAanvrager.eMailadresAanvrager", "naamEvenement", "openbareDomein.locatieEvenement", "openbareDomein.begindatumIod", "openbareDomein.einddatumIod")}" camunda:resultVariable="gipodEventId">
<bpmn:incoming>Flow_0euu9a6</bpmn:incoming>
<bpmn:outgoing>Flow_0e1cpue</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="Flow_0pc6fsr" sourceRef="Activity_0ighwf2" targetRef="Activity_090cgkd" />
<bpmn:serviceTask id="Activity_0ighwf2" name="GIPOD controleer op conflicten" camunda:modelerTemplate="com.skryv.gipod.publicOccupancies" camunda:expression="${gipodService.getPublicOccupancies(execution.processBusinessKey, "aanvraagEvenement", "openbareDomein.locatieEvenement", "openbareDomein.begindatumIod", "openbareDomein.einddatumIod")}" camunda:resultVariable="conflict">
<bpmn:incoming>Flow_1puwc0f</bpmn:incoming>
<bpmn:outgoing>Flow_0pc6fsr</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:scriptTask id="Activity_090cgkd" name="Genereer en vul tekst in in doelformulier" camunda:asyncBefore="true" camunda:asyncAfter="true" scriptFormat="javascript">
<bpmn:incoming>Flow_0pc6fsr</bpmn:incoming>
<bpmn:outgoing>Flow_1g09rto</bpmn:outgoing>
<bpmn:script>var gipodEventIdArrayVariable = JSON.parse(execution.getVariable('gipodEventIdArrayVariable'));
var veldTekstGipod = execution.getVariable('veldTekstGipod');
var prod = execution.getVariable('prod')
var doelformulier = execution.getVariable('doelformulier')
var conflict = execution.getVariable('conflict')
var gipodEventId = execution.getVariable('gipodEventId')
var resultingGipodText = '<ul>';
if (prod !== true) {
resultingGipodText += '<br><li> GIPOD-dossier: <a href="https://gipod.beta-vlaanderen.be/inname/' + gipodEventId + '" target="_blank" style="color: blue; text-decoration: underline;">https://gipod.beta-vlaanderen.be/inname/' + gipodEventId + '</a>' + '</li><li>Conflict? ' + (conflict === true ? '<b>Ja</b>' : 'Nee') + '</li>';
} else {
resultingGipodText += '<br><li> GIPOD-dossier: <a href="https://gipod.vlaanderen.be/inname/' + gipodEventId + '" target="_blank" style="color: blue; text-decoration: underline;"> ' + 'https://gipod.vlaanderen.be/inname/' + gipodEventId + '</a>' + '</li><li>Conflict? ' + (conflict === true ? '<b>Ja</b>' : 'Nee') + '</li>';
}
resultingGipodText = resultingGipodText + '</ul>'
skryv.dossierFromScope(execution).getOrCreateDocumentByDefinitionKey(doelformulier).setField(veldTekstGipod, resultingGipodText);</bpmn:script>
</bpmn:scriptTask>
<bpmn:sequenceFlow id="Flow_1g09rto" sourceRef="Activity_090cgkd" targetRef="Event_13th3zp" />
<bpmn:textAnnotation id="TextAnnotation_00uex62">
<bpmn:text>Oorspronkelijk: variabele lijst van evenementendata.
Nu (17/09/2024): Werd op aanvraag Herent gewijzigd naar minimale begindatum en maximale einddatum van de ingegeven data onder "inname openbaar domein"</bpmn:text>
</bpmn:textAnnotation>
<bpmn:association id="Association_1p52s5y" sourceRef="Gateway_1xdjhwd" targetRef="TextAnnotation_00uex62" />
<bpmn:textAnnotation id="TextAnnotation_1xxbetm">
<bpmn:text>12/12/2024: prod url gewijzigd
van:
https://gipod.vlaanderen.be/ws/v1/manifestation?id={id}
naar:
https://gipod.vlaanderen.be/inname/{id}</bpmn:text>
</bpmn:textAnnotation>
<bpmn:association id="Association_11mlzke" sourceRef="Activity_090cgkd" targetRef="TextAnnotation_1xxbetm" />
</bpmn:process>
<bpmn:signal id="Signal_02i17jp" name="DS_Event_18gq8v7" />
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="innameOpenbaarDomeinGipodEvenement">
<bpmndi:BPMNShape id="TextAnnotation_1xxbetm_di" bpmnElement="TextAnnotation_1xxbetm">
<dc:Bounds x="1210" y="500" width="479.9833042973287" height="83.62369337979094" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_1g09rto_di" bpmnElement="Flow_1g09rto">
<di:waypoint x="1160" y="360" />
<di:waypoint x="1232" y="360" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0pc6fsr_di" bpmnElement="Flow_0pc6fsr">
<di:waypoint x="970" y="360" />
<di:waypoint x="1060" y="360" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1puwc0f_di" bpmnElement="Flow_1puwc0f">
<di:waypoint x="768" y="360" />
<di:waypoint x="870" y="360" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0e1cpue_di" bpmnElement="Flow_0e1cpue">
<di:waypoint x="670" y="360" />
<di:waypoint x="732" y="360" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0euu9a6_di" bpmnElement="Flow_0euu9a6">
<di:waypoint x="370" y="122" />
<di:waypoint x="370" y="360" />
<di:waypoint x="570" y="360" />
<bpmndi:BPMNLabel>
<dc:Bounds x="376" y="238" width="19" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1f0x9ui_di" bpmnElement="Flow_1f0x9ui">
<di:waypoint x="395" y="97" />
<di:waypoint x="570" y="97" />
<bpmndi:BPMNLabel>
<dc:Bounds x="479" y="79" width="8" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1xqo8w6_di" bpmnElement="Flow_1xqo8w6">
<di:waypoint x="2030" y="97" />
<di:waypoint x="2092" y="97" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1xaffjq_di" bpmnElement="Flow_1xaffjq">
<di:waypoint x="670" y="97" />
<di:waypoint x="770" y="97" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1bixdsm_di" bpmnElement="Flow_1bixdsm">
<di:waypoint x="1690" y="97" />
<di:waypoint x="1760" y="97" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_02obfhu_di" bpmnElement="Flow_02obfhu">
<di:waypoint x="1860" y="97" />
<di:waypoint x="1930" y="97" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1ugwrff_di" bpmnElement="Flow_1ugwrff">
<di:waypoint x="215" y="97" />
<di:waypoint x="345" y="97" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="179" y="79" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="186" y="122" width="22" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1dzifam_di" bpmnElement="Event_1dzifam">
<dc:Bounds x="2092" y="79" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="2097" y="122" width="27" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1iziwuy_di" bpmnElement="Activity_1iziwuy" isExpanded="true">
<dc:Bounds x="770" y="-230" width="920" height="410" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_0lz4qbn_di" bpmnElement="Flow_0lz4qbn">
<di:waypoint x="1000" y="93" />
<di:waypoint x="1080" y="93" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_11opg2g_di" bpmnElement="Flow_11opg2g">
<di:waypoint x="1540" y="93" />
<di:waypoint x="1612" y="93" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1w9fyl7_di" bpmnElement="Flow_1w9fyl7">
<di:waypoint x="1180" y="93" />
<di:waypoint x="1240" y="93" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0klk7fr_di" bpmnElement="Flow_0klk7fr">
<di:waypoint x="1340" y="93" />
<di:waypoint x="1440" y="93" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1gwjct8_di" bpmnElement="Flow_1gwjct8">
<di:waypoint x="866" y="93" />
<di:waypoint x="900" y="93" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="Event_03rdw8c_di" bpmnElement="Event_03rdw8c">
<dc:Bounds x="830" y="75" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="837" y="118" width="23" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0brhujv_di" bpmnElement="Activity_0brhujv">
<dc:Bounds x="1240" y="53" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1bdmlil_di" bpmnElement="Event_1bdmlil">
<dc:Bounds x="1612" y="75" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1621" y="118" width="19" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1is1dz9_di" bpmnElement="Activity_1is1dz9">
<dc:Bounds x="1080" y="53" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1fvl7kp_di" bpmnElement="Activity_1fvl7kp">
<dc:Bounds x="1440" y="53" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_070zqx7_di" bpmnElement="Activity_0nl9bg7">
<dc:Bounds x="900" y="53" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="TextAnnotation_19uo8ue_di" bpmnElement="TextAnnotation_19uo8ue">
<dc:Bounds x="1150" y="-210" width="520" height="41" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="TextAnnotation_0ixjekf_di" bpmnElement="TextAnnotation_0ixjekf">
<dc:Bounds x="790" y="-100" width="670" height="41" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Association_1xf0hco_di" bpmnElement="Association_1xf0hco">
<di:waypoint x="1319" y="53" />
<di:waypoint x="1410" y="-74" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Association_06p1izg_di" bpmnElement="Association_06p1izg">
<di:waypoint x="1140" y="53" />
<di:waypoint x="1050" y="-59" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="Activity_1h0tsms_di" bpmnElement="Activity_1e9tuzs">
<dc:Bounds x="570" y="57" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0d6nh27_di" bpmnElement="Activity_0y03zuf">
<dc:Bounds x="1760" y="57" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0d3qktm_di" bpmnElement="Activity_0d3qktm">
<dc:Bounds x="1930" y="57" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_1xdjhwd_di" bpmnElement="Gateway_1xdjhwd" isMarkerVisible="true">
<dc:Bounds x="345" y="72" width="50" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="331" y="42" width="79" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_13th3zp_di" bpmnElement="Event_13th3zp">
<dc:Bounds x="1232" y="342" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1241" y="385" width="19" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0qcw0d2_di" bpmnElement="Event_18gq8v7">
<dc:Bounds x="732" y="342" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="717" y="385" width="86" height="40" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0x4suof_di" bpmnElement="Activity_1roqg9s">
<dc:Bounds x="570" y="320" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0i0asjc_di" bpmnElement="Activity_0ighwf2">
<dc:Bounds x="870" y="320" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_090cgkd_di" bpmnElement="Activity_090cgkd">
<dc:Bounds x="1060" y="320" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="TextAnnotation_00uex62_di" bpmnElement="TextAnnotation_00uex62">
<dc:Bounds x="260" y="-250" width="200" height="140" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Association_1p52s5y_di" bpmnElement="Association_1p52s5y">
<di:waypoint x="374" y="76" />
<di:waypoint x="406" y="-110" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Association_11mlzke_di" bpmnElement="Association_11mlzke">
<di:waypoint x="1149" y="400" />
<di:waypoint x="1245" y="500" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>