<?xml version="1.0" encoding="UTF-8"?>
<bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns: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" id="sample-diagram" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="4.9.0" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd">
  <bpmn2:collaboration id="Collaboration_0oahy0i">
    <bpmn2:participant id="Participant_19lpjee" name="Create Tenant" processRef="tenant-create" />
  </bpmn2:collaboration>
  <bpmn2:process id="tenant-create" name="Create Tenant" isExecutable="true" camunda:candidateStarterGroups="tenant-create">
    <bpmn2:sequenceFlow id="Flow_03qvqdv" sourceRef="Event_1mq528l" targetRef="Activity_0wo4c94" />
    <bpmn2:sequenceFlow id="Flow_19apghu" sourceRef="Activity_04268hv" targetRef="Activity_0kokem5" />
    <bpmn2:sequenceFlow id="Flow_1dzhr2w" sourceRef="Gateway_1rke7se" targetRef="Event_1kj6tdq" />
    <bpmn2:sequenceFlow id="Flow_0ufs5lg" sourceRef="Event_1l1qtec" targetRef="Gateway_1rke7se" />
    <bpmn2:sequenceFlow id="Flow_06m12ue" sourceRef="Event_0ood1q0" targetRef="Gateway_1rke7se" />
    <bpmn2:sequenceFlow id="Flow_1cgenrw" sourceRef="Activity_0wo4c94" targetRef="Event_0ood1q0" />
    <bpmn2:sequenceFlow id="Flow_01p8umx" sourceRef="Activity_12c4494" targetRef="Activity_04268hv" />
    <bpmn2:sequenceFlow id="Flow_0nerrg9" sourceRef="Activity_0f2fwzp" targetRef="Activity_12c4494" />
    <bpmn2:sequenceFlow id="Flow_0h2salf" sourceRef="Event_0gz9dof" targetRef="Activity_0f2fwzp" />
    <bpmn2:sequenceFlow id="Flow_0jqgye3" name="Anlegen" sourceRef="ExclusiveGateway_17rfq4o" targetRef="Event_0gz9dof">
      <bpmn2:extensionElements />
    </bpmn2:sequenceFlow>
    <bpmn2:sequenceFlow id="Flow_1itjvyi" name="Abbrechen" sourceRef="ExclusiveGateway_17rfq4o" targetRef="Event_1l1qtec">
      <bpmn2:extensionElements>
        <camunda:properties>
          <camunda:property name="discard_form_changes" value="true" />
          <camunda:property name="validate_form" value="false" />
          <camunda:property name="variant" value="secondary" />
        </camunda:properties>
      </bpmn2:extensionElements>
    </bpmn2:sequenceFlow>
    <bpmn2:sequenceFlow id="Flow_080k63h" sourceRef="Activity_1xhfee5" targetRef="ExclusiveGateway_17rfq4o" />
    <bpmn2:sequenceFlow id="Flow_0oc7f69" sourceRef="Event_1ho1j80" targetRef="Gateway_0y8xknd" />
    <bpmn2:sequenceFlow id="Flow_1a8vxf0" sourceRef="Event_0wqvypp" targetRef="Activity_1osc1gs" />
    <bpmn2:sequenceFlow id="Flow_19ygg1t" sourceRef="Activity_1osc1gs" targetRef="Event_1ho1j80" />
    <bpmn2:startEvent id="Event_0wqvypp" camunda:asyncAfter="true">
      <bpmn2:outgoing>Flow_1a8vxf0</bpmn2:outgoing>
    </bpmn2:startEvent>
    <bpmn2:intermediateThrowEvent id="Event_1ho1j80" name="&#34;new&#34; (10)" camunda:asyncAfter="true">
      <bpmn2:extensionElements>
        <camunda:inputOutput>
          <camunda:outputParameter name="vorgang_status">${10}</camunda:outputParameter>
          <camunda:outputParameter name="vorgang_status_text">new</camunda:outputParameter>
        </camunda:inputOutput>
      </bpmn2:extensionElements>
      <bpmn2:incoming>Flow_19ygg1t</bpmn2:incoming>
      <bpmn2:outgoing>Flow_0oc7f69</bpmn2:outgoing>
    </bpmn2:intermediateThrowEvent>
    <bpmn2:task id="Activity_1osc1gs" name="Create initial variables">
      <bpmn2:extensionElements>
        <camunda:inputOutput>
          <camunda:inputParameter name="initial_admin">
            <camunda:map />
          </camunda:inputParameter>
          <camunda:inputParameter name="initial_user_ids">
            <camunda:list />
          </camunda:inputParameter>
          <camunda:outputParameter name="stage">${envStage}</camunda:outputParameter>
          <camunda:outputParameter name="simulation">${false}</camunda:outputParameter>
          <camunda:outputParameter name="tenant">
            <camunda:map>
              <camunda:entry key="admin">${initial_admin}</camunda:entry>
              <camunda:entry key="id" />
              <camunda:entry key="key" />
              <camunda:entry key="name" />
              <camunda:entry key="user_ids">${initial_user_ids}</camunda:entry>
            </camunda:map>
          </camunda:outputParameter>
        </camunda:inputOutput>
      </bpmn2:extensionElements>
      <bpmn2:incoming>Flow_1a8vxf0</bpmn2:incoming>
      <bpmn2:outgoing>Flow_19ygg1t</bpmn2:outgoing>
    </bpmn2:task>
    <bpmn2:serviceTask id="Activity_0f2fwzp" name="Save tenant as data entity" camunda:delegateExpression="${dataEntity.save(&#39;tenant&#39;, &#39;tenant&#39;)}">
      <bpmn2:extensionElements>
        <camunda:inputOutput />
      </bpmn2:extensionElements>
      <bpmn2:incoming>Flow_0h2salf</bpmn2:incoming>
      <bpmn2:outgoing>Flow_0nerrg9</bpmn2:outgoing>
    </bpmn2:serviceTask>
    <bpmn2:task id="Activity_12c4494" name="Create keycloak_admin">
      <bpmn2:extensionElements>
        <camunda:inputOutput>
          <camunda:inputParameter name="keycloak_admin_password">
            <camunda:script scriptFormat="groovy" resource="create-password.groovy" />
          </camunda:inputParameter>
          <camunda:outputParameter name="keycloak_admin">
            <camunda:map>
              <camunda:entry key="password">${keycloak_admin_password}</camunda:entry>
              <camunda:entry key="username">${tenant.key}-realm-admin</camunda:entry>
            </camunda:map>
          </camunda:outputParameter>
        </camunda:inputOutput>
      </bpmn2:extensionElements>
      <bpmn2:incoming>Flow_0nerrg9</bpmn2:incoming>
      <bpmn2:outgoing>Flow_01p8umx</bpmn2:outgoing>
    </bpmn2:task>
    <bpmn2:callActivity id="Activity_04268hv" name="sma-mgmt-act pmci-tenant-create" calledElement="smardigo-management-action">
      <bpmn2:extensionElements>
        <camunda:in businessKey="#{execution.processBusinessKey}" />
        <camunda:in sourceExpression="pmci-tenant-create" target="smardigoManagementAction" />
        <camunda:in sourceExpression="Realm/Clients erstellen" target="comment" />
        <camunda:inputOutput>
          <camunda:inputParameter name="data">
            <camunda:map>
              <camunda:entry key="admin">${keycloak_admin}</camunda:entry>
            </camunda:map>
          </camunda:inputParameter>
        </camunda:inputOutput>
        <camunda:in variables="all" />
      </bpmn2:extensionElements>
      <bpmn2:incoming>Flow_01p8umx</bpmn2:incoming>
      <bpmn2:outgoing>Flow_19apghu</bpmn2:outgoing>
    </bpmn2:callActivity>
    <bpmn2:userTask id="Activity_1xhfee5" name="Edit tenant" camunda:candidateGroups="user">
      <bpmn2:extensionElements>
        <camunda:properties>
          <camunda:property name="sort_order" value="1" />
        </camunda:properties>
      </bpmn2:extensionElements>
      <bpmn2:incoming>Flow_1k4egtq</bpmn2:incoming>
      <bpmn2:outgoing>Flow_080k63h</bpmn2:outgoing>
    </bpmn2:userTask>
    <bpmn2:exclusiveGateway id="ExclusiveGateway_17rfq4o">
      <bpmn2:incoming>Flow_080k63h</bpmn2:incoming>
      <bpmn2:outgoing>Flow_1itjvyi</bpmn2:outgoing>
      <bpmn2:outgoing>Flow_0jqgye3</bpmn2:outgoing>
    </bpmn2:exclusiveGateway>
    <bpmn2:sequenceFlow id="Flow_1k4egtq" sourceRef="Gateway_0y8xknd" targetRef="Activity_1xhfee5" />
    <bpmn2:parallelGateway id="Gateway_0y8xknd">
      <bpmn2:incoming>Flow_0oc7f69</bpmn2:incoming>
      <bpmn2:outgoing>Flow_1k4egtq</bpmn2:outgoing>
      <bpmn2:outgoing>Flow_0yhft28</bpmn2:outgoing>
    </bpmn2:parallelGateway>
    <bpmn2:callActivity id="Activity_1lmz6xw" name="Simulation" calledElement="simulation">
      <bpmn2:extensionElements>
        <camunda:in businessKey="#{execution.processBusinessKey}" />
        <camunda:in variables="all" />
        <camunda:inputOutput />
        <camunda:in source="simulation" target="simulation" />
        <camunda:properties>
          <camunda:property name="sort_order" value="2" />
        </camunda:properties>
      </bpmn2:extensionElements>
      <bpmn2:incoming>Flow_0yhft28</bpmn2:incoming>
      <bpmn2:outgoing>Flow_02ixndu</bpmn2:outgoing>
    </bpmn2:callActivity>
    <bpmn2:sequenceFlow id="Flow_0yhft28" sourceRef="Gateway_0y8xknd" targetRef="Activity_1lmz6xw" />
    <bpmn2:sequenceFlow id="Flow_02ixndu" sourceRef="Activity_1lmz6xw" targetRef="Event_1x43j9q" />
    <bpmn2:endEvent id="Event_1x43j9q">
      <bpmn2:incoming>Flow_02ixndu</bpmn2:incoming>
      <bpmn2:incoming>Flow_0j3iasf</bpmn2:incoming>
    </bpmn2:endEvent>
    <bpmn2:sequenceFlow id="Flow_0j3iasf" sourceRef="Event_0asnmja" targetRef="Event_1x43j9q" />
    <bpmn2:boundaryEvent id="Event_0asnmja" attachedToRef="Activity_1lmz6xw">
      <bpmn2:outgoing>Flow_0j3iasf</bpmn2:outgoing>
      <bpmn2:signalEventDefinition id="SignalEventDefinition_10ifw8y" signalRef="Signal_2hupo4b" />
    </bpmn2:boundaryEvent>
    <bpmn2:intermediateThrowEvent id="Event_0gz9dof" name="&#34;is being created&#34; (100)" camunda:asyncAfter="true">
      <bpmn2:extensionElements>
        <camunda:inputOutput>
          <camunda:outputParameter name="vorgang_status">${100}</camunda:outputParameter>
          <camunda:outputParameter name="vorgang_status_text">is being created</camunda:outputParameter>
        </camunda:inputOutput>
      </bpmn2:extensionElements>
      <bpmn2:incoming>Flow_0jqgye3</bpmn2:incoming>
      <bpmn2:outgoing>Flow_0h2salf</bpmn2:outgoing>
      <bpmn2:signalEventDefinition id="SignalEventDefinition_0srqtce" signalRef="Signal_2hupo4b" />
    </bpmn2:intermediateThrowEvent>
    <bpmn2:intermediateThrowEvent id="Event_1l1qtec" name="&#34;canceled&#34; (400)" camunda:asyncAfter="true">
      <bpmn2:extensionElements>
        <camunda:inputOutput>
          <camunda:outputParameter name="vorgang_status">${400}</camunda:outputParameter>
          <camunda:outputParameter name="vorgang_status_text">canceled</camunda:outputParameter>
        </camunda:inputOutput>
      </bpmn2:extensionElements>
      <bpmn2:incoming>Flow_1itjvyi</bpmn2:incoming>
      <bpmn2:outgoing>Flow_0ufs5lg</bpmn2:outgoing>
      <bpmn2:signalEventDefinition id="SignalEventDefinition_0r7lstl" signalRef="Signal_2hupo4b" />
    </bpmn2:intermediateThrowEvent>
    <bpmn2:intermediateThrowEvent id="Event_1mq528l" name="&#34;created&#34; (200)" camunda:asyncAfter="true">
      <bpmn2:extensionElements>
        <camunda:inputOutput>
          <camunda:outputParameter name="vorgang_status">${200}</camunda:outputParameter>
          <camunda:outputParameter name="vorgang_status_text">created</camunda:outputParameter>
        </camunda:inputOutput>
      </bpmn2:extensionElements>
      <bpmn2:incoming>Flow_08j9m56</bpmn2:incoming>
      <bpmn2:outgoing>Flow_03qvqdv</bpmn2:outgoing>
    </bpmn2:intermediateThrowEvent>
    <bpmn2:callActivity id="Activity_0wo4c94" name="sma-mgmt-mail  tenant-created" calledElement="smardigo-management-mail">
      <bpmn2:extensionElements>
        <camunda:in businessKey="#{execution.processBusinessKey}" />
        <camunda:in variables="all" />
        <camunda:inputOutput>
          <camunda:inputParameter name="to">${tenant.admin.email}</camunda:inputParameter>
          <camunda:inputParameter name="toUsers" />
          <camunda:inputParameter name="toGroups" />
          <camunda:inputParameter name="ccUsers">${creation_user_id}</camunda:inputParameter>
          <camunda:inputParameter name="subject">Tenant angelegt</camunda:inputParameter>
          <camunda:inputParameter name="messageBody">template(tenant-created)</camunda:inputParameter>
        </camunda:inputOutput>
      </bpmn2:extensionElements>
      <bpmn2:incoming>Flow_03qvqdv</bpmn2:incoming>
      <bpmn2:outgoing>Flow_1cgenrw</bpmn2:outgoing>
    </bpmn2:callActivity>
    <bpmn2:intermediateThrowEvent id="Event_0ood1q0" name="&#34;creation completed&#34; (300)" camunda:asyncAfter="true">
      <bpmn2:extensionElements>
        <camunda:inputOutput>
          <camunda:outputParameter name="vorgang_status">${300}</camunda:outputParameter>
          <camunda:outputParameter name="vorgang_status_text">creation completed</camunda:outputParameter>
        </camunda:inputOutput>
      </bpmn2:extensionElements>
      <bpmn2:incoming>Flow_1cgenrw</bpmn2:incoming>
      <bpmn2:outgoing>Flow_06m12ue</bpmn2:outgoing>
    </bpmn2:intermediateThrowEvent>
    <bpmn2:exclusiveGateway id="Gateway_1rke7se">
      <bpmn2:incoming>Flow_0ufs5lg</bpmn2:incoming>
      <bpmn2:incoming>Flow_06m12ue</bpmn2:incoming>
      <bpmn2:outgoing>Flow_1dzhr2w</bpmn2:outgoing>
    </bpmn2:exclusiveGateway>
    <bpmn2:endEvent id="Event_1kj6tdq">
      <bpmn2:incoming>Flow_1dzhr2w</bpmn2:incoming>
      <bpmn2:terminateEventDefinition id="TerminateEventDefinition_08fugdj" />
    </bpmn2:endEvent>
    <bpmn2:callActivity id="Activity_0kokem5" name="sma-mgmt-act pmci-tenant-sync" calledElement="smardigo-management-action">
      <bpmn2:extensionElements>
        <camunda:in businessKey="#{execution.processBusinessKey}" />
        <camunda:in sourceExpression="pmci-tenant-sync" target="smardigoManagementAction" />
        <camunda:in sourceExpression="Realm/Clients erstellen" target="comment" />
        <camunda:inputOutput>
          <camunda:inputParameter name="data">
            <camunda:map>
              <camunda:entry key="admin">${keycloak_admin}</camunda:entry>
            </camunda:map>
          </camunda:inputParameter>
        </camunda:inputOutput>
        <camunda:in variables="all" />
      </bpmn2:extensionElements>
      <bpmn2:incoming>Flow_19apghu</bpmn2:incoming>
      <bpmn2:outgoing>Flow_08j9m56</bpmn2:outgoing>
    </bpmn2:callActivity>
    <bpmn2:sequenceFlow id="Flow_08j9m56" sourceRef="Activity_0kokem5" targetRef="Event_1mq528l" />
    <bpmn2:subProcess id="Activity_0phplbf" triggeredByEvent="true">
      <bpmn2:startEvent id="Event_077oby2">
        <bpmn2:outgoing>Flow_0vpp8s2</bpmn2:outgoing>
        <bpmn2:errorEventDefinition id="ErrorEventDefinition_1jhomth" camunda:errorCodeVariable="error_code" camunda:errorMessageVariable="error_message" />
      </bpmn2:startEvent>
      <bpmn2:userTask id="Activity_163fne9" name="Fehler" camunda:formKey="error-dialog" camunda:candidateGroups="user">
        <bpmn2:incoming>Flow_01w1452</bpmn2:incoming>
        <bpmn2:outgoing>Flow_00n1r2j</bpmn2:outgoing>
      </bpmn2:userTask>
      <bpmn2:endEvent id="Event_0ogh647">
        <bpmn2:incoming>Flow_00n1r2j</bpmn2:incoming>
        <bpmn2:terminateEventDefinition id="TerminateEventDefinition_1chezhn" />
      </bpmn2:endEvent>
      <bpmn2:sequenceFlow id="Flow_0vpp8s2" sourceRef="Event_077oby2" targetRef="Event_09mu3ct" />
      <bpmn2:intermediateThrowEvent id="Event_09mu3ct" name="&#34;error&#34; (500)" camunda:asyncAfter="true">
        <bpmn2:extensionElements>
          <camunda:inputOutput>
            <camunda:outputParameter name="vorgang_status">${500}</camunda:outputParameter>
            <camunda:outputParameter name="vorgang_status_text">error</camunda:outputParameter>
          </camunda:inputOutput>
        </bpmn2:extensionElements>
        <bpmn2:incoming>Flow_0vpp8s2</bpmn2:incoming>
        <bpmn2:outgoing>Flow_01w1452</bpmn2:outgoing>
        <bpmn2:signalEventDefinition id="SignalEventDefinition_0qbdu9f" signalRef="Signal_2hupo4b" />
      </bpmn2:intermediateThrowEvent>
      <bpmn2:sequenceFlow id="Flow_00n1r2j" name="Beenden" sourceRef="Activity_163fne9" targetRef="Event_0ogh647" />
      <bpmn2:sequenceFlow id="Flow_01w1452" sourceRef="Event_09mu3ct" targetRef="Activity_163fne9" />
    </bpmn2:subProcess>
  </bpmn2:process>
  <bpmn2:signal id="Signal_2hupo4b" name="simulation-${execution.getProcessInstanceId()}" />
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_0oahy0i">
      <bpmndi:BPMNShape id="Participant_19lpjee_di" bpmnElement="Participant_19lpjee" isHorizontal="true">
        <dc:Bounds x="80" y="40" width="2370" height="800" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_0wqvypp_di" bpmnElement="Event_0wqvypp">
        <dc:Bounds x="172" y="322" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_1ho1j80_di" bpmnElement="Event_1ho1j80">
        <dc:Bounds x="412" y="322" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="408" y="303" width="51" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_028j3gv_di" bpmnElement="Activity_1osc1gs">
        <dc:Bounds x="260" y="300" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_03z8o0e" bpmnElement="Activity_0f2fwzp">
        <dc:Bounds x="1000" y="160" width="100" height="80" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_0lgsgy8_di" bpmnElement="Activity_12c4494">
        <dc:Bounds x="1170" y="160" width="100" height="80" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_1scb708" bpmnElement="Activity_04268hv" bioc:stroke="rgb(67, 160, 71)" bioc:fill="rgb(200, 230, 201)">
        <dc:Bounds x="1340" y="160" width="100" height="80" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_154ggtp_di" bpmnElement="Activity_1xhfee5">
        <dc:Bounds x="630" y="300" width="100" height="80" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="ExclusiveGateway_17rfq4o_di" bpmnElement="ExclusiveGateway_17rfq4o" isMarkerVisible="true">
        <dc:Bounds x="785" y="315" width="50" height="50" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Gateway_08pcaf6_di" bpmnElement="Gateway_0y8xknd">
        <dc:Bounds x="515" y="315" width="50" height="50" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_0648isi" bpmnElement="Activity_1lmz6xw" bioc:stroke="rgb(67, 160, 71)" bioc:fill="rgb(200, 230, 201)">
        <dc:Bounds x="490" y="420" width="100" height="80" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_1x43j9q_di" bpmnElement="Event_1x43j9q">
        <dc:Bounds x="610" y="532" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_0dfjjhb_di" bpmnElement="Event_0gz9dof">
        <dc:Bounds x="902" y="182" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="877" y="146" width="86" height="27" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_0ff44so_di" bpmnElement="Event_1l1qtec">
        <dc:Bounds x="902" y="462" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="888" y="433" width="81" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_03m4l55" bpmnElement="Event_1mq528l">
        <dc:Bounds x="1692" y="182" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1673" y="163" width="74" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_0f6z7ac_di" bpmnElement="Activity_0wo4c94" bioc:stroke="rgb(67, 160, 71)" bioc:fill="rgb(200, 230, 201)">
        <dc:Bounds x="1790" y="160" width="100" height="80" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_1kyfg3n" bpmnElement="Event_0ood1q0">
        <dc:Bounds x="1952" y="182" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1928" y="146" width="84" height="27" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Gateway_1rke7se_di" bpmnElement="Gateway_1rke7se" isMarkerVisible="true">
        <dc:Bounds x="2055" y="315" width="50" height="50" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_1mhydzj_di" bpmnElement="Event_1kj6tdq">
        <dc:Bounds x="2152" y="322" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_0eeq9dd" bpmnElement="Activity_0kokem5" bioc:stroke="rgb(67, 160, 71)" bioc:fill="rgb(200, 230, 201)">
        <dc:Bounds x="1510" y="160" width="100" height="80" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_1cxc616_di" bpmnElement="Activity_0phplbf" isExpanded="true">
        <dc:Bounds x="130" y="620" width="540" height="200" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_0fkymfq_di" bpmnElement="Event_077oby2">
        <dc:Bounds x="170" y="702" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_1um1umg" bpmnElement="Activity_163fne9">
        <dc:Bounds x="380" y="680" width="100" height="80" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_0cza6t9_di" bpmnElement="Event_0ogh647">
        <dc:Bounds x="572" y="702" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_0h1ndd7" bpmnElement="Event_09mu3ct">
        <dc:Bounds x="272" y="702" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="260" y="683" width="60" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="Flow_0vpp8s2_di" bpmnElement="Flow_0vpp8s2">
        <di:waypoint x="206" y="720" />
        <di:waypoint x="272" y="720" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_01w1452_di" bpmnElement="Flow_01w1452">
        <di:waypoint x="308" y="720" />
        <di:waypoint x="380" y="720" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_00n1r2j_di" bpmnElement="Flow_00n1r2j">
        <di:waypoint x="480" y="720" />
        <di:waypoint x="572" y="720" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="504" y="702" width="45" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="Event_0twmkxv_di" bpmnElement="Event_0asnmja">
        <dc:Bounds x="572" y="482" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="Flow_03qvqdv_di" bpmnElement="Flow_03qvqdv">
        <di:waypoint x="1728" y="200" />
        <di:waypoint x="1790" y="200" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_19apghu_di" bpmnElement="Flow_19apghu">
        <di:waypoint x="1440" y="200" />
        <di:waypoint x="1510" y="200" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1dzhr2w_di" bpmnElement="Flow_1dzhr2w">
        <di:waypoint x="2105" y="340" />
        <di:waypoint x="2152" y="340" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0ufs5lg_di" bpmnElement="Flow_0ufs5lg">
        <di:waypoint x="938" y="480" />
        <di:waypoint x="2080" y="480" />
        <di:waypoint x="2080" y="365" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_06m12ue_di" bpmnElement="Flow_06m12ue">
        <di:waypoint x="1988" y="200" />
        <di:waypoint x="2080" y="200" />
        <di:waypoint x="2080" y="315" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1cgenrw_di" bpmnElement="Flow_1cgenrw">
        <di:waypoint x="1890" y="200" />
        <di:waypoint x="1952" y="200" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_01p8umx_di" bpmnElement="Flow_01p8umx">
        <di:waypoint x="1270" y="200" />
        <di:waypoint x="1340" y="200" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0nerrg9_di" bpmnElement="Flow_0nerrg9">
        <di:waypoint x="1100" y="200" />
        <di:waypoint x="1170" y="200" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0h2salf_di" bpmnElement="Flow_0h2salf">
        <di:waypoint x="938" y="200" />
        <di:waypoint x="1000" y="200" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0jqgye3_di" bpmnElement="Flow_0jqgye3">
        <di:waypoint x="810" y="315" />
        <di:waypoint x="810" y="200" />
        <di:waypoint x="902" y="200" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="819" y="173" width="41" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1itjvyi_di" bpmnElement="Flow_1itjvyi">
        <di:waypoint x="810" y="365" />
        <di:waypoint x="810" y="480" />
        <di:waypoint x="902" y="480" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="823" y="453" width="54" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_080k63h_di" bpmnElement="Flow_080k63h">
        <di:waypoint x="730" y="340" />
        <di:waypoint x="785" y="340" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0oc7f69_di" bpmnElement="Flow_0oc7f69">
        <di:waypoint x="448" y="340" />
        <di:waypoint x="515" y="340" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1a8vxf0_di" bpmnElement="Flow_1a8vxf0">
        <di:waypoint x="208" y="340" />
        <di:waypoint x="260" y="340" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_19ygg1t_di" bpmnElement="Flow_19ygg1t">
        <di:waypoint x="360" y="340" />
        <di:waypoint x="412" y="340" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1k4egtq_di" bpmnElement="Flow_1k4egtq">
        <di:waypoint x="565" y="340" />
        <di:waypoint x="630" y="340" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0yhft28_di" bpmnElement="Flow_0yhft28">
        <di:waypoint x="540" y="365" />
        <di:waypoint x="540" y="420" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_02ixndu_di" bpmnElement="Flow_02ixndu">
        <di:waypoint x="540" y="500" />
        <di:waypoint x="540" y="550" />
        <di:waypoint x="610" y="550" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0j3iasf_di" bpmnElement="Flow_0j3iasf">
        <di:waypoint x="608" y="500" />
        <di:waypoint x="628" y="500" />
        <di:waypoint x="628" y="532" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_08j9m56_di" bpmnElement="Flow_08j9m56">
        <di:waypoint x="1610" y="200" />
        <di:waypoint x="1692" y="200" />
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn2:definitions>
