Skip to content

Commit

Permalink
DTSCCI-1527 - Refactored a step further
Browse files Browse the repository at this point in the history
  • Loading branch information
guygrewal77 committed Feb 3, 2025
1 parent 4386d27 commit c44cdbb
Showing 1 changed file with 37 additions and 86 deletions.
123 changes: 37 additions & 86 deletions src/main/resources/camunda/claim_dismissed.bpmn
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,6 @@
<bpmn:incoming>Flow_1n57cdt</bpmn:incoming>
<bpmn:outgoing>Flow_1hce35l</bpmn:outgoing>
</bpmn:callActivity>
<bpmn:serviceTask id="ClaimDismissedNotifyApplicantSolicitor1" name="Notify applicant solicitor 1" camunda:type="external" camunda:topic="processCaseEvent">
<bpmn:extensionElements>
<camunda:inputOutput>
<camunda:inputParameter name="caseEvent">NOTIFY_APPLICANT_SOLICITOR1_FOR_CLAIM_DISMISSED</camunda:inputParameter>
</camunda:inputOutput>
</bpmn:extensionElements>
<bpmn:incoming>Flow_CLAIM_DISMISSED_PAST_CLAIM_NOTIFICATION_DEADLINE</bpmn:incoming>
<bpmn:outgoing>Flow_1gsn98m</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="Flow_1gsn98m" sourceRef="ClaimDismissedNotifyApplicantSolicitor1" targetRef="NotifyRoboticsOnCaseHandedOffline" />
<bpmn:callActivity id="Activity_0emdthr" name="Start Business Process" calledElement="StartBusinessProcess">
<bpmn:extensionElements>
<camunda:in variables="all" />
Expand All @@ -43,43 +33,31 @@
</bpmn:boundaryEvent>
<bpmn:sequenceFlow id="Flow_0yvpi10" sourceRef="Event_1fn0bf1" targetRef="Event_1nsmt51" />
<bpmn:sequenceFlow id="Flow_08myj65" sourceRef="Event_0t2zome" targetRef="Activity_0emdthr" />
<bpmn:serviceTask id="ClaimDismissedNotify1V2Parties" name="Notify 1v2 parties" camunda:type="external" camunda:topic="processCaseEvent">
<bpmn:serviceTask id="ClaimDismissedNotify1V2Parties" name="Notify relevant parties" camunda:type="external" camunda:topic="processCaseEvent">
<bpmn:extensionElements>
<camunda:inputOutput>
<camunda:inputParameter name="caseEvent">NOTIFY_1V2_PARTIES_FOR_CLAIM_DISMISSED</camunda:inputParameter>
</camunda:inputOutput>
</bpmn:extensionElements>
<bpmn:incoming>Flow_CLAIM_DISMISSED_PAST_CLAIM_DISMISSED_DEADLINE</bpmn:incoming>
<bpmn:incoming>Flow_0bca286</bpmn:incoming>
<bpmn:incoming>Flow_0o65a0g</bpmn:incoming>
<bpmn:outgoing>Flow_0urkbiq</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:exclusiveGateway id="Gateway_0kj0hok">
<bpmn:incoming>Flow_1ttjhlz</bpmn:incoming>
<bpmn:incoming>Flow_053lw44</bpmn:incoming>
<bpmn:outgoing>Flow_CLAIM_DISMISSED_PAST_CLAIM_DISMISSED_DEADLINE</bpmn:outgoing>
<bpmn:outgoing>Flow_CLAIM_DISMISSED_PAST_CLAIM_NOTIFICATION_DEADLINE</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_CLAIM_DISMISSED_PAST_CLAIM_DISMISSED_DEADLINE" name="past claim dismissed deadline" sourceRef="Gateway_0kj0hok" targetRef="ClaimDismissedNotify1V2Parties">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">${flowState == "MAIN.CLAIM_DISMISSED_PAST_CLAIM_DISMISSED_DEADLINE"}</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:sequenceFlow id="Flow_CLAIM_DISMISSED_PAST_CLAIM_NOTIFICATION_DEADLINE" name="past claim (or claim details) notification deadline" sourceRef="Gateway_0kj0hok" targetRef="ClaimDismissedNotifyApplicantSolicitor1">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">${flowState == "MAIN.CLAIM_DISMISSED_PAST_CLAIM_NOTIFICATION_DEADLINE" || flowState == "MAIN.CLAIM_DISMISSED_PAST_CLAIM_DETAILS_NOTIFICATION_DEADLINE"}</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:sequenceFlow id="Flow_1ver5zr" sourceRef="Activity_0emdthr" targetRef="Gateway_14yvrwf" />
<bpmn:serviceTask id="NotifyRoboticsOnCaseHandedOffline" name="Notify RPA on case handed offline" camunda:type="external" camunda:topic="processCaseEvent">
<bpmn:extensionElements>
<camunda:inputOutput>
<camunda:inputParameter name="caseEvent">NOTIFY_RPA_ON_CASE_HANDED_OFFLINE</camunda:inputParameter>
</camunda:inputOutput>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1gsn98m</bpmn:incoming>
<bpmn:incoming>Flow_0urkbiq</bpmn:incoming>
<bpmn:outgoing>Flow_1n57cdt</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="Flow_1n57cdt" sourceRef="NotifyRoboticsOnCaseHandedOffline" targetRef="Activity_0wretog" />
<bpmn:exclusiveGateway id="Gateway_14yvrwf">
<bpmn:incoming>Flow_1ver5zr</bpmn:incoming>
<bpmn:outgoing>Flow_0azhx32</bpmn:outgoing>
<bpmn:outgoing>Flow_1ttjhlz</bpmn:outgoing>
<bpmn:outgoing>Flow_0bca286</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_0azhx32" name="Case has General Application(s)" sourceRef="Gateway_14yvrwf" targetRef="UpdateGeneralApplicationStatus">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">${!empty flowFlags.GENERAL_APPLICATION_ENABLED &amp;&amp; flowFlags.GENERAL_APPLICATION_ENABLED}</bpmn:conditionExpression>
Expand All @@ -93,21 +71,21 @@
<bpmn:incoming>Flow_0azhx32</bpmn:incoming>
<bpmn:outgoing>Flow_1im5p4o</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="Flow_1ttjhlz" name="Case does not have General Application(s)" sourceRef="Gateway_14yvrwf" targetRef="Gateway_0kj0hok">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">${empty flowFlags.GENERAL_APPLICATION_ENABLED || !flowFlags.GENERAL_APPLICATION_ENABLED}</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:serviceTask id="UpdateClaimWithApplicationStatus" name="Update Claim with Application Status" camunda:type="external" camunda:topic="processCaseEvent">
<bpmn:extensionElements>
<camunda:inputOutput>
<camunda:inputParameter name="caseEvent">APPLICATION_CLOSED_UPDATE_CLAIM</camunda:inputParameter>
</camunda:inputOutput>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1im5p4o</bpmn:incoming>
<bpmn:outgoing>Flow_053lw44</bpmn:outgoing>
<bpmn:outgoing>Flow_0o65a0g</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="Flow_1im5p4o" sourceRef="UpdateGeneralApplicationStatus" targetRef="UpdateClaimWithApplicationStatus" />
<bpmn:sequenceFlow id="Flow_053lw44" sourceRef="UpdateClaimWithApplicationStatus" targetRef="Gateway_0kj0hok" />
<bpmn:sequenceFlow id="Flow_0urkbiq" sourceRef="ClaimDismissedNotify1V2Parties" targetRef="NotifyRoboticsOnCaseHandedOffline" />
<bpmn:sequenceFlow id="Flow_0bca286" name="Case does not have General Application(s)" sourceRef="Gateway_14yvrwf" targetRef="ClaimDismissedNotify1V2Parties">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">${empty flowFlags.GENERAL_APPLICATION_ENABLED || !flowFlags.GENERAL_APPLICATION_ENABLED}</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:sequenceFlow id="Flow_0o65a0g" sourceRef="UpdateClaimWithApplicationStatus" targetRef="ClaimDismissedNotify1V2Parties" />
</bpmn:process>
<bpmn:message id="Message_0slk3de" name="DISMISS_CLAIM" />
<bpmn:error id="Error_0t2ju7k" name="StartBusinessAbort" errorCode="ABORT" />
Expand All @@ -119,24 +97,12 @@
<dc:Bounds x="158" y="285" width="25" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0r8yo0r_di" bpmnElement="Event_0r8yo0r">
<dc:Bounds x="2012" y="242" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1x5rl4x_di" bpmnElement="Activity_0wretog">
<dc:Bounds x="1890" y="220" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0emdthr_di" bpmnElement="Activity_0emdthr">
<dc:Bounds x="220" y="220" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1nsmt51_di" bpmnElement="Event_1nsmt51">
<dc:Bounds x="322" y="132" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_0kj0hok_di" bpmnElement="Gateway_0kj0hok" isMarkerVisible="true">
<dc:Bounds x="1135" y="235" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1ov4t1h_di" bpmnElement="NotifyRoboticsOnCaseHandedOffline">
<dc:Bounds x="1720" y="220" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_0wtpej7_di" bpmnElement="Gateway_14yvrwf" isMarkerVisible="true">
<dc:Bounds x="355" y="235" width="50" height="50" />
</bpmndi:BPMNShape>
Expand All @@ -146,26 +112,28 @@
<bpmndi:BPMNShape id="Activity_0m7yww1_di" bpmnElement="UpdateClaimWithApplicationStatus">
<dc:Bounds x="790" y="90" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_03lhz3m_di" bpmnElement="ClaimDismissedNotifyApplicantSolicitor1">
<dc:Bounds x="1470" y="220" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1n01tzr_di" bpmnElement="ClaimDismissedNotify1V2Parties">
<dc:Bounds x="1410" y="90" width="100" height="80" />
<dc:Bounds x="1040" y="220" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1ov4t1h_di" bpmnElement="NotifyRoboticsOnCaseHandedOffline">
<dc:Bounds x="1270" y="220" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1x5rl4x_di" bpmnElement="Activity_0wretog">
<dc:Bounds x="1490" y="220" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0r8yo0r_di" bpmnElement="Event_0r8yo0r">
<dc:Bounds x="1702" y="242" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1fn0bf1_di" bpmnElement="Event_1fn0bf1">
<dc:Bounds x="252" y="202" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="286" y="183" width="27" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_1hce35l_di" bpmnElement="Flow_1hce35l">
<di:waypoint x="1990" y="260" />
<di:waypoint x="2012" y="260" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1gsn98m_di" bpmnElement="Flow_1gsn98m">
<di:waypoint x="1570" y="260" />
<di:waypoint x="1720" y="260" />
<di:waypoint x="1590" y="260" />
<di:waypoint x="1702" y="260" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0yvpi10_di" bpmnElement="Flow_0yvpi10">
<di:waypoint x="270" y="202" />
Expand All @@ -176,28 +144,13 @@
<di:waypoint x="188" y="260" />
<di:waypoint x="220" y="260" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1nxkg6n_di" bpmnElement="Flow_CLAIM_DISMISSED_PAST_CLAIM_DISMISSED_DEADLINE">
<di:waypoint x="1160" y="235" />
<di:waypoint x="1160" y="130" />
<di:waypoint x="1410" y="130" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1095" y="140" width="50" height="40" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1nu2s7e_di" bpmnElement="Flow_CLAIM_DISMISSED_PAST_CLAIM_NOTIFICATION_DEADLINE">
<di:waypoint x="1185" y="260" />
<di:waypoint x="1470" y="260" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1308" y="265" width="67" height="53" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1ver5zr_di" bpmnElement="Flow_1ver5zr">
<di:waypoint x="320" y="260" />
<di:waypoint x="355" y="260" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1n57cdt_di" bpmnElement="Flow_1n57cdt">
<di:waypoint x="1820" y="260" />
<di:waypoint x="1890" y="260" />
<di:waypoint x="1370" y="260" />
<di:waypoint x="1490" y="260" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1e5xfp7_di" bpmnElement="Flow_0azhx32">
<di:waypoint x="380" y="235" />
Expand All @@ -207,27 +160,25 @@
<dc:Bounds x="395" y="96" width="90" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1pk4415_di" bpmnElement="Flow_1ttjhlz">
<di:waypoint x="405" y="260" />
<di:waypoint x="1135" y="260" />
<bpmndi:BPMNLabel>
<dc:Bounds x="734" y="260" width="72" height="40" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1o1vvul_di" bpmnElement="Flow_1im5p4o">
<di:waypoint x="620" y="130" />
<di:waypoint x="790" y="130" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0k40jv6_di" bpmnElement="Flow_053lw44">
<di:waypoint x="890" y="130" />
<di:waypoint x="1020" y="130" />
<di:waypoint x="1020" y="260" />
<di:waypoint x="1135" y="260" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0urkbiq_di" bpmnElement="Flow_0urkbiq">
<di:waypoint x="1510" y="130" />
<di:waypoint x="1770" y="130" />
<di:waypoint x="1770" y="220" />
<di:waypoint x="1140" y="260" />
<di:waypoint x="1270" y="260" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0bca286_di" bpmnElement="Flow_0bca286">
<di:waypoint x="405" y="260" />
<di:waypoint x="1040" y="260" />
<bpmndi:BPMNLabel>
<dc:Bounds x="687" y="272" width="71" height="40" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0o65a0g_di" bpmnElement="Flow_0o65a0g">
<di:waypoint x="890" y="130" />
<di:waypoint x="1090" y="130" />
<di:waypoint x="1090" y="220" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
Expand Down

0 comments on commit c44cdbb

Please sign in to comment.