diff --git a/src/main/resources/wa-task-configuration-privatelaw-prlapps.dmn b/src/main/resources/wa-task-configuration-privatelaw-prlapps.dmn index fbc9b3e5..69faf6ca 100644 --- a/src/main/resources/wa-task-configuration-privatelaw-prlapps.dmn +++ b/src/main/resources/wa-task-configuration-privatelaw-prlapps.dmn @@ -537,7 +537,7 @@ taskAttributes. taskType else if(taskType != null) then taskType else null"majorPriority" - if (caseData.isUrgentFlag != null and caseData.isUrgentFlag="Yes") then 2000 else if (caseData.allegationsOfHarmYesNo != null and caseData.allegationsOfHarmYesNo="Yes") then 3000 else 5000 + if (caseData.isCaseUrgent != null and caseData.isCaseUrgent="Yes") then 2000 else if (caseData.newAllegationsOfHarmYesNo != null and caseData.newAllegationsOfHarmYesNo="Yes") then 3000 else 5000 @@ -555,8 +555,8 @@ taskAttributes. taskType else if(taskType != null) then taskType else null if (caseData.caseTypeOfApplication = "FL401") then 1000 else if (caseData.caseTypeOfApplication = "C100" and caseDate.isCaseUrgent != null and caseData.isCaseUrgent="Yes") then 2000 -else if (caseData.caseTypeOfApplication = "C100" and caseData.allegationsOfHarmYesNo != null and -caseData.allegationsOfHarmYesNo="Yes") then 3000 else 5000 +else if (caseData.caseTypeOfApplication = "C100" and caseData.newAllegationsOfHarmYesNo != null and +caseData.newAllegationsOfHarmYesNo="Yes") then 3000 else 5000 diff --git a/src/main/resources/wa-task-initiation-privatelaw-prlapps.dmn b/src/main/resources/wa-task-initiation-privatelaw-prlapps.dmn index eb2db6bb..0c9cbae2 100644 --- a/src/main/resources/wa-task-initiation-privatelaw-prlapps.dmn +++ b/src/main/resources/wa-task-initiation-privatelaw-prlapps.dmn @@ -6518,6 +6518,77 @@ and additionalData.Data.isHearingTaskNeeded != null) then "reviewDocsC100" + + + "reviewAndSubmit" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + "reviewDocumentsForSolAndCafcassC100" + + + "Review Documents" + + + + + + "reviewDocsC100" + + "c100listWithoutNotice" diff --git a/src/test/java/uk/gov/hmcts/reform/prl/taskconfiguration/dmn/CamundaTaskInitiationTest.java b/src/test/java/uk/gov/hmcts/reform/prl/taskconfiguration/dmn/CamundaTaskInitiationTest.java index 308b3ad6..0ee3cce7 100644 --- a/src/test/java/uk/gov/hmcts/reform/prl/taskconfiguration/dmn/CamundaTaskInitiationTest.java +++ b/src/test/java/uk/gov/hmcts/reform/prl/taskconfiguration/dmn/CamundaTaskInitiationTest.java @@ -37,7 +37,7 @@ void if_this_test_fails_needs_updating_with_your_changes() { DmnDecisionTableImpl logic = (DmnDecisionTableImpl) decision.getDecisionLogic(); assertThat(logic.getInputs().size(), is(19)); assertThat(logic.getOutputs().size(), is(4)); - assertThat(logic.getRules().size(), is(90)); + assertThat(logic.getRules().size(), is(91)); } static Stream scenarioProvider() {