<?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_to-be" targetNamespace="https://example.org/fictional-municipal-housing">
  <bpmn:collaboration id="Collaboration">
    <bpmn:participant id="Participant" name="Fictional housing service" processRef="Process" />
  </bpmn:collaboration>
  <bpmn:process id="Process" name="TO-BE | Guided entry and accountable decisions" isExecutable="false">
    <bpmn:documentation>Independent fictional portfolio. Public-review model refined from the original draft. Intake lane includes staff-assisted applicant interaction. Service tasks are proposed controls. Not production executable. No City of Toronto affiliation. Timer duration is a fictional illustrative review threshold, not an approved SLA.</bpmn:documentation>
    <bpmn:laneSet id="Lanes">
      <bpmn:lane id="Lane_0" name="Intake / assisted">
        <bpmn:flowNodeRef>start</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>guided</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>validate</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>ready</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>assist</bpmn:flowNodeRef>
      </bpmn:lane>
      <bpmn:lane id="Lane_1" name="Case work / workflow">
        <bpmn:flowNodeRef>register</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>route</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>review</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>timer</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>exception</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>decision</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>publish</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>end</bpmn:flowNodeRef>
      </bpmn:lane>
      <bpmn:lane id="Lane_2" name="Supervisor / alerts">
        <bpmn:flowNodeRef>alert</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>alertend</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>supervisor</bpmn:flowNodeRef>
      </bpmn:lane>
    </bpmn:laneSet>
    <bpmn:startEvent id="start" name="Begin intake">
      <bpmn:outgoing>Flow_0</bpmn:outgoing>
    </bpmn:startEvent>
    <bpmn:userTask id="guided" name="Guided digital or staff-assisted intake">
      <bpmn:incoming>Flow_0</bpmn:incoming>
      <bpmn:incoming>Flow_4</bpmn:incoming>
      <bpmn:outgoing>Flow_1</bpmn:outgoing>
    </bpmn:userTask>
    <bpmn:serviceTask id="validate" name="Validate fields and conditional evidence">
      <bpmn:incoming>Flow_1</bpmn:incoming>
      <bpmn:outgoing>Flow_2</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:exclusiveGateway id="ready" name="Ready to submit?">
      <bpmn:incoming>Flow_2</bpmn:incoming>
      <bpmn:outgoing>Flow_3</bpmn:outgoing>
      <bpmn:outgoing>Flow_5</bpmn:outgoing>
    </bpmn:exclusiveGateway>
    <bpmn:userTask id="assist" name="Explain gaps and offer assistance">
      <bpmn:incoming>Flow_3</bpmn:incoming>
      <bpmn:outgoing>Flow_4</bpmn:outgoing>
    </bpmn:userTask>
    <bpmn:serviceTask id="register" name="Create case once and acknowledge">
      <bpmn:incoming>Flow_5</bpmn:incoming>
      <bpmn:outgoing>Flow_6</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:serviceTask id="route" name="Apply governed routing rules">
      <bpmn:incoming>Flow_6</bpmn:incoming>
      <bpmn:outgoing>Flow_7</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:userTask id="review" name="Case worker reviews evidence">
      <bpmn:incoming>Flow_7</bpmn:incoming>
      <bpmn:outgoing>Flow_8</bpmn:outgoing>
    </bpmn:userTask>
    <bpmn:boundaryEvent id="timer" name="Review threshold" attachedToRef="review" cancelActivity="false">
      <bpmn:outgoing>Flow_14</bpmn:outgoing>
      <bpmn:timerEventDefinition id="TimerDefinition">
        <bpmn:timeDuration>P5D</bpmn:timeDuration>
      </bpmn:timerEventDefinition>
    </bpmn:boundaryEvent>
    <bpmn:serviceTask id="alert" name="Alert supervisor; review continues">
      <bpmn:incoming>Flow_14</bpmn:incoming>
      <bpmn:outgoing>Flow_15</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:endEvent id="alertend" name="Alert recorded">
      <bpmn:incoming>Flow_15</bpmn:incoming>
    </bpmn:endEvent>
    <bpmn:exclusiveGateway id="exception" name="Exception?">
      <bpmn:incoming>Flow_8</bpmn:incoming>
      <bpmn:outgoing>Flow_9</bpmn:outgoing>
      <bpmn:outgoing>Flow_10</bpmn:outgoing>
    </bpmn:exclusiveGateway>
    <bpmn:userTask id="supervisor" name="Supervisor resolves exception">
      <bpmn:incoming>Flow_9</bpmn:incoming>
      <bpmn:outgoing>Flow_11</bpmn:outgoing>
    </bpmn:userTask>
    <bpmn:userTask id="decision" name="Record human decision once">
      <bpmn:incoming>Flow_10</bpmn:incoming>
      <bpmn:incoming>Flow_11</bpmn:incoming>
      <bpmn:outgoing>Flow_12</bpmn:outgoing>
    </bpmn:userTask>
    <bpmn:serviceTask id="publish" name="Notify, update safe status and close">
      <bpmn:incoming>Flow_12</bpmn:incoming>
      <bpmn:outgoing>Flow_13</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:endEvent id="end" name="Closed">
      <bpmn:incoming>Flow_13</bpmn:incoming>
    </bpmn:endEvent>
    <bpmn:sequenceFlow id="Flow_0" sourceRef="start" targetRef="guided" name="" />
    <bpmn:sequenceFlow id="Flow_1" sourceRef="guided" targetRef="validate" name="" />
    <bpmn:sequenceFlow id="Flow_2" sourceRef="validate" targetRef="ready" name="" />
    <bpmn:sequenceFlow id="Flow_3" sourceRef="ready" targetRef="assist" name="No" />
    <bpmn:sequenceFlow id="Flow_4" sourceRef="assist" targetRef="guided" name="Correct and retry" />
    <bpmn:sequenceFlow id="Flow_5" sourceRef="ready" targetRef="register" name="Yes" />
    <bpmn:sequenceFlow id="Flow_6" sourceRef="register" targetRef="route" name="" />
    <bpmn:sequenceFlow id="Flow_7" sourceRef="route" targetRef="review" name="" />
    <bpmn:sequenceFlow id="Flow_8" sourceRef="review" targetRef="exception" name="" />
    <bpmn:sequenceFlow id="Flow_9" sourceRef="exception" targetRef="supervisor" name="Yes" />
    <bpmn:sequenceFlow id="Flow_10" sourceRef="exception" targetRef="decision" name="No" />
    <bpmn:sequenceFlow id="Flow_11" sourceRef="supervisor" targetRef="decision" name="" />
    <bpmn:sequenceFlow id="Flow_12" sourceRef="decision" targetRef="publish" name="" />
    <bpmn:sequenceFlow id="Flow_13" sourceRef="publish" targetRef="end" name="" />
    <bpmn:sequenceFlow id="Flow_14" sourceRef="timer" targetRef="alert" name="" />
    <bpmn:sequenceFlow id="Flow_15" sourceRef="alert" targetRef="alertend" name="" />
  </bpmn:process>
  <bpmndi:BPMNDiagram id="Diagram">
    <bpmndi:BPMNPlane id="Plane" bpmnElement="Collaboration">
      <bpmndi:BPMNShape id="Shape_Participant" bpmnElement="Participant" isHorizontal="true">
        <dc:Bounds x="20" y="100" width="2560" height="600" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Shape_Lane_0" bpmnElement="Lane_0" isHorizontal="true">
        <dc:Bounds x="50" y="100" width="2530" height="200" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Shape_Lane_1" bpmnElement="Lane_1" isHorizontal="true">
        <dc:Bounds x="50" y="300" width="2530" height="200" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Shape_Lane_2" bpmnElement="Lane_2" isHorizontal="true">
        <dc:Bounds x="50" y="500" width="2530" height="200" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="Edge_0" bpmnElement="Flow_0">
        <di:waypoint x="136" y="208" />
        <di:waypoint x="160" y="208" />
        <di:waypoint x="160" y="205" />
        <di:waypoint x="190" y="205" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Edge_1" bpmnElement="Flow_1">
        <di:waypoint x="360" y="205" />
        <di:waypoint x="410" y="205" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Edge_2" bpmnElement="Flow_2">
        <di:waypoint x="580" y="205" />
        <di:waypoint x="640" y="205" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Edge_3" bpmnElement="Flow_3">
        <di:waypoint x="690" y="205" />
        <di:waypoint x="800" y="205" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="670.0" y="176.0" width="150" height="34" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Edge_4" bpmnElement="Flow_4">
        <di:waypoint x="885" y="170" />
        <di:waypoint x="885" y="132" />
        <di:waypoint x="275" y="132" />
        <di:waypoint x="275" y="170" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="505.0" y="103.0" width="150" height="34" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Edge_5" bpmnElement="Flow_5">
        <di:waypoint x="665" y="230" />
        <di:waypoint x="665" y="405" />
        <di:waypoint x="800" y="405" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="622.0" y="288.5" width="150" height="34" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Edge_6" bpmnElement="Flow_6">
        <di:waypoint x="970" y="405" />
        <di:waypoint x="1030" y="405" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Edge_7" bpmnElement="Flow_7">
        <di:waypoint x="1200" y="405" />
        <di:waypoint x="1280" y="405" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Edge_8" bpmnElement="Flow_8">
        <di:waypoint x="1450" y="405" />
        <di:waypoint x="1530" y="405" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Edge_9" bpmnElement="Flow_9">
        <di:waypoint x="1555" y="430" />
        <di:waypoint x="1610" y="430" />
        <di:waypoint x="1610" y="615" />
        <di:waypoint x="1680" y="615" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1567.0" y="493.5" width="150" height="34" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Edge_10" bpmnElement="Flow_10">
        <di:waypoint x="1580" y="405" />
        <di:waypoint x="1800" y="405" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1615.0" y="376.0" width="150" height="34" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Edge_11" bpmnElement="Flow_11">
        <di:waypoint x="1850" y="615" />
        <di:waypoint x="1885" y="615" />
        <di:waypoint x="1885" y="440" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Edge_12" bpmnElement="Flow_12">
        <di:waypoint x="1970" y="405" />
        <di:waypoint x="2100" y="405" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Edge_13" bpmnElement="Flow_13">
        <di:waypoint x="2270" y="405" />
        <di:waypoint x="2400" y="405" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Edge_14" bpmnElement="Flow_14">
        <di:waypoint x="1348" y="458" />
        <di:waypoint x="1348" y="580" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Edge_15" bpmnElement="Flow_15">
        <di:waypoint x="1450" y="615" />
        <di:waypoint x="1500" y="615" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="Shape_start" bpmnElement="start">
        <dc:Bounds x="100" y="190" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="28.0" y="233" width="180" height="50" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Shape_guided" bpmnElement="guided">
        <dc:Bounds x="190" y="170" width="170" height="70" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Shape_validate" bpmnElement="validate">
        <dc:Bounds x="410" y="170" width="170" height="70" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Shape_ready" bpmnElement="ready" isMarkerVisible="true">
        <dc:Bounds x="640" y="180" width="50" height="50" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="575.0" y="237" width="180" height="50" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Shape_assist" bpmnElement="assist">
        <dc:Bounds x="800" y="170" width="170" height="70" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Shape_register" bpmnElement="register">
        <dc:Bounds x="800" y="370" width="170" height="70" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Shape_route" bpmnElement="route">
        <dc:Bounds x="1030" y="370" width="170" height="70" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Shape_review" bpmnElement="review">
        <dc:Bounds x="1280" y="370" width="170" height="70" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Shape_timer" bpmnElement="timer">
        <dc:Bounds x="1330" y="422" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1258.0" y="465" width="180" height="50" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Shape_alert" bpmnElement="alert">
        <dc:Bounds x="1280" y="580" width="170" height="70" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Shape_alertend" bpmnElement="alertend">
        <dc:Bounds x="1500" y="596" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1428.0" y="639" width="180" height="50" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Shape_exception" bpmnElement="exception" isMarkerVisible="true">
        <dc:Bounds x="1530" y="380" width="50" height="50" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1465.0" y="437" width="180" height="50" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Shape_supervisor" bpmnElement="supervisor">
        <dc:Bounds x="1680" y="580" width="170" height="70" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Shape_decision" bpmnElement="decision">
        <dc:Bounds x="1800" y="370" width="170" height="70" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Shape_publish" bpmnElement="publish">
        <dc:Bounds x="2100" y="370" width="170" height="70" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Shape_end" bpmnElement="end">
        <dc:Bounds x="2400" y="386" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="2328.0" y="429" width="180" height="50" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn:definitions>