diff --git a/src/main/resources/wa-task-initiation-privatelaw-prlapps.dmn b/src/main/resources/wa-task-initiation-privatelaw-prlapps.dmn index 516faaa0..c9627d8e 100644 --- a/src/main/resources/wa-task-initiation-privatelaw-prlapps.dmn +++ b/src/main/resources/wa-task-initiation-privatelaw-prlapps.dmn @@ -1,5 +1,5 @@ - + @@ -378,6 +378,56 @@ "applicationCheck" + + + "citizen-case-submit" + + + "SUBMITTED_PAID" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + "checkApplicationC100" + + + "Check Application" + + + + + + "applicationCheck" + + "issueAndSendToLocalCourtCallback" 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 5727c343..69d80604 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(12)); assertThat(logic.getOutputs().size(), is(4)); - assertThat(logic.getRules().size(), is(45)); + assertThat(logic.getRules().size(), is(46)); } static Stream scenarioProvider() { @@ -75,6 +75,22 @@ static Stream scenarioProvider() { ) ) ), + Arguments.of( + "citizen-case-submit", + "SUBMITTED_PAID", + mapAdditionalData("{\n" + + " \"Data\":{\n" + + " \"caseTypeOfApplication\":\"" + "" + "\"\n" + + " }" + + "}"), + singletonList( + Map.of( + "taskId", "checkApplicationC100", + "name", "Check Application", + "processCategories", "applicationCheck" + ) + ) + ), Arguments.of( "fl401StatementOfTruthAndSubmit", "SUBMITTED_PAID",