diff --git a/src/main/resources/wa-task-configuration-privatelaw-prlapps.dmn b/src/main/resources/wa-task-configuration-privatelaw-prlapps.dmn index afc283da..1e0206ad 100644 --- a/src/main/resources/wa-task-configuration-privatelaw-prlapps.dmn +++ b/src/main/resources/wa-task-configuration-privatelaw-prlapps.dmn @@ -1,5 +1,5 @@ - + @@ -629,7 +629,7 @@ taskAttributes. taskType else if(taskType != null) then taskType else null - "checkApplicationC100","checkApplicationResubmittedC100","sendToGateKeeperC100","sendToGateKeeperResubmittedC100","gateKeeping","gateKeepingResubmitted","checkHwfApplicationC100" + "checkApplicationC100","checkApplicationResubmittedC100","sendToGateKeeperC100","sendToGateKeeperResubmittedC100","gateKeeping","gateKeepingResubmitted","checkHwfApplicationC100","reqSafeguardingLetterUpdate" @@ -993,7 +993,7 @@ taskAttributes. taskType else if(taskType != null) then taskType else null - "checkApplicationFL401","checkApplicationResubmittedFL401","sendToGateKeeperFL401","sendToGateKeeperResubmittedFL401","sendToGateKeeperC100","sendToGateKeeperResubmittedC100","produceHearingBundleFL401","produceHearingBundleC100","serviceOfApplicationFL401","adminServeOrderFL401","updateHearingActualsFL401","requestSolicitorOrderFL401","reviewCorrespondenceFL401","serviceOfApplicationC100","adminServeOrderC100","updateHearingActualsC100","requestSolicitorOrderC100","reviewCorrespondenceC100","reviewSpecificAccessRequestAdmin","removeLegalRepresentativeFL401","reviewDocumentsForSolAndCafcassFL401","reviewDocumentsForSolAndCafcassC100","reviewAdminOrderByManager","createHearingRequest","createMultipleHearingRequest","createHearingRequestReserveListAssist","reviewRaRequestsFL401","reviewInactiveRaRequestsFL401","recreateApplicationPack","appStatementOfServiceBySol","appStatementOfServiceByLiP","appStatementOfServiceByBailiff","arrangeBailiffSOA","appStatementOfServiceByAdmin","confidentialCheckSOA","completefl416AndServe","removeLegalRepresentativeC100","replyToMessageForCourtAdminC100","replyToMessageForCourtAdminFL401","reviewRaRequestsC100","reviewInactiveRaRequestsC100","listWithoutNoticeHearingC100","listOnNoticeHearingFL401","reviewAdditionalApplication","reviewLangAndSmReq","listWithoutNoticeHearingFL401","confidentialCheckDocuments","checkAndReServeDocuments","newCaseTransferredToCourt" + "checkApplicationFL401","checkApplicationResubmittedFL401","sendToGateKeeperFL401","sendToGateKeeperResubmittedFL401","sendToGateKeeperC100","sendToGateKeeperResubmittedC100","produceHearingBundleFL401","produceHearingBundleC100","serviceOfApplicationFL401","adminServeOrderFL401","updateHearingActualsFL401","requestSolicitorOrderFL401","reviewCorrespondenceFL401","serviceOfApplicationC100","adminServeOrderC100","updateHearingActualsC100","requestSolicitorOrderC100","reviewCorrespondenceC100","reviewSpecificAccessRequestAdmin","removeLegalRepresentativeFL401","reviewDocumentsForSolAndCafcassFL401","reviewDocumentsForSolAndCafcassC100","reviewAdminOrderByManager","createHearingRequest","createMultipleHearingRequest","createHearingRequestReserveListAssist","reviewRaRequestsFL401","reviewInactiveRaRequestsFL401","recreateApplicationPack","appStatementOfServiceBySol","appStatementOfServiceByLiP","appStatementOfServiceByBailiff","arrangeBailiffSOA","appStatementOfServiceByAdmin","confidentialCheckSOA","completefl416AndServe","removeLegalRepresentativeC100","replyToMessageForCourtAdminC100","replyToMessageForCourtAdminFL401","reviewRaRequestsC100","reviewInactiveRaRequestsC100","listWithoutNoticeHearingC100","listOnNoticeHearingFL401","reviewAdditionalApplication","reviewLangAndSmReq","listWithoutNoticeHearingFL401","confidentialCheckDocuments","checkAndReServeDocuments","newCaseTransferredToCourt","reqSafeguardingLetterUpdate" @@ -1870,6 +1870,26 @@ taskAttributes. taskType else if(taskType != null) then taskType else null + + + + + + "reqSafeguardingLetterUpdate" + + + + + + "description" + + + "[Request SER Update]" + + + + + diff --git a/src/main/resources/wa-task-initiation-privatelaw-prlapps.dmn b/src/main/resources/wa-task-initiation-privatelaw-prlapps.dmn index d7f55065..d20336fb 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 @@ - + @@ -203,6 +203,11 @@ and additionalData.Data.isHearingTaskNeeded != null) then "Yes","No" + + + if(additionalData != null and additionalData.Data != null and additionalData.Data.requestSafeGuardingLetterUpdate != null) then additionalData.Data.requestSafeGuardingLetterUpdate else "" + + @@ -274,6 +279,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "checkApplicationFL401" @@ -354,6 +362,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "checkApplicationFL401" @@ -434,6 +445,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "checkApplicationFL401" @@ -514,6 +528,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "checkApplicationResubmittedFL401" @@ -594,6 +611,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "sendToGateKeeperFL401" @@ -674,6 +694,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "sendToGateKeeperFL401" @@ -754,6 +777,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "sendToGateKeeperFL401" @@ -834,6 +860,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "sendToGateKeeperResubmittedFL401" @@ -914,6 +943,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "checkApplicationC100" @@ -994,6 +1026,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "checkApplicationC100" @@ -1074,6 +1109,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "checkApplicationResubmittedC100" @@ -1154,6 +1192,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "checkApplicationC100" @@ -1234,6 +1275,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "checkApplicationC100" @@ -1314,6 +1358,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "checkHwfApplicationC100" @@ -1394,6 +1441,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "addCaseNumber" @@ -1474,6 +1524,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "addCaseNumberResubmitted" @@ -1554,6 +1607,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "sendToGateKeeperC100" @@ -1634,6 +1690,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "sendToGateKeeperResubmittedC100" @@ -1714,6 +1773,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "directionOnIssue" @@ -1794,6 +1856,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "directionOnIssueResubmitted" @@ -1874,6 +1939,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "gateKeeping" @@ -1954,6 +2022,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "gateKeepingResubmitted" @@ -2034,6 +2105,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then "No" + + + "produceHearingBundleC100" @@ -2116,6 +2190,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then "No" + + + "produceHearingBundleFL401" @@ -2198,6 +2275,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "reviewSolicitorOrderProvided" @@ -2278,6 +2358,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "reviewSolicitorOrderProvided" @@ -2360,6 +2443,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "serviceOfApplicationC100" @@ -2442,6 +2528,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "serviceOfApplicationFL401" @@ -2524,6 +2613,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "adminServeOrderC100" @@ -2606,6 +2698,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "adminServeOrderC100" @@ -2688,6 +2783,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "adminServeOrderFL401" @@ -2770,6 +2868,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "adminServeOrderFL401" @@ -2851,6 +2952,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "adminServeOrderC100" @@ -2932,6 +3036,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "adminServeOrderC100" @@ -3014,6 +3121,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "adminServeOrderFL401" @@ -3096,6 +3206,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "adminServeOrderFL401" @@ -3176,6 +3289,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "createHearingRequestReserveListAssist" @@ -3256,6 +3372,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "createHearingRequest" @@ -3336,6 +3455,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "createMultipleHearingRequest" @@ -3416,6 +3538,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "updateHearingActualsC100" @@ -3496,6 +3621,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "updateHearingActualsFL100" @@ -3576,6 +3704,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "requestSolicitorOrderC100" @@ -3658,6 +3789,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "requestSolicitorOrderFL100" @@ -3740,6 +3874,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "reviewCorrespondenceC100" @@ -3822,6 +3959,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "reviewCorrespondenceFL401" @@ -3902,6 +4042,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "reviewAdminOrderProvided" @@ -3982,6 +4125,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "reviewAdminOrderByManager" @@ -4062,6 +4208,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "createHearingRequestReserveListAssist" @@ -4142,6 +4291,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "createHearingRequestReserveListAssist" @@ -4222,6 +4374,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "createHearingRequest" @@ -4302,6 +4457,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "createHearingRequest" @@ -4382,6 +4540,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "createMultipleHearingRequest" @@ -4462,6 +4623,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "createMultipleHearingRequest" @@ -4542,6 +4706,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "removeLegalRepresentativeC100" @@ -4622,6 +4789,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "removeLegalRepresentativeFL401" @@ -4702,6 +4872,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "confidentialCheckSOA" @@ -4782,6 +4955,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "appStatementOfServiceBySol" @@ -4862,6 +5038,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "appStatementOfServiceByLiP" @@ -4942,6 +5121,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "appStatementOfServiceByBailiff" @@ -5022,6 +5204,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "arrangeBailiffSOA" @@ -5102,6 +5287,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "appStatementOfServiceByAdmin" @@ -5182,6 +5370,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "completefl416AndServe" @@ -5262,6 +5453,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "completefl416AndServe" @@ -5342,6 +5536,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "recreateApplicationPack" @@ -5422,6 +5619,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "appStatementOfServiceBySol" @@ -5502,6 +5702,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "appStatementOfServiceByLiP" @@ -5582,6 +5785,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "appStatementOfServiceByBailiff" @@ -5662,6 +5868,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "arrangeBailiffSOA" @@ -5742,6 +5951,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "appStatementOfServiceByAdmin" @@ -5822,6 +6034,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "replyToMessageForCourtAdminFL401" @@ -5902,6 +6117,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "replyToMessageForCourtAdminFL401" @@ -5982,6 +6200,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "replyToMessageForCourtAdminC100" @@ -6062,6 +6283,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "replyToMessageForCourtAdminC100" @@ -6142,6 +6366,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "replyToMessageForLA" @@ -6222,6 +6449,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "replyToMessageForLA" @@ -6302,6 +6532,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "replyToMessageForJudiciary" @@ -6382,6 +6615,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "replyToMessageForJudiciary" @@ -6462,6 +6698,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "reviewDocumentsForSolAndCafcassC100" @@ -6542,6 +6781,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "reviewDocumentsForSolAndCafcassFL401" @@ -6622,6 +6864,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "reviewDocumentsForSolAndCafcassC100" @@ -6702,6 +6947,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "reviewDocumentsForSolAndCafcassFL401" @@ -6782,6 +7030,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "reviewDocumentsForSolAndCafcassC100" @@ -6862,6 +7113,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "reviewDocumentsForSolAndCafcassFL401" @@ -6942,6 +7196,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "reviewDocumentsForSolAndCafcassC100" @@ -7022,6 +7279,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "reviewDocumentsForSolAndCafcassFL401" @@ -7102,6 +7362,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "reviewRaRequestsC100" @@ -7182,6 +7445,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "reviewInactiveRaRequestsC100" @@ -7262,6 +7528,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "reviewRaRequestsFL401" @@ -7342,6 +7611,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "reviewInactiveRaRequestsFL401" @@ -7422,6 +7694,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "reviewDocumentsForSolAndCafcassC100" @@ -7502,6 +7777,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "reviewDocumentsForSolAndCafcassFL401" @@ -7582,6 +7860,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "reviewDocumentsForSolAndCafcassC100" @@ -7662,6 +7943,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "reviewDocumentsForSolAndCafcassC100" @@ -7742,6 +8026,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "reviewDocumentsForSolAndCafcassC100" @@ -7822,6 +8109,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "reviewDocumentsForSolAndCafcassC100" @@ -7902,6 +8192,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "reviewDocumentsForSolAndCafcassC100" @@ -7982,6 +8275,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "reviewDocumentsForSolAndCafcassC100" @@ -8062,6 +8358,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "listWithoutNoticeHearingC100" @@ -8142,6 +8441,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "listWithoutNoticeHearingFL401" @@ -8222,6 +8524,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "listOnNoticeHearingFL401" @@ -8302,6 +8607,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "reviewAdditionalApplication" @@ -8382,6 +8690,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "reviewAdditionalApplication" @@ -8462,6 +8773,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "reviewAdditionalApplication" @@ -8542,6 +8856,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "reviewAdditionalApplication" @@ -8622,6 +8939,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "checkAwpHwfCitizen" @@ -8702,6 +9022,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "reviewRaRequestsC100" @@ -8782,6 +9105,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "reviewRaRequestsFL401" @@ -8862,6 +9188,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "reviewLangAndSmReq" @@ -8942,6 +9271,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "reviewDocumentsForSolAndCafcassFL401" @@ -9022,6 +9354,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "confidentialCheckDocuments" @@ -9102,6 +9437,9 @@ and additionalData.Data.isHearingTaskNeeded != null) then + + + "checkAndReServeDocuments" @@ -9115,77 +9453,246 @@ and additionalData.Data.isHearingTaskNeeded != null) then "checkAndReServeDocuments" - - - "transferToAnotherCourt" + + + "reopenClosedCases" - - + + "CASE_ISSUED" - + + "FL401" + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - "newCaseTransferredToCourt" + + "sendToGateKeeperFL401" - + + "Send to Gatekeeper" + + + + + + "localCourtGatekeepingFL401" + + + + + "reopenClosedCases" + + + "CASE_ISSUED" + + + "C100" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + "sendToGateKeeperC100" + + + "Send to Gatekeeper" + + + + + + "localCourtGatekeepingC100" + + + + + "transferToAnotherCourt" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + "newCaseTransferredToCourt" + + "Case transferred to your court" @@ -9195,6 +9702,342 @@ and additionalData.Data.isHearingTaskNeeded != null) then "newCaseTransferredToCourt" + + + "cafcass-document-upload" + + + + + + "C100" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + "CAFCASS" + + + "True" + + + + + + + + + + + + + + + "reviewDocumentsForSolAndCafcassC100" + + + "Review Documents" + + + + + + "reviewDocsC100" + + + + + "cafcass-document-upload" + + + + + + "FL401" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + "CAFCASS" + + + "True" + + + + + + + + + + + + + + + "reviewDocumentsForSolAndCafcassFL401" + + + "Review Documents" + + + + + + "reviewDocsFL401" + + + + + "manageOrders" + + + + + + "C100","FL401" + + + "COURT_ADMIN" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + "Yes" + + + "reqSafeguardingLetterUpdate" + + + "Request SER Update" + + + { +"delayUntil": if (additionalData.data.safeGuardingLetterUploadDueDate != null and additionalData.data.safeGuardingLetterUploadDueDate != "") then date(additionalData.data.safeGuardingLetterUploadDueDate) else now() +} + + + "safeguardingLetterUpdate" + + + + + "adminEditAndApproveAnOrder" + + + + + + "C100","FL401" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + "Yes" + + + "reqSafeguardingLetterUpdate" + + + "Request SER Update" + + + { +"delayUntil": if (additionalData.data.safeGuardingLetterUploadDueDate != null and additionalData.data.safeGuardingLetterUploadDueDate != "") then date(additionalData.data.safeGuardingLetterUploadDueDate) else now() +} + + + "safeguardingLetterUpdate" + + diff --git a/src/main/resources/wa-task-permissions-privatelaw-prlapps.dmn b/src/main/resources/wa-task-permissions-privatelaw-prlapps.dmn index bb32409d..33f3e3e9 100644 --- a/src/main/resources/wa-task-permissions-privatelaw-prlapps.dmn +++ b/src/main/resources/wa-task-permissions-privatelaw-prlapps.dmn @@ -689,7 +689,7 @@ CTSC task permissions - "sendToGateKeeperC100","sendToGateKeeperResubmittedC100","removeLegalRepresentativeC100","replyToMessageForCourtAdminC100","reviewRaRequestsC100","reviewInactiveRaRequestsC100","reviewAdditionalApplication","reviewLangAndSmReq" + "sendToGateKeeperC100","sendToGateKeeperResubmittedC100","removeLegalRepresentativeC100","replyToMessageForCourtAdminC100","reviewRaRequestsC100","reviewInactiveRaRequestsC100","reviewAdditionalApplication","reviewLangAndSmReq","reqSafeguardingLetterUpdate" @@ -1086,4 +1086,4 @@ - + \ No newline at end of file diff --git a/src/main/resources/wa-task-types-privatelaw-prlapps.dmn b/src/main/resources/wa-task-types-privatelaw-prlapps.dmn index 5c9fe2bc..0e05f518 100644 --- a/src/main/resources/wa-task-types-privatelaw-prlapps.dmn +++ b/src/main/resources/wa-task-types-privatelaw-prlapps.dmn @@ -752,7 +752,19 @@ "Case transferred to your court" - + + + REQSERUPD + + + + + "reqSafeguardingLetterUpdate" + + + "Request to upload Safeguarding Letter from Cafcass / Cafcass Cymru" + + @@ -762,4 +774,4 @@ - + \ No newline at end of file diff --git a/src/test/java/uk/gov/hmcts/reform/prl/taskconfiguration/dmn/CamundaTaskConfigurationTest.java b/src/test/java/uk/gov/hmcts/reform/prl/taskconfiguration/dmn/CamundaTaskConfigurationTest.java index a14ba9ea..92749b11 100644 --- a/src/test/java/uk/gov/hmcts/reform/prl/taskconfiguration/dmn/CamundaTaskConfigurationTest.java +++ b/src/test/java/uk/gov/hmcts/reform/prl/taskconfiguration/dmn/CamundaTaskConfigurationTest.java @@ -34,7 +34,7 @@ void if_this_test_fails_needs_updating_with_your_changes() { DmnDecisionTableImpl logic = (DmnDecisionTableImpl) decision.getDecisionLogic(); assertThat(logic.getInputs().size(), is(3)); assertThat(logic.getOutputs().size(), is(3)); - assertThat(logic.getRules().size(), is(92)); + assertThat(logic.getRules().size(), is(93)); } 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 cc4b26f3..b9a0598b 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 @@ -39,9 +39,9 @@ public static void initialization() { void if_this_test_fails_needs_updating_with_your_changes() { //The purpose of this test is to prevent adding new rows without being tested DmnDecisionTableImpl logic = (DmnDecisionTableImpl) decision.getDecisionLogic(); - assertThat(logic.getInputs().size(), is(22)); + assertThat(logic.getInputs().size(), is(23)); assertThat(logic.getOutputs().size(), is(4)); - assertThat(logic.getRules().size(), is(112)); + assertThat(logic.getRules().size(), is(118)); } static Stream scenarioProvider() { @@ -1360,6 +1360,74 @@ static Stream scenarioProvider() { "taskId", "checkAndReServeDocuments" ) ) + ), + Arguments.of( + "reopenClosedCases", + "CASE_ISSUED", + mapAdditionalData("{\n" + + " \"Data\":{\n" + + " \"caseTypeOfApplication\":\"" + "FL401" + "\"\n" + + " }" + + "}"), + singletonList( + Map.of( + "taskId", "sendToGateKeeperFL401", + "name", "Send to Gatekeeper", + "processCategories", "localCourtGatekeepingFL401" + ) + ) + ), + Arguments.of( + "reopenClosedCases", + "CASE_ISSUED", + mapAdditionalData("{\n" + + " \"Data\":{\n" + + " \"caseTypeOfApplication\":\"" + "C100" + "\"\n" + + " }" + + "}"), + singletonList( + Map.of( + "taskId", "sendToGateKeeperC100", + "name", "Send to Gatekeeper", + "processCategories", "localCourtGatekeepingC100" + ) + ) + ), + Arguments.of( + "cafcass-document-upload", + null, + mapAdditionalData("{\n" + + " \"Data\":{\n" + + " \"caseTypeOfApplication\":\"" + "C100" + "\"\n," + + " \"manageDocumentsTriggeredBy\":\"" + "CAFCASS" + "\"\n," + + " \"manageDocumentsRestrictedFlag\":\"" + "True" + "\"\n" + + " }" + + "}"), + List.of( + Map.of( + "name", "Review Documents", + "processCategories", "reviewDocsC100", + "taskId", "reviewDocumentsForSolAndCafcassC100" + ) + ) + ), + Arguments.of( + "cafcass-document-upload", + null, + mapAdditionalData("{\n" + + " \"Data\":{\n" + + " \"caseTypeOfApplication\":\"" + "FL401" + "\"\n," + + " \"manageDocumentsTriggeredBy\":\"" + "CAFCASS" + "\"\n," + + " \"manageDocumentsRestrictedFlag\":\"" + "True" + "\"\n" + + " }" + + "}"), + List.of( + Map.of( + "name", "Review Documents", + "processCategories", "reviewDocsFL401", + "taskId", "reviewDocumentsForSolAndCafcassFL401" + ) + ) ) ); } diff --git a/src/test/java/uk/gov/hmcts/reform/prl/taskconfiguration/dmn/CamundaTaskTypeFilterTest.java b/src/test/java/uk/gov/hmcts/reform/prl/taskconfiguration/dmn/CamundaTaskTypeFilterTest.java index 0c830c36..9c211727 100644 --- a/src/test/java/uk/gov/hmcts/reform/prl/taskconfiguration/dmn/CamundaTaskTypeFilterTest.java +++ b/src/test/java/uk/gov/hmcts/reform/prl/taskconfiguration/dmn/CamundaTaskTypeFilterTest.java @@ -154,6 +154,8 @@ static Stream scenarioProvider() { "taskTypeName", "Check and re-serve documents")); taskTypes.add(Map.of("taskTypeId", "newCaseTransferredToCourt", "taskTypeName", "Case transferred to your court")); + taskTypes.add(Map.of("taskTypeId", "reqSafeguardingLetterUpdate", + "taskTypeName", "Request to upload Safeguarding Letter from Cafcass / Cafcass Cymru")); return Stream.of( Arguments.of( taskTypes @@ -177,6 +179,6 @@ void if_this_test_fails_needs_updating_with_your_changes() { DmnDecisionTableImpl logic = (DmnDecisionTableImpl) decision.getDecisionLogic(); assertThat(logic.getInputs().size(), is(1)); assertThat(logic.getOutputs().size(), is(2)); - assertThat(logic.getRules().size(), is(62)); + assertThat(logic.getRules().size(), is(63)); } }