<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definition_39f8d758-cc48-473d-bca0-e0da78597f1b" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Atlas Studio" exporterVersion="1">
  <bpmn:collaboration id="Collaboration_1cidyxu" name="">
    <bpmn:participant id="Participant_0px403d" name="User Task Loop Sample" processRef="Process_b15e49e3-55a1-48bd-b1e6-5eec4f864e85" />
  </bpmn:collaboration>
  <bpmn:process id="Process_b15e49e3-55a1-48bd-b1e6-5eec4f864e85" name="User Task Loop Sample" isExecutable="true">
    <bpmn:laneSet>
      <bpmn:lane id="Lane_1xzf0d3" name="Lane">
        <bpmn:flowNodeRef>StartEvent_1</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Gateway_03sb0b3</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Gateway_0fdulmb</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Event_1hih572</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Activity_1nhem8m</bpmn:flowNodeRef>
      </bpmn:lane>
    </bpmn:laneSet>
    <bpmn:startEvent id="StartEvent_1" name="Start">
      <bpmn:outgoing>Flow_003n4pg</bpmn:outgoing>
    </bpmn:startEvent>
    <bpmn:exclusiveGateway id="Gateway_03sb0b3">
      <bpmn:incoming>Flow_003n4pg</bpmn:incoming>
      <bpmn:incoming>Flow_14ptth1</bpmn:incoming>
      <bpmn:outgoing>Flow_0vcyubh</bpmn:outgoing>
    </bpmn:exclusiveGateway>
    <bpmn:sequenceFlow id="Flow_003n4pg" sourceRef="StartEvent_1" targetRef="Gateway_03sb0b3" />
    <bpmn:sequenceFlow id="Flow_0vcyubh" sourceRef="Gateway_03sb0b3" targetRef="Activity_1nhem8m" />
    <bpmn:exclusiveGateway id="Gateway_0fdulmb" default="Flow_0f06emm">
      <bpmn:incoming>Flow_0422u73</bpmn:incoming>
      <bpmn:outgoing>Flow_0f06emm</bpmn:outgoing>
      <bpmn:outgoing>Flow_14ptth1</bpmn:outgoing>
    </bpmn:exclusiveGateway>
    <bpmn:sequenceFlow id="Flow_0422u73" sourceRef="Activity_1nhem8m" targetRef="Gateway_0fdulmb" />
    <bpmn:endEvent id="Event_1hih572">
      <bpmn:incoming>Flow_0f06emm</bpmn:incoming>
    </bpmn:endEvent>
    <bpmn:sequenceFlow id="Flow_0f06emm" sourceRef="Gateway_0fdulmb" targetRef="Event_1hih572" />
    <bpmn:sequenceFlow id="Flow_14ptth1" sourceRef="Gateway_0fdulmb" targetRef="Gateway_03sb0b3">
      <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">token.current.continue &gt; 0;</bpmn:conditionExpression>
    </bpmn:sequenceFlow>
    <bpmn:userTask id="Activity_1nhem8m" name="Continue?">
      <bpmn:extensionElements>
        <camunda:formData>
          <camunda:formField id="continue" label="Continue?" type="boolean" defaultValue="0" />
        </camunda:formData>
      </bpmn:extensionElements>
      <bpmn:incoming>Flow_0vcyubh</bpmn:incoming>
      <bpmn:outgoing>Flow_0422u73</bpmn:outgoing>
    </bpmn:userTask>
  </bpmn:process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_1cidyxu">
      <bpmndi:BPMNShape id="Participant_0px403d_di" bpmnElement="Participant_0px403d" isHorizontal="true">
        <dc:Bounds x="5" y="4" width="885" height="346" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Lane_1xzf0d3_di" bpmnElement="Lane_1xzf0d3" isHorizontal="true">
        <dc:Bounds x="35" y="4" width="855" height="346" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="Flow_14ptth1_di" bpmnElement="Flow_14ptth1">
        <di:waypoint x="580" y="145" />
        <di:waypoint x="580" y="60" />
        <di:waypoint x="240" y="60" />
        <di:waypoint x="240" y="145" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0f06emm_di" bpmnElement="Flow_0f06emm">
        <di:waypoint x="605" y="170" />
        <di:waypoint x="742" y="170" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0422u73_di" bpmnElement="Flow_0422u73">
        <di:waypoint x="470" y="170" />
        <di:waypoint x="555" y="170" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0vcyubh_di" bpmnElement="Flow_0vcyubh">
        <di:waypoint x="265" y="170" />
        <di:waypoint x="370" y="170" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_003n4pg_di" bpmnElement="Flow_003n4pg">
        <di:waypoint x="128" y="170" />
        <di:waypoint x="215" y="170" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="StartEvent_1_di" bpmnElement="StartEvent_1">
        <dc:Bounds x="92" y="152" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="98" y="195" width="24" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Gateway_03sb0b3_di" bpmnElement="Gateway_03sb0b3" isMarkerVisible="true">
        <dc:Bounds x="215" y="145" width="50" height="50" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Gateway_0fdulmb_di" bpmnElement="Gateway_0fdulmb" isMarkerVisible="true">
        <dc:Bounds x="555" y="145" width="50" height="50" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_1hih572_di" bpmnElement="Event_1hih572">
        <dc:Bounds x="742" y="152" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_1hehxom_di" bpmnElement="Activity_1nhem8m">
        <dc:Bounds x="370" y="130" width="100" height="80" />
      </bpmndi:BPMNShape>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn:definitions>
