Skip to content
This repository has been archived by the owner on May 25, 2021. It is now read-only.

Commit

Permalink
fix diagram for case proceeds in caseman (#38)
Browse files Browse the repository at this point in the history
Co-authored-by: Sabah Irfan <>
  • Loading branch information
sabahirfan authored May 12, 2021
1 parent 355d20f commit 87809a7
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 18 deletions.
53 changes: 35 additions & 18 deletions src/main/resources/camunda/case_proceeds_in_caseman.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: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="Definitions_0rn46su" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="4.5.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: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="Definitions_0rn46su" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="4.6.0">
<bpmn:process id="CASE_PROCEEDS_IN_CASEMAN" isExecutable="true">
<bpmn:startEvent id="Event_StartClaimTakenOffline" name="Start">
<bpmn:outgoing>Flow_NextStartBusinessProcess</bpmn:outgoing>
Expand Down Expand Up @@ -33,14 +33,14 @@
</bpmn:boundaryEvent>
<bpmn:sequenceFlow id="Flow_StartBusinessProcessAbort" sourceRef="Event_1fn0bf1" targetRef="Event_1nsmt51" />
<bpmn:sequenceFlow id="Flow_NextStartBusinessProcess" sourceRef="Event_StartClaimTakenOffline" targetRef="Activity_StartBusinessProcess" />
<bpmn:sequenceFlow id="Flow_NextNotifyRpa" sourceRef="Activity_StartBusinessProcess" targetRef="CaseProceedsInCasemanNotifyRespondentSolicitor1" />
<bpmn:sequenceFlow id="Flow_NextNotifyRpa" sourceRef="Activity_StartBusinessProcess" targetRef="NotifyRoboticsOnCaseHandedOffline" />
<bpmn:serviceTask id="CaseProceedsInCasemanNotifyRespondentSolicitor1" name="Notify respondent solicitor 1" camunda:type="external" camunda:topic="processCaseEvent">
<bpmn:extensionElements>
<camunda:inputOutput>
<camunda:inputParameter name="caseEvent">NOTIFY_RESPONDENT_SOLICITOR1_FOR_CASE_PROCEEDS_IN_CASEMAN</camunda:inputParameter>
</camunda:inputOutput>
</bpmn:extensionElements>
<bpmn:incoming>Flow_NextNotifyRpa</bpmn:incoming>
<bpmn:incoming>Flow_0w2xd7v</bpmn:incoming>
<bpmn:outgoing>Flow_1hq815y</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="Flow_1hq815y" sourceRef="CaseProceedsInCasemanNotifyRespondentSolicitor1" targetRef="CaseProceedsInCasemanNotifyApplicantSolicitor1" />
Expand All @@ -54,11 +54,29 @@
<bpmn:outgoing>Flow_0uljtsx</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="Flow_0uljtsx" sourceRef="CaseProceedsInCasemanNotifyApplicantSolicitor1" targetRef="Activity_EndBusinessProcess" />
<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_NextNotifyRpa</bpmn:incoming>
<bpmn:outgoing>Flow_0w2xd7v</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="Flow_0w2xd7v" sourceRef="NotifyRoboticsOnCaseHandedOffline" targetRef="CaseProceedsInCasemanNotifyRespondentSolicitor1" />
</bpmn:process>
<bpmn:message id="Message_0slk3de" name="CASE_PROCEEDS_IN_CASEMAN" />
<bpmn:error id="Error_0t2ju7k" name="StartBusinessAbort" errorCode="ABORT" />
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="CASE_PROCEEDS_IN_CASEMAN">
<bpmndi:BPMNEdge id="Flow_0uljtsx_di" bpmnElement="Flow_0uljtsx">
<di:waypoint x="750" y="210" />
<di:waypoint x="780" y="210" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1hq815y_di" bpmnElement="Flow_1hq815y">
<di:waypoint x="600" y="210" />
<di:waypoint x="650" y="210" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_14aod2o_di" bpmnElement="Flow_NextNotifyRpa">
<di:waypoint x="330" y="210" />
<di:waypoint x="370" y="210" />
Expand All @@ -71,17 +89,13 @@
<di:waypoint x="280" y="152" />
<di:waypoint x="280" y="118" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1hq815y_di" bpmnElement="Flow_1hq815y">
<di:waypoint x="470" y="210" />
<di:waypoint x="510" y="210" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1hce35l_di" bpmnElement="Flow_NextEndEvent">
<di:waypoint x="750" y="210" />
<di:waypoint x="782" y="210" />
<di:waypoint x="880" y="210" />
<di:waypoint x="972" y="210" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0uljtsx_di" bpmnElement="Flow_0uljtsx">
<di:waypoint x="610" y="210" />
<di:waypoint x="650" y="210" />
<bpmndi:BPMNEdge id="Flow_0w2xd7v_di" bpmnElement="Flow_0w2xd7v">
<di:waypoint x="470" y="210" />
<di:waypoint x="500" y="210" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="Event_1m02c2o_di" bpmnElement="Event_StartClaimTakenOffline">
<dc:Bounds x="152" y="192" width="36" height="36" />
Expand All @@ -95,17 +109,20 @@
<bpmndi:BPMNShape id="Event_1nsmt51_di" bpmnElement="Event_1nsmt51">
<dc:Bounds x="262" y="82" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0lrzkzm_di" bpmnElement="CaseProceedsInCasemanNotifyRespondentSolicitor1">
<dc:Bounds x="370" y="170" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0r8yo0r_di" bpmnElement="Event_EndClaimTakenOffline">
<dc:Bounds x="782" y="192" width="36" height="36" />
<dc:Bounds x="972" y="192" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1x5rl4x_di" bpmnElement="Activity_EndBusinessProcess">
<dc:Bounds x="650" y="170" width="100" height="80" />
<dc:Bounds x="780" y="170" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0lrzkzm_di" bpmnElement="CaseProceedsInCasemanNotifyRespondentSolicitor1">
<dc:Bounds x="500" y="170" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1huplho_di" bpmnElement="CaseProceedsInCasemanNotifyApplicantSolicitor1">
<dc:Bounds x="510" y="170" width="100" height="80" />
<dc:Bounds x="650" y="170" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1kdqyo6_di" bpmnElement="NotifyRoboticsOnCaseHandedOffline">
<dc:Bounds x="370" y="170" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1fn0bf1_di" bpmnElement="Event_1fn0bf1">
<dc:Bounds x="262" y="152" width="36" height="36" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,15 @@ void shouldSuccessfullyCompleteNotifyClaim_whenCalled() {
START_BUSINESS_ACTIVITY
);

//complete the RPA notification
ExternalTask rpaNotification = assertNextExternalTask(PROCESS_CASE_EVENT);
assertCompleteExternalTask(
rpaNotification,
PROCESS_CASE_EVENT,
"NOTIFY_RPA_ON_CASE_HANDED_OFFLINE",
"NotifyRoboticsOnCaseHandedOffline"
);

//complete the notification to respondent
ExternalTask respondentNotification = assertNextExternalTask(PROCESS_CASE_EVENT);
assertCompleteExternalTask(respondentNotification,
Expand Down

0 comments on commit 87809a7

Please sign in to comment.