<?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:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" id="sample-diagram" targetNamespace="http://bpmn.io/schema/bpmn" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd">
  <bpmn2:collaboration id="Collaboration_0w01ago">
    <bpmn2:participant id="Participant_19lpjee" name="Simulation" processRef="simulation" />
  </bpmn2:collaboration>
  <bpmn2:process id="simulation" name="Simulation" isExecutable="true" camunda:candidateStarterGroups="simulation">
    <bpmn2:userTask id="Activity_0gf192q" name="Show dossier" camunda:candidateGroups="simulation">
      <bpmn2:extensionElements>
        <camunda:inputOutput />
      </bpmn2:extensionElements>
      <bpmn2:incoming>Flow_0vi6kx2</bpmn2:incoming>
      <bpmn2:incoming>Flow_0tidyh6</bpmn2:incoming>
      <bpmn2:outgoing>Flow_171zvpv</bpmn2:outgoing>
    </bpmn2:userTask>
    <bpmn2:startEvent id="Event_0f8z8y4">
      <bpmn2:outgoing>Flow_0vi6kx2</bpmn2:outgoing>
    </bpmn2:startEvent>
    <bpmn2:sequenceFlow id="Flow_0vi6kx2" sourceRef="Event_0f8z8y4" targetRef="Activity_0gf192q" />
    <bpmn2:sequenceFlow id="Flow_171zvpv" name="Simulation" sourceRef="Activity_0gf192q" targetRef="Activity_0oggwnn">
      <bpmn2:extensionElements>
        <camunda:properties>
          <camunda:property name="variant" value="secondary" />
          <camunda:property name="validate_form" value="false" />
        </camunda:properties>
      </bpmn2:extensionElements>
    </bpmn2:sequenceFlow>
    <bpmn2:serviceTask id="Activity_0oggwnn" name="Toggle simulation flag" camunda:expression="${processes.byId(contextScopeId, contextProcessId).setVariable(&#39;simulation&#39;, simulation)}">
      <bpmn2:extensionElements>
        <camunda:inputOutput>
          <camunda:inputParameter name="simulation">${!simulation}</camunda:inputParameter>
          <camunda:outputParameter name="simulation">${simulation}</camunda:outputParameter>
        </camunda:inputOutput>
        <camunda:properties>
          <camunda:property name="variant" value="variant" />
        </camunda:properties>
      </bpmn2:extensionElements>
      <bpmn2:incoming>Flow_171zvpv</bpmn2:incoming>
      <bpmn2:outgoing>Flow_0tidyh6</bpmn2:outgoing>
    </bpmn2:serviceTask>
    <bpmn2:sequenceFlow id="Flow_0tidyh6" sourceRef="Activity_0oggwnn" targetRef="Activity_0gf192q" />
    <bpmn2:textAnnotation id="TextAnnotation_12pks2c">
      <bpmn2:text>Testen des Prozessmodells</bpmn2:text>
    </bpmn2:textAnnotation>
    <bpmn2:association id="Association_1o4tl5f" sourceRef="Activity_0gf192q" targetRef="TextAnnotation_12pks2c" />
  </bpmn2:process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_0w01ago">
      <bpmndi:BPMNShape id="Participant_19lpjee_di" bpmnElement="Participant_19lpjee" isHorizontal="true">
        <dc:Bounds x="810" y="400" width="710" height="550" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_1qipxd9" bpmnElement="Activity_0gf192q">
        <dc:Bounds x="1044" y="660" width="100" height="80" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_0q98gfc" bpmnElement="Event_0f8z8y4">
        <dc:Bounds x="892" y="682" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_1xj1pm2_di" bpmnElement="Activity_0oggwnn">
        <dc:Bounds x="1330" y="660" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_1gxsbk5" bpmnElement="TextAnnotation_12pks2c">
        <dc:Bounds x="850" y="420" width="200" height="30" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_1wz2yx8" bpmnElement="Flow_0vi6kx2">
        <di:waypoint x="928" y="700" />
        <di:waypoint x="1044" y="700" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_0lkdh2i" bpmnElement="Flow_171zvpv">
        <di:waypoint x="1144" y="700" />
        <di:waypoint x="1330" y="700" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1204" y="678" width="52" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0tidyh6_di" bpmnElement="Flow_0tidyh6">
        <di:waypoint x="1380" y="740" />
        <di:waypoint x="1380" y="790" />
        <di:waypoint x="1094" y="790" />
        <di:waypoint x="1094" y="740" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_1flbv52" bpmnElement="Association_1o4tl5f">
        <di:waypoint x="1044" y="700" />
        <di:waypoint x="961" y="450" />
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn2:definitions>
