<?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:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn">
  <bpmn:process id="Process_1" isExecutable="false">
    <bpmn:startEvent id="Start_1" name="Start" />
    <bpmn:exclusiveGateway id="Gate_Merge_Work" name="Merge" />
    <bpmn:task id="Task_Work" name="Execute Job" />
    <bpmn:exclusiveGateway id="Gate_Valid" name="Valid?" />
    <bpmn:endEvent id="End_1" name="Success" />
    <bpmn:sequenceFlow id="Flow_1" sourceRef="Start_1" targetRef="Gate_Merge_Work" />
    <bpmn:sequenceFlow id="Flow_To_Work" sourceRef="Gate_Merge_Work" targetRef="Task_Work" />
    <bpmn:sequenceFlow id="Flow_2" sourceRef="Task_Work" targetRef="Gate_Valid" />
    <bpmn:sequenceFlow id="Flow_Pass" sourceRef="Gate_Valid" targetRef="End_1" />
    <bpmn:sequenceFlow id="Flow_Retry" sourceRef="Gate_Valid" targetRef="Gate_Merge_Work" />
  </bpmn:process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1">
      <bpmndi:BPMNShape id="Start_1_di" bpmnElement="Start_1">
        <dc:Bounds x="100" y="122" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="102" y="168" width="28" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Gate_Merge_Work_di" bpmnElement="Gate_Merge_Work">
        <dc:Bounds x="196" y="115" width="50" height="50" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="201" y="95" width="36" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Task_Work_di" bpmnElement="Task_Work">
        <dc:Bounds x="306" y="100" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Gate_Valid_di" bpmnElement="Gate_Valid">
        <dc:Bounds x="466" y="115" width="50" height="50" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="470" y="95" width="38" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="End_1_di" bpmnElement="End_1">
        <dc:Bounds x="576" y="122" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="568" y="168" width="48" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="Flow_To_Work_di" bpmnElement="Flow_To_Work">
        <di:waypoint x="246" y="140" />
        <di:waypoint x="306" y="140" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_Pass_di" bpmnElement="Flow_Pass">
        <di:waypoint x="516" y="140" />
        <di:waypoint x="576" y="140" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_Retry_di" bpmnElement="Flow_Retry">
        <di:waypoint x="491" y="165" />
        <di:waypoint x="491" y="220" />
        <di:waypoint x="221" y="220" />
        <di:waypoint x="221" y="165" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1_di" bpmnElement="Flow_1">
        <di:waypoint x="136" y="140" />
        <di:waypoint x="196" y="140" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_2_di" bpmnElement="Flow_2">
        <di:waypoint x="406" y="140" />
        <di:waypoint x="466" y="140" />
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn:definitions>
