Skip to content

Commit

Permalink
CIV-14813 Updated task list for claimant and defendant (#1053)
Browse files Browse the repository at this point in the history
* CIV-14813 Updated task list for claimant and defendant

* CIV-14813 Updated task list for claimant and defendant
  • Loading branch information
manish14836 authored Aug 19, 2024
1 parent dc3ea90 commit 429ca43
Show file tree
Hide file tree
Showing 3 changed files with 140 additions and 76 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?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:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:modeler="http://camunda.org/schema/modeler/1.0" id="Definitions_0yui333" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="5.11.0" modeler:executionPlatform="Camunda Platform" modeler:executionPlatformVersion="7.15.0">
<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:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:modeler="http://camunda.org/schema/modeler/1.0" id="Definitions_0yui333" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="5.15.1" modeler:executionPlatform="Camunda Platform" modeler:executionPlatformVersion="7.15.0">
<bpmn:collaboration id="terminateGeneralApplicationBusinessProcess">
<bpmn:participant id="EndBusinessProcessGASpecTaskId" name="Termination phase" processRef="GA_EndBusinessProcess" />
</bpmn:collaboration>
Expand All @@ -13,31 +13,41 @@
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_0nhnyjm" sourceRef="Event_1dagxjy" targetRef="EndGeneralApplicationBusinessProcessTaskId" />
<bpmn:sequenceFlow id="Flow_0r4opsq" sourceRef="EndGeneralApplicationBusinessProcessTaskId" targetRef="Gateway_1q8vjqh" />
<bpmn:exclusiveGateway id="Gateway_1q8vjqh" name="Is Lip Applicant?">
<bpmn:exclusiveGateway id="Gateway_1q8vjqh" name="Is Lip Applicant or Lip Respondent?">
<bpmn:incoming>Flow_0r4opsq</bpmn:incoming>
<bpmn:outgoing>Flow_1dsq7gy</bpmn:outgoing>
<bpmn:outgoing>Flow_0amv1yg</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_1dsq7gy" name="Yes" sourceRef="Gateway_1q8vjqh" targetRef="GeneralApplicationTaskList">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">${!empty flowFlags.LIP_APPLICANT&amp;&amp; flowFlags.LIP_APPLICANT}</bpmn:conditionExpression>
<bpmn:sequenceFlow id="Flow_1dsq7gy" name="Yes" sourceRef="Gateway_1q8vjqh" targetRef="GeneralApplicationClaimantTaskList">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">${(!empty flowFlags.LIP_APPLICANT&amp;&amp; flowFlags.LIP_APPLICANT) || (!empty flowFlags.LIP_RESPONDENT&amp;&amp; flowFlags.LIP_RESPONDENT)}</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:sequenceFlow id="Flow_0amv1yg" name="No" sourceRef="Gateway_1q8vjqh" targetRef="Event_1ppqfy0">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">${empty flowFlags.LIP_APPLICANT|| !flowFlags.LIP_APPLICANT}</bpmn:conditionExpression>
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">${(empty flowFlags.LIP_APPLICANT || !flowFlags.LIP_APPLICANT) &amp;&amp; (empty flowFlags.LIP_RESPONDENT || !flowFlags.LIP_RESPONDENT)}</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:endEvent id="Event_1ppqfy0">
<bpmn:incoming>Flow_0amv1yg</bpmn:incoming>
<bpmn:incoming>Flow_09ybppu</bpmn:incoming>
<bpmn:incoming>Flow_0whi76e</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_09ybppu" sourceRef="GeneralApplicationTaskList" targetRef="Event_1ppqfy0" />
<bpmn:serviceTask id="GeneralApplicationTaskList" name="Update CUI task list" camunda:type="external" camunda:topic="applicationEventGASpec">
<bpmn:sequenceFlow id="Flow_09ybppu" sourceRef="GeneralApplicationClaimantTaskList" targetRef="GeneralApplicationRespondentTaskList" />
<bpmn:serviceTask id="GeneralApplicationClaimantTaskList" name="Update Claimant CUI task list" camunda:type="external" camunda:topic="applicationEventGASpec">
<bpmn:extensionElements>
<camunda:inputOutput>
<camunda:inputParameter name="caseEvent">UPDATE_TASK_LIST_GA_COMPLETE</camunda:inputParameter>
<camunda:inputParameter name="caseEvent">UPDATE_CLAIMANT_TASK_LIST_GA_COMPLETE</camunda:inputParameter>
</camunda:inputOutput>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1dsq7gy</bpmn:incoming>
<bpmn:outgoing>Flow_09ybppu</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:serviceTask id="GeneralApplicationRespondentTaskList" name="Update Respondent CUI task list" camunda:type="external" camunda:topic="applicationEventGASpec">
<bpmn:extensionElements>
<camunda:inputOutput>
<camunda:inputParameter name="caseEvent">UPDATE_RESPONDENT_TASK_LIST_GA_COMPLETE</camunda:inputParameter>
</camunda:inputOutput>
</bpmn:extensionElements>
<bpmn:incoming>Flow_09ybppu</bpmn:incoming>
<bpmn:outgoing>Flow_0whi76e</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="Flow_0whi76e" sourceRef="GeneralApplicationRespondentTaskList" targetRef="Event_1ppqfy0" />
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="terminateGeneralApplicationBusinessProcess">
Expand All @@ -53,14 +63,18 @@
<bpmndi:BPMNShape id="Gateway_1q8vjqh_di" bpmnElement="Gateway_1q8vjqh" isMarkerVisible="true">
<dc:Bounds x="525" y="200" width="50" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="510" y="257" width="81" height="14" />
<dc:Bounds x="514" y="257" width="75" height="40" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1ppqfy0_di" bpmnElement="Event_1ppqfy0">
<dc:Bounds x="902" y="207" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0lf1uur_di" bpmnElement="GeneralApplicationTaskList">
<dc:Bounds x="710" y="185" width="100" height="80" />
<bpmndi:BPMNShape id="Activity_0lf1uur_di" bpmnElement="GeneralApplicationClaimantTaskList">
<dc:Bounds x="630" y="185" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape_1nx7ula" bpmnElement="GeneralApplicationRespondentTaskList">
<dc:Bounds x="760" y="185" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_0nhnyjm_di" bpmnElement="Flow_0nhnyjm">
Expand All @@ -73,9 +87,9 @@
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1dsq7gy_di" bpmnElement="Flow_1dsq7gy">
<di:waypoint x="575" y="225" />
<di:waypoint x="710" y="225" />
<di:waypoint x="630" y="225" />
<bpmndi:BPMNLabel>
<dc:Bounds x="620" y="207" width="19" height="14" />
<dc:Bounds x="588" y="207" width="18" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0amv1yg_di" bpmnElement="Flow_0amv1yg">
Expand All @@ -88,7 +102,11 @@
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_09ybppu_di" bpmnElement="Flow_09ybppu">
<di:waypoint x="810" y="225" />
<di:waypoint x="730" y="225" />
<di:waypoint x="760" y="225" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0whi76e_di" bpmnElement="Flow_0whi76e">
<di:waypoint x="860" y="225" />
<di:waypoint x="902" y="225" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
Expand Down
87 changes: 53 additions & 34 deletions src/main/resources/camunda/initiate_general_application.bpmn
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?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:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:modeler="http://camunda.org/schema/modeler/1.0" id="Definitions_038vuuf" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="5.11.0" modeler:executionPlatform="Camunda Platform" modeler:executionPlatformVersion="7.15.0">
<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:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:modeler="http://camunda.org/schema/modeler/1.0" id="Definitions_038vuuf" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="5.15.1" modeler:executionPlatform="Camunda Platform" modeler:executionPlatformVersion="7.15.0">
<bpmn:message id="Message_0yl8iuc" name="INITIATE_GENERAL_APPLICATION" />
<bpmn:collaboration id="InitiateGeneralApplication">
<bpmn:extensionElements />
Expand Down Expand Up @@ -99,9 +99,17 @@
<bpmn:incoming>Flow_1xd58c9</bpmn:incoming>
<bpmn:outgoing>Flow_1f547ld</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="Flow_1o7yyd2" sourceRef="GeneralApplicationTaskList" targetRef="Activity_18x7hxw" />
<bpmn:sequenceFlow id="Flow_0u0d8a8" name="Yes" sourceRef="Gateway_0j8ztot" targetRef="GeneralApplicationTaskList">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">${!empty flowFlags.LIP_APPLICANT&amp;&amp; flowFlags.LIP_APPLICANT}</bpmn:conditionExpression>
<bpmn:sequenceFlow id="Flow_1o7yyd2" sourceRef="GeneralApplicationClaimantTaskList" targetRef="GeneralApplicationRespondentTaskList" />
<bpmn:sequenceFlow id="Flow_0u0d8a8" name="Yes" sourceRef="Gateway_0j8ztot" targetRef="GeneralApplicationClaimantTaskList">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">${(!empty flowFlags.LIP_APPLICANT&amp;&amp; flowFlags.LIP_APPLICANT) || (!empty flowFlags.LIP_RESPONDENT&amp;&amp; flowFlags.LIP_RESPONDENT)}</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:exclusiveGateway id="Gateway_0j8ztot" name="Is LiP applicant or Lip respondent?">
<bpmn:incoming>Flow_1f547ld</bpmn:incoming>
<bpmn:outgoing>Flow_0u0d8a8</bpmn:outgoing>
<bpmn:outgoing>Flow_1xbphmg</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_1xbphmg" name="No" sourceRef="Gateway_0j8ztot" targetRef="Activity_18x7hxw">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">${(empty flowFlags.LIP_APPLICANT || !flowFlags.LIP_APPLICANT) &amp;&amp; (empty flowFlags.LIP_RESPONDENT || !flowFlags.LIP_RESPONDENT)}</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:endEvent id="Event_05yxbay">
<bpmn:incoming>Flow_0nlz92w</bpmn:incoming>
Expand All @@ -110,32 +118,35 @@
<bpmn:extensionElements>
<camunda:in variables="all" />
</bpmn:extensionElements>
<bpmn:incoming>Flow_1o7yyd2</bpmn:incoming>
<bpmn:incoming>Flow_1xbphmg</bpmn:incoming>
<bpmn:incoming>Flow_0c7k3qn</bpmn:incoming>
<bpmn:outgoing>Flow_0nlz92w</bpmn:outgoing>
</bpmn:callActivity>
<bpmn:serviceTask id="GeneralApplicationTaskList" name="Update CUI task list" camunda:type="external" camunda:topic="applicationEventGASpec">
<bpmn:serviceTask id="GeneralApplicationClaimantTaskList" name="Update Claimant CUI task list" camunda:type="external" camunda:topic="applicationEventGASpec">
<bpmn:extensionElements>
<camunda:inputOutput>
<camunda:inputParameter name="caseEvent">UPDATE_TASK_LIST_GA_CREATED</camunda:inputParameter>
<camunda:inputParameter name="caseEvent">UPDATE_CLAIMANT_TASK_LIST_GA_CREATED</camunda:inputParameter>
<camunda:outputParameter name="Output_0ugbdhe" />
</camunda:inputOutput>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0u0d8a8</bpmn:incoming>
<bpmn:outgoing>Flow_1o7yyd2</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:exclusiveGateway id="Gateway_0j8ztot" name="Is LiP applicant?">
<bpmn:incoming>Flow_1f547ld</bpmn:incoming>
<bpmn:outgoing>Flow_0u0d8a8</bpmn:outgoing>
<bpmn:outgoing>Flow_1xbphmg</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_1xbphmg" name="No" sourceRef="Gateway_0j8ztot" targetRef="Activity_18x7hxw">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">${empty flowFlags.LIP_APPLICANT|| !flowFlags.LIP_APPLICANT}</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:serviceTask id="GeneralApplicationRespondentTaskList" name="Update Respondent CUI task list" camunda:type="external" camunda:topic="applicationEventGASpec">
<bpmn:extensionElements>
<camunda:inputOutput>
<camunda:inputParameter name="caseEvent">UPDATE_RESPONDENT_TASK_LIST_GA_CREATED</camunda:inputParameter>
</camunda:inputOutput>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1o7yyd2</bpmn:incoming>
<bpmn:outgoing>Flow_0c7k3qn</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="Flow_0c7k3qn" sourceRef="GeneralApplicationRespondentTaskList" targetRef="Activity_18x7hxw" />
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="InitiateGeneralApplication">
<bpmndi:BPMNShape id="Participant_11shrki_di" bpmnElement="Participant_11shrki" isHorizontal="true">
<dc:Bounds x="160" y="80" width="1830" height="630" />
<dc:Bounds x="160" y="80" width="1918" height="630" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_19ttrus_di" bpmnElement="Event_19ttrus">
Expand Down Expand Up @@ -172,21 +183,25 @@
<bpmndi:BPMNShape id="Activity_0whee0o_di" bpmnElement="GeneralApplicationNotifying">
<dc:Bounds x="1330" y="208" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_0j8ztot_di" bpmnElement="Gateway_0j8ztot" isMarkerVisible="true">
<dc:Bounds x="1465" y="223" width="50" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1455" y="280" width="75" height="40" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_05yxbay_di" bpmnElement="Event_05yxbay">
<dc:Bounds x="1892" y="230" width="36" height="36" />
<dc:Bounds x="1992" y="232" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape_0ofpcry" bpmnElement="Activity_18x7hxw">
<dc:Bounds x="1750" y="208" width="100" height="80" />
<dc:Bounds x="1840" y="208" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1feoz4m_di" bpmnElement="GeneralApplicationTaskList">
<dc:Bounds x="1600" y="208" width="100" height="80" />
<bpmndi:BPMNShape id="BPMNShape_06ofyfc" bpmnElement="GeneralApplicationRespondentTaskList">
<dc:Bounds x="1690" y="208" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_0j8ztot_di" bpmnElement="Gateway_0j8ztot" isMarkerVisible="true">
<dc:Bounds x="1465" y="223" width="50" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1451" y="280" width="81" height="14" />
</bpmndi:BPMNLabel>
<bpmndi:BPMNShape id="Activity_1feoz4m_di" bpmnElement="GeneralApplicationClaimantTaskList">
<dc:Bounds x="1560" y="208" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1r5gva6_di" bpmnElement="Event_1r5gva6">
<dc:Bounds x="322" y="190" width="36" height="36" />
Expand Down Expand Up @@ -219,8 +234,8 @@
<di:waypoint x="1050" y="248" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0nlz92w_di" bpmnElement="Flow_0nlz92w">
<di:waypoint x="1850" y="248" />
<di:waypoint x="1892" y="248" />
<di:waypoint x="1940" y="250" />
<di:waypoint x="1992" y="250" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1xd58c9_di" bpmnElement="Flow_1xd58c9">
<di:waypoint x="1290" y="248" />
Expand All @@ -239,25 +254,29 @@
<di:waypoint x="1190" y="248" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1o7yyd2_di" bpmnElement="Flow_1o7yyd2">
<di:waypoint x="1700" y="248" />
<di:waypoint x="1750" y="248" />
<di:waypoint x="1660" y="248" />
<di:waypoint x="1690" y="248" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0u0d8a8_di" bpmnElement="Flow_0u0d8a8">
<di:waypoint x="1515" y="248" />
<di:waypoint x="1600" y="248" />
<di:waypoint x="1560" y="248" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1549" y="230" width="19" height="14" />
<dc:Bounds x="1529" y="230" width="18" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1xbphmg_di" bpmnElement="Flow_1xbphmg">
<di:waypoint x="1490" y="223" />
<di:waypoint x="1490" y="150" />
<di:waypoint x="1790" y="150" />
<di:waypoint x="1790" y="208" />
<di:waypoint x="1880" y="150" />
<di:waypoint x="1880" y="208" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1633" y="132" width="15" height="14" />
<dc:Bounds x="1678" y="132" width="15" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0c7k3qn_di" bpmnElement="Flow_0c7k3qn">
<di:waypoint x="1790" y="248" />
<di:waypoint x="1840" y="248" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>
Loading

0 comments on commit 429ca43

Please sign in to comment.