Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RET-2350: ReviewReferralJudiciary & ReviewReferralLegalOps #24

Merged
merged 1 commit into from
May 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -145,4 +145,4 @@
</dmndi:DMNShape>
</dmndi:DMNDiagram>
</dmndi:DMNDI>
</definitions>
</definitions>
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<definitions xmlns="https://www.omg.org/spec/DMN/20191111/MODEL/" xmlns:dmndi="https://www.omg.org/spec/DMN/20191111/DMNDI/" xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/" xmlns:biodi="http://bpmn.io/schema/dmn/biodi/2.0" id="wa-completion-definition" name="DRD" namespace="http://camunda.org/schema/1.0/dmn" exporter="Camunda Modeler" exporterVersion="5.11.0">
<decision id="wa-task-completion-employment-et_englandwales" name="ET Task completion DMN">
<decisionTable id="DecisionTable_01re27m" hitPolicy="COLLECT">
<input id="eventId" label="Event ID" biodi:width="614">
<input id="eventId" label="Event ID" biodi:width="392">
<inputExpression id="LiteralExpression_1ngg489" typeRef="string">
<text>eventId</text>
</inputExpression>
Expand All @@ -11,7 +11,7 @@
<output id="OutputClause_1mldd9e" label="Completion Mode" name="completionMode" typeRef="string" />
<rule id="DecisionRule_12eenty">
<inputEntry id="UnaryTests_17cg7de">
<text>"PreAcceptanceCase"</text>
<text>"preAcceptanceCase"</text>
</inputEntry>
<outputEntry id="LiteralExpression_1lk4wxe">
<text>"Et1Vetting"</text>
Expand All @@ -20,36 +20,47 @@
<text>"Auto"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_0m15s4f">
<inputEntry id="UnaryTests_12rgcau">
<text>"et3Response"</text>
<rule id="DecisionRule_1jameda">
<inputEntry id="UnaryTests_0q8217i">
<text>"replyToReferral","closeReferral"</text>
</inputEntry>
<outputEntry id="LiteralExpression_1x2aji9">
<text>"ET3Processing"</text>
<outputEntry id="LiteralExpression_1ku023r">
<text>"ReviewReferralAdmin"</text>
</outputEntry>
<outputEntry id="LiteralExpression_07hil2z">
<outputEntry id="LiteralExpression_15g3yjk">
<text>"Auto"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_08x5tfq">
<inputEntry id="UnaryTests_19ldlow">
<text>"replyToReferral"</text>
<rule id="DecisionRule_1n1hrr1">
<inputEntry id="UnaryTests_0d3nkez">
<text>"preAcceptanceCase","replyToReferral","closeReferral"</text>
</inputEntry>
<outputEntry id="LiteralExpression_0sb4ppd">
<text>"ReviewReferralAdmin"</text>
<outputEntry id="LiteralExpression_0m9i08l">
<text>"ReviewReferralJudiciary"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0uvpcyx">
<outputEntry id="LiteralExpression_0vrbgdt">
<text>"Auto"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1jameda">
<inputEntry id="UnaryTests_0q8217i">
<text>"closeReferral"</text>
<rule id="DecisionRule_0rgoz1c">
<inputEntry id="UnaryTests_0wfbt17">
<text>"preAcceptanceCase","replyToReferral","closeReferral"</text>
</inputEntry>
<outputEntry id="LiteralExpression_1ku023r">
<text>"ReviewReferralAdmin"</text>
<outputEntry id="LiteralExpression_0nsl2oy">
<text>"ReviewReferralLegalOps"</text>
</outputEntry>
<outputEntry id="LiteralExpression_15g3yjk">
<outputEntry id="LiteralExpression_0zn07yk">
<text>"Auto"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_0m15s4f">
<inputEntry id="UnaryTests_12rgcau">
<text>"et3Response"</text>
</inputEntry>
<outputEntry id="LiteralExpression_1x2aji9">
<text>"ET3Processing"</text>
</outputEntry>
<outputEntry id="LiteralExpression_07hil2z">
<text>"Auto"</text>
</outputEntry>
</rule>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="https://www.omg.org/spec/DMN/20191111/MODEL/" xmlns:dmndi="https://www.omg.org/spec/DMN/20191111/DMNDI/" xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/" xmlns:biodi="http://bpmn.io/schema/dmn/biodi/2.0" xmlns:camunda="http://camunda.org/schema/1.0/dmn" id="wa-configuration-definition" name="DRD" namespace="http://camunda.org/schema/1.0/dmn" exporter="Camunda Modeler" exporterVersion="5.3.0">
<definitions xmlns="https://www.omg.org/spec/DMN/20191111/MODEL/" xmlns:dmndi="https://www.omg.org/spec/DMN/20191111/DMNDI/" xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/" xmlns:biodi="http://bpmn.io/schema/dmn/biodi/2.0" xmlns:camunda="http://camunda.org/schema/1.0/dmn" id="wa-configuration-definition" name="DRD" namespace="http://camunda.org/schema/1.0/dmn" exporter="Camunda Modeler" exporterVersion="5.11.0">
<decision id="wa-task-configuration-employment-et_englandwales" name="ET Task configuration DMN">
<decisionTable id="DecisionTable_14cx079" hitPolicy="COLLECT">
<input id="InputClause_1gxyo7f" label="CCD Case Data" camunda:inputVariable="caseData">
Expand Down Expand Up @@ -74,8 +74,8 @@
<text>
"draftCaseCreated",
"Et1Vetting",
"ReviewReferralLegalOps",
"ReviewReferralAdmin",
"ReviewReferralLegalOps",
"SendET1Notification",
"ListServeClaim",
"ET3Processing",
Expand Down Expand Up @@ -188,8 +188,8 @@
<inputEntry id="UnaryTests_0jg7vpi">
<text>
"draftCaseCreated",
"reviewSpecificAccessRequestJudiciary",
"ReviewReferralJudiciary",
"reviewSpecificAccessRequestJudiciary",
"ReviewReferralResponseJudiciary",
"CompleteInitialConsideration",
"DraftAndSignJudgment"
Expand All @@ -211,9 +211,9 @@
</inputEntry>
<inputEntry id="UnaryTests_0vmsbqm">
<text>
"ReviewReferralLegalOps",
"reviewSpecificAccessRequestLegalOps",
"ReviewRule21Referral",
"ReviewReferralLegalOps",
"ET3ReferralLegalOps",
"ReviewReferralResponseLegalOps"
</text>
Expand Down Expand Up @@ -308,9 +308,9 @@
<inputEntry id="UnaryTests_136m8g2">
<text>
"draftCaseCreated",
"ReviewReferralAdmin",
"ReviewReferralJudiciary",
"ReviewReferralLegalOps",
"ReviewReferralAdmin"
"ReviewReferralLegalOps"
</text>
</inputEntry>
<outputEntry id="LiteralExpression_0uxjjxf">
Expand Down Expand Up @@ -680,15 +680,17 @@
</inputEntry>
<inputEntry id="UnaryTests_07vjyfi">
<text>
"ReviewReferralAdmin"
"ReviewReferralAdmin",
"ReviewReferralJudiciary",
"ReviewReferralLegalOps"
</text>
</inputEntry>
<outputEntry id="LiteralExpression_13nb3yh">
<text>"majorPriority"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0xy9k8p">
<text>
if (caseData!= null and caseData.isUrgent != null and caseData.isUrgent = "Yes") then 1000 else 5000
if (caseData != null and caseData.isUrgent != null and caseData.isUrgent = "Yes") then 1000 else 5000
</text>
</outputEntry>
<outputEntry id="LiteralExpression_1uusq1d">
Expand Down Expand Up @@ -722,15 +724,17 @@
</inputEntry>
<inputEntry id="UnaryTests_1vhou0u">
<text>
"ReviewReferralAdmin"
"ReviewReferralAdmin",
"ReviewReferralJudiciary",
"ReviewReferralLegalOps"
</text>
</inputEntry>
<outputEntry id="LiteralExpression_08twl7q">
<text>"minorPriority"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0g94d63">
<text>
if (caseData!= null and caseData.isUrgent != null and caseData.isUrgent = "Yes") then 100 else 500
if (caseData != null and caseData.isUrgent != null and caseData.isUrgent = "Yes") then 100 else 500
</text>
</outputEntry>
<outputEntry id="LiteralExpression_0ry9gq0">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,72 @@
<text>"Vetting"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_0t3h4yd">
<inputEntry id="UnaryTests_0pnlugb">
<text>"createReferral"</text>
</inputEntry>
<inputEntry id="UnaryTests_059m8ba">
<text>"Submitted"</text>
</inputEntry>
<inputEntry id="UnaryTests_1tsfn84">
<text>"Judge"</text>
</inputEntry>
<outputEntry id="LiteralExpression_02gq0cv">
<text>"ReviewReferralJudiciary"</text>
</outputEntry>
<outputEntry id="LiteralExpression_16t7tco">
<text>"Review Referral - " + additionalData.Data.referralSubject</text>
</outputEntry>
<outputEntry id="LiteralExpression_0zdr7bg">
<text></text>
</outputEntry>
<outputEntry id="LiteralExpression_0guqf5c">
<text>
if(additionalData != null
and additionalData.Data != null
and additionalData.Data.isUrgent != null
and additionalData.Data.isUrgent = "Yes")
then 1
else 2
</text>
</outputEntry>
<outputEntry id="LiteralExpression_1flovqn">
<text>"Vetting"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1xtkppt">
<inputEntry id="UnaryTests_13iglg0">
<text>"createReferral"</text>
</inputEntry>
<inputEntry id="UnaryTests_0wekibb">
<text>"Submitted"</text>
</inputEntry>
<inputEntry id="UnaryTests_0tha19k">
<text>"Legal officer"</text>
</inputEntry>
<outputEntry id="LiteralExpression_0xmtp1n">
<text>"ReviewReferralLegalOps"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1x90otf">
<text>"Review Referral - " + additionalData.Data.referralSubject</text>
</outputEntry>
<outputEntry id="LiteralExpression_0iaqh1t">
<text></text>
</outputEntry>
<outputEntry id="LiteralExpression_1cup8ul">
<text>
if(additionalData != null
and additionalData.Data != null
and additionalData.Data.isUrgent != null
and additionalData.Data.isUrgent = "Yes")
then 1
else 2
</text>
</outputEntry>
<outputEntry id="LiteralExpression_1luz902">
<text>"Vetting"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_0ntdndx">
<inputEntry id="UnaryTests_0rhsg81">
<text>"et3Response"</text>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="https://www.omg.org/spec/DMN/20191111/MODEL/" xmlns:dmndi="https://www.omg.org/spec/DMN/20191111/DMNDI/" xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/" xmlns:biodi="http://bpmn.io/schema/dmn/biodi/2.0" xmlns:camunda="http://camunda.org/schema/1.0/dmn" id="wa-permissions-definition" name="DRD" namespace="http://camunda.org/schema/1.0/dmn" exporter="Camunda Modeler" exporterVersion="5.3.0">
<definitions xmlns="https://www.omg.org/spec/DMN/20191111/MODEL/" xmlns:dmndi="https://www.omg.org/spec/DMN/20191111/DMNDI/" xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/" xmlns:biodi="http://bpmn.io/schema/dmn/biodi/2.0" xmlns:camunda="http://camunda.org/schema/1.0/dmn" id="wa-permissions-definition" name="DRD" namespace="http://camunda.org/schema/1.0/dmn" exporter="Camunda Modeler" exporterVersion="5.11.0">
<decision id="wa-task-permissions-employment-et_englandwales" name="ET Task Permissions DMN">
<decisionTable id="DecisionTable_1pr5oic" hitPolicy="RULE ORDER">
<input id="InputClause_12crj6e" label="Task Type" biodi:width="299" camunda:inputVariable="taskType">
Expand Down Expand Up @@ -114,7 +114,7 @@
<text></text>
</outputEntry>
<outputEntry id="LiteralExpression_0stu1aw">
<text></text>
<text>1</text>
</outputEntry>
<outputEntry id="LiteralExpression_02krt2c">
<text>true</text>
Expand All @@ -140,7 +140,7 @@
<text>"leadership-judge"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0lzkacj">
<text>"Read, Own, Manage, Claim, Unclaim, Assign, Unassign, Complete, Cancel"</text>
<text>"Read, Own, Manage, Claim, Assign, Unassign, Complete, Cancel"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0ultxtd">
<text>"JUDICIAL"</text>
Expand All @@ -149,7 +149,7 @@
<text></text>
</outputEntry>
<outputEntry id="LiteralExpression_04a0zeu">
<text></text>
<text>4</text>
</outputEntry>
<outputEntry id="LiteralExpression_0s6z0e2">
<text>false</text>
Expand Down Expand Up @@ -185,7 +185,7 @@
<text></text>
</outputEntry>
<outputEntry id="LiteralExpression_0zoan3h">
<text></text>
<text>2</text>
</outputEntry>
<outputEntry id="LiteralExpression_0thq4jp">
<text>false</text>
Expand Down Expand Up @@ -220,7 +220,7 @@
<text></text>
</outputEntry>
<outputEntry id="LiteralExpression_1k3lw5w">
<text></text>
<text>3</text>
</outputEntry>
<outputEntry id="LiteralExpression_0bh71eh">
<text>false</text>
Expand Down Expand Up @@ -286,7 +286,7 @@
<text></text>
</outputEntry>
<outputEntry id="LiteralExpression_0rrndti">
<text></text>
<text>1</text>
</outputEntry>
<outputEntry id="LiteralExpression_0zgifed">
<text>true</text>
Expand All @@ -307,7 +307,7 @@
<text></text>
</outputEntry>
<outputEntry id="LiteralExpression_0ng21la">
<text>"senior-tribunal-caseworker" </text>
<text>"senior-tribunal-caseworker"</text>
</outputEntry>
<outputEntry id="LiteralExpression_17utvw0">
<text>"Read, Own, Manage, Claim, Unclaim, Assign, Unassign, Complete, Cancel"</text>
Expand All @@ -319,7 +319,7 @@
<text></text>
</outputEntry>
<outputEntry id="LiteralExpression_1cfgabn">
<text></text>
<text>3</text>
</outputEntry>
<outputEntry id="LiteralExpression_07m3v27">
<text>false</text>
Expand All @@ -341,7 +341,7 @@
<text></text>
</outputEntry>
<outputEntry id="LiteralExpression_0rnmuas">
<text>"tribunal-caseworker" </text>
<text>"tribunal-caseworker"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1pl4emq">
<text>"Read, Own, Manage, Claim, Unclaim, UnclaimAssign, CompleteOwn, CancelOwn"</text>
Expand All @@ -353,7 +353,7 @@
<text></text>
</outputEntry>
<outputEntry id="LiteralExpression_1t942mu">
<text></text>
<text>2</text>
</outputEntry>
<outputEntry id="LiteralExpression_0uuye16">
<text>false</text>
Expand Down
Loading