diff --git a/ccdImports/configFiles/CCD_Probate_Backoffice/AuthorisationCaseEvent.json b/ccdImports/configFiles/CCD_Probate_Backoffice/AuthorisationCaseEvent.json index b18e7107dd..8b986bad6f 100644 --- a/ccdImports/configFiles/CCD_Probate_Backoffice/AuthorisationCaseEvent.json +++ b/ccdImports/configFiles/CCD_Probate_Backoffice/AuthorisationCaseEvent.json @@ -163,6 +163,7 @@ {"CaseTypeID": "GrantOfRepresentation", "CaseEventID": "changeState", "UserRole": "caseworker-probate-issuer", "CRUD": "R"}, {"CaseTypeID": "GrantOfRepresentation", "CaseEventID": "changeDob", "UserRole": "caseworker-probate-issuer", "CRUD": "R"}, {"CaseTypeID": "GrantOfRepresentation", "CaseEventID": "citizenHubResponse", "UserRole": "caseworker-probate-issuer", "CRUD": "R"}, + {"CaseTypeID": "GrantOfRepresentation", "CaseEventID": "boResolveCaveatStop", "UserRole": "caseworker-probate-issuer", "CRUD": "CRUD"}, {"CaseTypeID": "GrantOfRepresentation", "CaseEventID": "applyForGrant", "UserRole": "caseworker-probate-caseadmin", "CRUD": "CR"}, {"CaseTypeID": "GrantOfRepresentation", "CaseEventID": "createCase", "UserRole": "caseworker-probate-caseadmin", "CRUD": "R"}, {"CaseTypeID": "GrantOfRepresentation", "CaseEventID": "createCaseFromBulkScan", "UserRole": "caseworker-probate-caseadmin", "CRUD": "R"}, @@ -324,6 +325,7 @@ {"CaseTypeID": "GrantOfRepresentation", "CaseEventID": "changeState", "UserRole": "caseworker-probate-caseadmin", "CRUD": "R"}, {"CaseTypeID": "GrantOfRepresentation", "CaseEventID": "changeDob", "UserRole": "caseworker-probate-caseadmin", "CRUD": "R"}, {"CaseTypeID": "GrantOfRepresentation", "CaseEventID": "citizenHubResponse", "UserRole": "caseworker-probate-caseadmin", "CRUD": "R"}, + {"CaseTypeID": "GrantOfRepresentation", "CaseEventID": "boResolveCaveatStop", "UserRole": "caseworker-probate-caseadmin", "CRUD": "CRUD"}, {"CaseTypeID": "GrantOfRepresentation", "CaseEventID": "applyForGrant", "UserRole": "caseworker-probate-caseofficer", "CRUD": "CR"}, {"CaseTypeID": "GrantOfRepresentation", "CaseEventID": "createCase", "UserRole": "caseworker-probate-caseofficer", "CRUD": "R"}, {"CaseTypeID": "GrantOfRepresentation", "CaseEventID": "createCaseFromBulkScan", "UserRole": "caseworker-probate-caseofficer", "CRUD": "R"}, @@ -486,6 +488,7 @@ {"CaseTypeID": "GrantOfRepresentation", "CaseEventID": "changeState", "UserRole": "caseworker-probate-caseofficer", "CRUD": "R"}, {"CaseTypeID": "GrantOfRepresentation", "CaseEventID": "changeDob", "UserRole": "caseworker-probate-caseofficer", "CRUD": "R"}, {"CaseTypeID": "GrantOfRepresentation", "CaseEventID": "citizenHubResponse", "UserRole": "caseworker-probate-caseofficer", "CRUD": "R"}, + {"CaseTypeID": "GrantOfRepresentation", "CaseEventID": "boResolveCaveatStop", "UserRole": "caseworker-probate-caseofficer", "CRUD": "CRUD"}, {"CaseTypeID": "GrantOfRepresentation", "CaseEventID": "applyForGrant", "UserRole": "caseworker-probate-registrar", "CRUD": "CR"}, {"CaseTypeID": "GrantOfRepresentation", "CaseEventID": "createCase", "UserRole": "caseworker-probate-registrar", "CRUD": "R"}, {"CaseTypeID": "GrantOfRepresentation", "CaseEventID": "createCaseFromBulkScan", "UserRole": "caseworker-probate-registrar", "CRUD": "R"}, @@ -813,6 +816,7 @@ {"CaseTypeID": "GrantOfRepresentation", "CaseEventID": "citizenHubResponse", "UserRole": "caseworker-probate-superuser", "CRUD": "R"}, {"CaseTypeID": "GrantOfRepresentation", "CaseEventID": "serviceRequestPaymentSuccess", "UserRole": "caseworker-probate-superuser", "CRUD": "CRUD"}, {"CaseTypeID": "GrantOfRepresentation", "CaseEventID": "serviceRequestPaymentFailed", "UserRole": "caseworker-probate-superuser", "CRUD": "CRUD"}, + {"CaseTypeID": "GrantOfRepresentation", "CaseEventID": "boResolveCaveatStop", "UserRole": "caseworker-probate-superuser", "CRUD": "CRUD"}, {"CaseTypeID": "GrantOfRepresentation", "CaseEventID": "makeCaseDormant", "UserRole": "caseworker-probate-systemupdate", "CRUD": "CRUD"}, {"CaseTypeID": "GrantOfRepresentation", "CaseEventID": "superUserMakeCaseDormant", "UserRole": "caseworker-probate-systemupdate", "CRUD": "CRUD"}, {"CaseTypeID": "GrantOfRepresentation", "CaseEventID": "reactivateDormantCase", "UserRole": "caseworker-probate-systemupdate", "CRUD": "CRUD"}, @@ -964,6 +968,7 @@ {"CaseTypeID": "GrantOfRepresentation", "CaseEventID": "solicitorReviewAndConfirm", "UserRole": "caseworker-probate-scheduler", "CRUD": "R"}, {"CaseTypeID": "GrantOfRepresentation", "CaseEventID": "applyForGrant", "UserRole": "caseworker-probate-scheduler", "CRUD": "R"}, {"CaseTypeID": "GrantOfRepresentation", "CaseEventID": "createApplication", "UserRole": "caseworker-probate-scheduler", "CRUD": "R"}, + {"CaseTypeID": "GrantOfRepresentation", "CaseEventID": "boResolveCaveatStop", "UserRole": "caseworker-probate-scheduler", "CRUD": "R"}, {"CaseTypeID": "GrantOfRepresentation", "CaseEventID": "createCase", "UserRole": "caseworker-probate-solicitor", "CRUD": "R"}, {"CaseTypeID": "GrantOfRepresentation", "CaseEventID": "applyForGrant", "UserRole": "caseworker-probate-solicitor", "CRUD": "R"}, {"CaseTypeID": "GrantOfRepresentation", "CaseEventID": "solicitorCreateApplication", "UserRole": "caseworker-probate-solicitor", "CRUD": "CRUD"}, @@ -1075,6 +1080,7 @@ {"CaseTypeID": "GrantOfRepresentation", "CaseEventID": "resolveCWEscalation", "UserRole": "caseworker-probate-solicitor", "CRUD": "R"}, {"CaseTypeID": "GrantOfRepresentation", "CaseEventID": "changeState", "UserRole": "caseworker-probate-solicitor", "CRUD": "R"}, {"CaseTypeID": "GrantOfRepresentation", "CaseEventID": "changeDob", "UserRole": "caseworker-probate-solicitor", "CRUD": "R"}, + {"CaseTypeID": "GrantOfRepresentation", "CaseEventID": "boResolveCaveatStop", "UserRole": "caseworker-probate-solicitor", "CRUD": "R"}, {"CaseTypeID": "GrantOfRepresentation", "CaseEventID": "applyForGrant", "UserRole": "citizen", "CRUD": "C"}, {"CaseTypeID": "GrantOfRepresentation", "CaseEventID": "createCase", "UserRole": "citizen", "CRUD": "CRU"}, {"CaseTypeID": "GrantOfRepresentation", "CaseEventID": "createCasePaymentFailed", "UserRole": "citizen", "CRUD": "CRU"}, diff --git a/ccdImports/configFiles/CCD_Probate_Backoffice/AuthorisationCaseField.json b/ccdImports/configFiles/CCD_Probate_Backoffice/AuthorisationCaseField.json index 3d7863bfb2..80304d313f 100644 --- a/ccdImports/configFiles/CCD_Probate_Backoffice/AuthorisationCaseField.json +++ b/ccdImports/configFiles/CCD_Probate_Backoffice/AuthorisationCaseField.json @@ -475,6 +475,7 @@ {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "citizenResponses", "UserRole": "caseworker-probate-issuer", "CRUD": "R"}, {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "citizenDocumentsUploaded", "UserRole": "caseworker-probate-issuer", "CRUD": "CRUD"}, {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "registrarEscalateReason", "UserRole": "caseworker-probate-issuer", "CRUD": "CRUD"}, + {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "resolveCaveatStopState", "UserRole": "caseworker-probate-issuer", "CRUD": "CRUD"}, {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "schemaVersion", "UserRole": "caseworker-probate-caseadmin", "CRUD": "CRUD"}, {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "customHistoryViewer", "UserRole": "caseworker-probate-caseadmin", "CRUD": "R"}, {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "customPaymentHistoryViewer", "UserRole": "caseworker-probate-caseadmin", "CRUD": "R"}, @@ -947,6 +948,7 @@ {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "citizenResponses", "UserRole": "caseworker-probate-caseadmin", "CRUD": "R"}, {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "citizenDocumentsUploaded", "UserRole": "caseworker-probate-caseadmin", "CRUD": "CRUD"}, {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "registrarEscalateReason", "UserRole": "caseworker-probate-caseadmin", "CRUD": "CRUD"}, + {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "resolveCaveatStopState", "UserRole": "caseworker-probate-caseadmin", "CRUD": "CRUD"}, {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "schemaVersion", "UserRole": "caseworker-probate-caseofficer", "CRUD": "CRUD"}, {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "customHistoryViewer", "UserRole": "caseworker-probate-caseofficer", "CRUD": "R"}, {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "customPaymentHistoryViewer", "UserRole": "caseworker-probate-caseofficer", "CRUD": "R"}, @@ -1419,6 +1421,7 @@ {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "citizenResponses", "UserRole": "caseworker-probate-caseofficer", "CRUD": "R"}, {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "citizenDocumentsUploaded", "UserRole": "caseworker-probate-caseofficer", "CRUD": "CRUD"}, {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "registrarEscalateReason", "UserRole": "caseworker-probate-caseofficer", "CRUD": "CRUD"}, + {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "resolveCaveatStopState", "UserRole": "caseworker-probate-caseofficer", "CRUD": "CRUD"}, {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "schemaVersion", "UserRole": "caseworker-probate-registrar", "CRUD": "CRUD"}, {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "customHistoryViewer", "UserRole": "caseworker-probate-registrar", "CRUD": "R"}, {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "customPaymentHistoryViewer", "UserRole": "caseworker-probate-registrar", "CRUD": "R"}, @@ -1889,6 +1892,7 @@ {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "citizenResponses", "UserRole": "caseworker-probate-registrar", "CRUD": "R"}, {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "citizenDocumentsUploaded", "UserRole": "caseworker-probate-registrar", "CRUD": "CRUD"}, {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "registrarEscalateReason", "UserRole": "caseworker-probate-registrar", "CRUD": "CRUD"}, + {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "resolveCaveatStopState", "UserRole": "caseworker-probate-registrar", "CRUD": "CRUD"}, {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "schemaVersion", "UserRole": "caseworker-probate-superuser", "CRUD": "CRUD"}, {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "moveToDormantDateTime", "UserRole": "caseworker-probate-superuser", "CRUD": "CRUD"}, {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "customHistoryViewer", "UserRole": "caseworker-probate-superuser", "CRUD": "R"}, @@ -2363,6 +2367,7 @@ {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "lastModifiedCaseworkerForenames", "UserRole": "caseworker-probate-superuser", "CRUD": "CRUD"}, {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "lastModifiedCaseworkerSurname", "UserRole": "caseworker-probate-superuser", "CRUD": "CRUD"}, {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "registrarEscalateReason", "UserRole": "caseworker-probate-superuser", "CRUD": "CRUD"}, + {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "resolveCaveatStopState", "UserRole": "caseworker-probate-superuser", "CRUD": "CRUD"}, {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "schemaVersion", "UserRole": "caseworker-probate-scheduler", "CRUD": "CRUD"}, {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "customHistoryViewer", "UserRole": "caseworker-probate-scheduler", "CRUD": "R"}, {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "customPaymentHistoryViewer", "UserRole": "caseworker-probate-scheduler", "CRUD": "R"}, @@ -2833,6 +2838,7 @@ {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "expectedResponseDate", "UserRole": "caseworker-probate-scheduler", "CRUD": "CRUD"}, {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "citizenResponses", "UserRole": "caseworker-probate-scheduler", "CRUD": "CRUD"}, {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "citizenDocumentsUploaded", "UserRole": "caseworker-probate-scheduler", "CRUD": "CRUD"}, + {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "resolveCaveatStopState", "UserRole": "caseworker-probate-scheduler", "CRUD": "CRUD"}, {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "applicantOrganisationPolicy", "UserRole": "caseworker-caa", "CRUD": "CRUD"}, {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "deceasedForenames", "UserRole": "caseworker-caa", "CRUD": "CRUD"}, {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "deceasedSurname", "UserRole": "caseworker-caa", "CRUD": "CRUD"}, @@ -3097,6 +3103,7 @@ {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "ihtFormNetValue", "UserRole": "caseworker-probate-solicitor", "CRUD": "CRUD"}, {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "lastModifiedDateForDormant", "UserRole": "caseworker-probate-solicitor", "CRUD": "CRUD"}, {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "boHandoffReasonList", "UserRole": "caseworker-probate-solicitor", "CRUD": "CRU"}, + {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "resolveCaveatStopState", "UserRole": "caseworker-probate-solicitor", "CRUD": "R"}, {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "schemaVersion", "UserRole": "citizen", "CRUD": "CRUD"}, {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "applicationID", "UserRole": "citizen", "CRUD": "CR"}, {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "applicationSubmittedDate", "UserRole": "citizen", "CRUD": "CRU"}, @@ -3765,6 +3772,7 @@ {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "expectedResponseDate", "UserRole": "caseworker-probate-systemupdate", "CRUD": "CRUD"}, {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "citizenDocumentsUploaded", "UserRole": "caseworker-probate-systemupdate", "CRUD": "CRUD"}, {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "citizenResponses", "UserRole": "caseworker-probate-systemupdate", "CRUD": "CRUD"}, + {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "resolveCaveatStopState", "UserRole": "caseworker-probate-systemupdate", "CRUD": "CRUD"}, {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "schemaVersion", "UserRole": "caseworker-probate-rparobot", "CRUD": "CRUD"}, {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "customHistoryViewer", "UserRole": "caseworker-probate-rparobot", "CRUD": "R"}, {"CaseTypeID": "GrantOfRepresentation", "CaseFieldID": "customPaymentHistoryViewer", "UserRole": "caseworker-probate-rparobot", "CRUD": "R"}, diff --git a/ccdImports/configFiles/CCD_Probate_Backoffice/CaseEvent.json b/ccdImports/configFiles/CCD_Probate_Backoffice/CaseEvent.json index 4d83c4193e..34f0e5e5a6 100644 --- a/ccdImports/configFiles/CCD_Probate_Backoffice/CaseEvent.json +++ b/ccdImports/configFiles/CCD_Probate_Backoffice/CaseEvent.json @@ -134,62 +134,63 @@ {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boRequestInfoForCaseStopped", "Name": "Request information", "Description": "Request information", "DisplayOrder": 132, "PreConditionState(s)": "BOCaseStopped;BOGrantIssued;BOPostGrantIssued;BOCaseStoppedReissue", "PostConditionState": "*", "CallBackURLAboutToStartEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/notify/request-information-default-values", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/notify/stopped-information-request", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boResolvePostGrantIssue", "Name": "Resolve Post Grant Issue", "Description": "Resolve Post Grant Issue", "DisplayOrder": 133, "PreConditionState(s)": "BOPostGrantIssued;BOPostGrantIssuedRegistrarEscalation;", "PostConditionState": "BOGrantIssued", "SecurityClassification": "Public","CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/case/setLastModifiedDate", "ShowSummary": "N", "ShowEventNotes": "Y"}, {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "resolveCWEscalation", "Name": "Resolve SME Referral", "Description": "Resolve SME Referral", "DisplayOrder": 134, "PreConditionState(s)": "BOCaseWorkerEscalation", "PostConditionState": "*", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/case/resolve-case-worker-escalated", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boResolveStop", "Name": "Resolve stop", "Description": "Resolve the stop placed on the case", "DisplayOrder": 135, "PreConditionState(s)": "BOCaseStopped", "PostConditionState": "CasePrinted", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/case/resolveStop", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boResolveStopReissue", "Name": "Resolve stop", "Description": "Resolve the stop placed on the case", "DisplayOrder": 136, "PreConditionState(s)": "BOCaseStoppedReissue", "PostConditionState": "BOExaminingReissue", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/tasklist/update", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boSelectForQA", "Name": "Select for QA", "Description": "Select the case for quality assurance", "DisplayOrder": 137, "PreConditionState(s)": "CasePrinted", "PostConditionState": "BOCaseQA", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/tasklist/update", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "levSelectFromMultipleRecords", "Name": "Select from multiple records", "Description": "Select from multiple records", "DisplayOrder": 138, "PreConditionState(s)": "*", "PostConditionState": "*", "SecurityClassification": "Public", "ShowSummary": "N", "CallBackURLAboutToStartEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/lifeevent/selectFromMultipleRecordsAboutToStart", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boNotifyRedeclarationSOT", "Name": "Send redec notification", "Description": "Send redeclaration notification", "DisplayOrder": 139, "PreConditionState(s)": "BOSotGenerated", "PostConditionState": "BORedecNotificationSent", "CallBackURLAboutToStartEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/notify/redeclaration-sot-default-values", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/notify/redeclaration-sot", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "serviceRequestPaymentFailed","Name": "ServiceRequest payment failed","Description": "Callback to update payment info upon Service Request Payment invocation","DisplayOrder": 140, "PreConditionState(s)": "CaseCreated","PostConditionState": "CaseCreated","SecurityClassification": "Public","ShowSummary": "N", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/payment/update-tasklist", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "serviceRequestPaymentSuccess","Name": "ServiceRequest payment success","Description": "Callback to update payment info upon Service Request Payment invocation","DisplayOrder": 141, "PreConditionState(s)": "CaseCreated","PostConditionState": "CasePrinted","SecurityClassification": "Public","ShowSummary": "N", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/payment/update-tasklist", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "moveToCWEscalation", "Name": "SME Referral", "Description": "SME Referral", "DisplayOrder": 142, "PreConditionState(s)": "BOExamining;BOCaseStopped;BORegistrarEscalation;BOReadyForExamination;BOCaveatPermenant;BOReadyToIssue;BOCaseQA;BOCaseMatchingIssueGrant;BOCaseMatchingExamining;BOCaseStoppedAwaitRedec;CasePrinted;", "PostConditionState": "BOCaseWorkerEscalation", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/case/case-worker-escalated", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "scheduledStartGrantDelayNotificationPeriod", "Name": "Start grant delay period", "Description": "Start grant delay notification period", "DisplayOrder": 143, "PreConditionState(s)": "*", "PostConditionState": "*", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boStopCaseForCaseMatchingForExamining", "Name": "Stop case", "Description": "Stop case", "DisplayOrder": 144, "PreConditionState(s)": "BOReadyToIssue", "PostConditionState": "BOCaseStopped", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/case/case-stopped", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boStopCase", "Name": "Stop case", "Description": "Mark the case as stopped", "DisplayOrder": 145, "PreConditionState(s)": "BOExamining", "PostConditionState": "BOCaseStopped", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/case/case-stopped", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boStopCaseForRegistrarEscalations", "Name": "Stop case", "Description": "Mark the case as stopped", "DisplayOrder": 146, "PreConditionState(s)": "BORegistrarEscalation", "PostConditionState": "BOCaseStopped", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/case/case-stopped", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boStopCaseForCaseMatching", "Name": "Stop case", "Description": "Stop case", "DisplayOrder": 147, "PreConditionState(s)": "BOCaseMatchingIssueGrant", "PostConditionState": "BOCaseStopped", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/case/case-stopped", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boStopCaseForCaseCreated", "Name": "Stop case", "Description": "Mark the case as stopped", "DisplayOrder": 148, "PreConditionState(s)": "CaseCreated", "PostConditionState": "BOCaseStopped", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/case/case-stopped", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boStopCaseForCasePrinted", "Name": "Stop case", "Description": "Mark the case as stopped", "DisplayOrder": 149, "PreConditionState(s)": "CasePrinted", "PostConditionState": "BOCaseStopped", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/case/case-stopped", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boStopCaseForReadyForExamination", "Name": "Stop case", "Description": "Mark the case as stopped", "DisplayOrder": 150, "PreConditionState(s)": "BOReadyForExamination", "PostConditionState": "BOCaseStopped", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/case/case-stopped", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boStopCaseForGrantReissueExamining", "Name": "Stop case (reissue)", "Description": "Mark the case as stopped", "DisplayOrder": 151, "PreConditionState(s)": "BOExaminingReissue", "PostConditionState": "BOCaseStoppedReissue", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/case/case-stopped", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boStopCaseForGrantReissueMatching", "Name": "Stop case (reissue)", "Description": "Mark the case as stopped", "DisplayOrder": 152, "PreConditionState(s)": "BOCaseMatchingReissue", "PostConditionState": "BOCaseStoppedReissue", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/case/case-stopped", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "SYSTEM_MAINTENANCE", "Name": "System maintenance", "Description": "Maintenance updates to cases, made automatically by the system", "DisplayOrder": 153, "PreConditionState(s)": "*", "PostConditionState": "*", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/tasklist/update", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "updateApplication", "Name": "Update Application", "Description": "Update Application", "DisplayOrder": 154, "PreConditionState(s)": "PAAppCreated", "PostConditionState": "PAAppCreated", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/tasklist/update", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "updateCasePaymentFailed", "Name": "Update Case Payment Failed", "Description": "Update Case Payment Failed", "DisplayOrder": 155, "PreConditionState(s)": "CasePaymentFailed", "PostConditionState": "CasePaymentFailed", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "updateDraft", "Name": "Update Draft", "Description": "Update Draft", "DisplayOrder": 156, "PreConditionState(s)": "Pending", "PostConditionState": "Pending", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boUploadDocumentsAwaitingDoc", "Name": "Upload Documents", "Description": "Upload Documents", "DisplayOrder": 157, "PreConditionState(s)": "CasePrinted", "PostConditionState": "CasePrinted", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/document/evidenceAdded", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boUploadDocumentsExamine", "Name": "Upload Documents", "Description": "Upload Documents", "DisplayOrder": 158, "PreConditionState(s)": "BOExamining", "PostConditionState": "BOExamining", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/document/evidenceAdded", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boUploadDocumentsStop", "Name": "Upload Documents", "Description": "Upload Documents", "DisplayOrder": 159, "PreConditionState(s)": "BOCaseStopped", "PostConditionState": "BOCaseStopped", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/document/evidenceAdded", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boUploadDocumentsForRegistrarEscalations", "Name": "Upload Documents", "Description": "Upload Documents", "DisplayOrder": 160, "PreConditionState(s)": "BORegistrarEscalation", "PostConditionState": "BORegistrarEscalation", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/document/evidenceAdded", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boUploadDocumentsForCaseCreated", "Name": "Upload Documents", "Description": "Upload Documents", "DisplayOrder": 161, "PreConditionState(s)": "CaseCreated", "PostConditionState": "CaseCreated", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/document/evidenceAdded", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boUploadDocumentsForCasePaymentFailed", "Name": "Upload Documents", "Description": "Upload Documents", "DisplayOrder": 162, "PreConditionState(s)": "CasePaymentFailed", "PostConditionState": "CasePaymentFailed", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/document/evidenceAdded", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boUploadDocumentsForReadyForExamination", "Name": "Upload Documents", "Description": "Upload Documents", "DisplayOrder": 163, "PreConditionState(s)": "BOReadyForExamination", "PostConditionState": "BOReadyForExamination", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/document/evidenceAdded", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boUploadDocumentsForCaveatPermenant", "Name": "Upload Documents", "Description": "Upload Documents", "DisplayOrder": 164, "PreConditionState(s)": "BOCaveatPermenant", "PostConditionState": "BOCaveatPermenant", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/document/evidenceAdded", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boUploadDocumentsForReadyToIssue", "Name": "Upload Documents", "Description": "Upload Documents", "DisplayOrder": 165, "PreConditionState(s)": "BOReadyToIssue", "PostConditionState": "BOReadyToIssue", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/document/evidenceAdded", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boUploadDocumentsForCaseQa", "Name": "Upload Documents", "Description": "Upload Documents", "DisplayOrder": 166, "PreConditionState(s)": "BOCaseQA", "PostConditionState": "BOCaseQA", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/document/evidenceAdded", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boUploadDocumentsForCaseMatchingIssueGrant", "Name": "Upload Documents", "Description": "Upload Documents", "DisplayOrder": 167, "PreConditionState(s)": "BOCaseMatchingIssueGrant", "PostConditionState": "BOCaseMatchingIssueGrant", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/document/evidenceAdded", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boUploadDocumentsForCaseMatchingExamining", "Name": "Upload Documents", "Description": "Upload Documents", "DisplayOrder": 168, "PreConditionState(s)": "BOCaseMatchingExamining", "PostConditionState": "BOCaseMatchingExamining", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/document/evidenceAdded", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boUploadDocumentsForGrantIssued", "Name": "Upload Documents", "Description": "Upload Documents", "DisplayOrder": 169, "PreConditionState(s)": "BOGrantIssued", "PostConditionState": "BOGrantIssued", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/document/evidenceAdded", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boUploadDocsForGrantRegistrarEscalation", "Name": "Upload Documents", "Description": "Upload Documents", "DisplayOrder": 170, "PreConditionState(s)": "BOGrantIssuedRegistrarEscalation", "PostConditionState": "BOGrantIssuedRegistrarEscalation", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/document/evidenceAdded", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boUploadDocumentsForCaseClosed", "Name": "Upload Documents", "Description": "Upload Documents", "DisplayOrder": 171, "PreConditionState(s)": "BOCaseClosed", "PostConditionState": "BOCaseClosed", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/document/evidenceAdded", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boUploadDocsForExaminingReissue", "Name": "Upload Documents", "Description": "Upload Documents", "DisplayOrder": 172, "PreConditionState(s)": "BOExaminingReissue", "PostConditionState": "BOExaminingReissue", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/document/evidenceAdded", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boUploadDocsForCaseMatchingReissue", "Name": "Upload Documents", "Description": "Upload Documents", "DisplayOrder": 173, "PreConditionState(s)": "BOCaseMatchingReissue", "PostConditionState": "BOCaseMatchingReissue", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/document/evidenceAdded", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boUploadDocsForCaseStoppedReissue", "Name": "Upload Documents", "Description": "Upload Documents", "DisplayOrder": 174, "PreConditionState(s)": "BOCaseStoppedReissue", "PostConditionState": "BOCaseStoppedReissue", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/document/evidenceAdded", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boUploadDocsForPostGrantIssue", "Name": "Upload Documents", "Description": "Upload Documents", "DisplayOrder": 175, "PreConditionState(s)": "BOPostGrantIssued", "PostConditionState": "BOPostGrantIssued", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/document/evidenceAdded", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boUploadDocsForPostGrantRegistrarEscalation", "Name": "Upload Documents", "Description": "Upload Documents", "DisplayOrder": 176, "PreConditionState(s)": "BOPostGrantIssuedRegistrarEscalation", "PostConditionState": "BOPostGrantIssuedRegistrarEscalation", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/document/evidenceAdded", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boUploadDocsForSMEReferral", "Name": "Upload Documents", "Description": "Upload Documents", "DisplayOrder": 177, "PreConditionState(s)": "BOCaseWorkerEscalation", "PostConditionState": "BOCaseWorkerEscalation", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/document/evidenceAdded", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "uploadDocumentsDormantCase", "Name": "Upload documents dormant case", "Description": "Upload documents dormant case", "DisplayOrder": 178, "PreConditionState(s)": "Dormant", "PostConditionState": "BOCaseStopped", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/case/reactivate-case", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boRobotUploadDocuments", "Name": "Upload Documents (Robot)", "Description": "Upload Documents (Robot)", "DisplayOrder": 179, "PreConditionState(s)": "CasePrinted;BOExamining;BOCaseStopped;BORegistrarEscalation;CaseCreated;CasePaymentFailed;BOReadyForExamination;BOCaveatPermenant;BOReadyToIssue;BOCaseQA;BOCaseMatchingIssueGrant;BOCaseMatchingExamining;BOGrantIssued;BOCaseClosed;BOExaminingReissue;BOCaseMatchingReissue;BOCaseStoppedReissue", "PostConditionState": "*", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/document/evidenceAddedRPARobot", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boWithdrawApplicationForCasePrinted", "Name": "Withdraw application", "Description": "Withdraw application", "DisplayOrder": 180, "PreConditionState(s)": "CasePrinted", "PostConditionState": "BOCaseClosed", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/tasklist/update", "SecurityClassification": "public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boWithdrawApplicationForReadyForExamination", "Name": "Withdraw application", "Description": "Withdraw application", "DisplayOrder": 181, "PreConditionState(s)": "BOReadyForExamination", "PostConditionState": "BOCaseClosed", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/tasklist/update", "SecurityClassification": "public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boWithdrawApplicationForExamining", "Name": "Withdraw application", "Description": "Withdraw application", "DisplayOrder": 182, "PreConditionState(s)": "BOExamining", "PostConditionState": "BOCaseClosed", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/tasklist/update", "SecurityClassification": "public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boWithdrawApplicationForCaseStopped", "Name": "Withdraw application", "Description": "Withdraw application", "DisplayOrder": 183, "PreConditionState(s)": "BOCaseStopped", "PostConditionState": "BOCaseClosed", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/tasklist/update", "SecurityClassification": "public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boWithdrawApplicationForCaveatPermenant", "Name": "Withdraw application", "Description": "Withdraw application", "DisplayOrder": 184, "PreConditionState(s)": "BOCaveatPermenant", "PostConditionState": "BOCaseClosed", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/tasklist/update", "SecurityClassification": "public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boWithdrawApplicationForRegistrarEscalation", "Name": "Withdraw application", "Description": "Withdraw application", "DisplayOrder": 185, "PreConditionState(s)": "BORegistrarEscalation", "PostConditionState": "BOCaseClosed", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/tasklist/update", "SecurityClassification": "public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boWithdrawApplicationForReadyToIssue", "Name": "Withdraw application", "Description": "Withdraw application", "DisplayOrder": 186, "PreConditionState(s)": "BOReadyToIssue", "PostConditionState": "BOCaseClosed", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/tasklist/update", "SecurityClassification": "public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boWithdrawApplicationForCaseQA", "Name": "Withdraw application", "Description": "Withdraw application", "DisplayOrder": 187, "PreConditionState(s)": "BOCaseQA", "PostConditionState": "BOCaseClosed", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/tasklist/update", "SecurityClassification": "public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boWithdrawApplicationForCaseMatchingIssueGrant", "Name": "Withdraw application", "Description": "Withdraw application", "DisplayOrder": 188, "PreConditionState(s)": "BOCaseMatchingIssueGrant", "PostConditionState": "BOCaseClosed", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/tasklist/update", "SecurityClassification": "public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boWithdrawApplicationForCaseMatchingExamining", "Name": "Withdraw application", "Description": "Withdraw application", "DisplayOrder": 189, "PreConditionState(s)": "BOCaseMatchingExamining", "PostConditionState": "BOCaseClosed", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/tasklist/update", "SecurityClassification": "public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boWithdrawForRedeclarationSOT", "Name": "Withdraw redeclaration", "Description": "Withdraw redeclaration", "DisplayOrder": 190, "PreConditionState(s)": "BOCaseStoppedAwaitRedec", "PostConditionState": "BOCaseStopped", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/tasklist/update", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "citizenHubResponse", "Name": "Citizen hub response", "Description": "Citizen hub response", "DisplayOrder": 191, "PreConditionState(s)": "BOCaseStopped;Dormant", "PostConditionState": "*", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/document/citizenHubResponse","SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "citizenHubResponseDraft", "Name": "Citizen hub response draft", "Description": "Citizen hub response draft", "DisplayOrder": 192, "PreConditionState(s)": "BOCaseStopped;Dormant", "PostConditionState": "*", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/document/citizenHubResponse","SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"} + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boResolveCaveatStop", "Name": "Resolve Caveat Stop", "Description": "Resolve Caveat Stop", "DisplayOrder": 135, "PreConditionState(s)": "BOCaveatPermenant", "PostConditionState": "*", "SecurityClassification": "Public", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/case/resolveCaveatStopState","ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boResolveStop", "Name": "Resolve stop", "Description": "Resolve the stop placed on the case", "DisplayOrder": 136, "PreConditionState(s)": "BOCaseStopped", "PostConditionState": "CasePrinted", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/case/resolveStop", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boResolveStopReissue", "Name": "Resolve stop", "Description": "Resolve the stop placed on the case", "DisplayOrder": 137, "PreConditionState(s)": "BOCaseStoppedReissue", "PostConditionState": "BOExaminingReissue", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/tasklist/update", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boSelectForQA", "Name": "Select for QA", "Description": "Select the case for quality assurance", "DisplayOrder": 138, "PreConditionState(s)": "CasePrinted", "PostConditionState": "BOCaseQA", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/tasklist/update", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "levSelectFromMultipleRecords", "Name": "Select from multiple records", "Description": "Select from multiple records", "DisplayOrder": 139, "PreConditionState(s)": "*", "PostConditionState": "*", "SecurityClassification": "Public", "ShowSummary": "N", "CallBackURLAboutToStartEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/lifeevent/selectFromMultipleRecordsAboutToStart", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boNotifyRedeclarationSOT", "Name": "Send redec notification", "Description": "Send redeclaration notification", "DisplayOrder": 140, "PreConditionState(s)": "BOSotGenerated", "PostConditionState": "BORedecNotificationSent", "CallBackURLAboutToStartEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/notify/redeclaration-sot-default-values", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/notify/redeclaration-sot", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "serviceRequestPaymentFailed","Name": "ServiceRequest payment failed","Description": "Callback to update payment info upon Service Request Payment invocation","DisplayOrder": 141, "PreConditionState(s)": "CaseCreated","PostConditionState": "CaseCreated","SecurityClassification": "Public","ShowSummary": "N", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/payment/update-tasklist", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "serviceRequestPaymentSuccess","Name": "ServiceRequest payment success","Description": "Callback to update payment info upon Service Request Payment invocation","DisplayOrder": 142, "PreConditionState(s)": "CaseCreated","PostConditionState": "CasePrinted","SecurityClassification": "Public","ShowSummary": "N", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/payment/update-tasklist", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "moveToCWEscalation", "Name": "SME Referral", "Description": "SME Referral", "DisplayOrder": 143, "PreConditionState(s)": "BOExamining;BOCaseStopped;BORegistrarEscalation;BOReadyForExamination;BOCaveatPermenant;BOReadyToIssue;BOCaseQA;BOCaseMatchingIssueGrant;BOCaseMatchingExamining;BOCaseStoppedAwaitRedec;CasePrinted;", "PostConditionState": "BOCaseWorkerEscalation", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/case/case-worker-escalated", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "scheduledStartGrantDelayNotificationPeriod", "Name": "Start grant delay period", "Description": "Start grant delay notification period", "DisplayOrder": 144, "PreConditionState(s)": "*", "PostConditionState": "*", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boStopCaseForCaseMatchingForExamining", "Name": "Stop case", "Description": "Stop case", "DisplayOrder": 145, "PreConditionState(s)": "BOReadyToIssue", "PostConditionState": "BOCaseStopped", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/case/case-stopped", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boStopCase", "Name": "Stop case", "Description": "Mark the case as stopped", "DisplayOrder": 146, "PreConditionState(s)": "BOExamining", "PostConditionState": "BOCaseStopped", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/case/case-stopped", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boStopCaseForRegistrarEscalations", "Name": "Stop case", "Description": "Mark the case as stopped", "DisplayOrder": 147, "PreConditionState(s)": "BORegistrarEscalation", "PostConditionState": "BOCaseStopped", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/case/case-stopped", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boStopCaseForCaseMatching", "Name": "Stop case", "Description": "Stop case", "DisplayOrder": 148, "PreConditionState(s)": "BOCaseMatchingIssueGrant", "PostConditionState": "BOCaseStopped", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/case/case-stopped", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boStopCaseForCaseCreated", "Name": "Stop case", "Description": "Mark the case as stopped", "DisplayOrder": 149, "PreConditionState(s)": "CaseCreated", "PostConditionState": "BOCaseStopped", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/case/case-stopped", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boStopCaseForCasePrinted", "Name": "Stop case", "Description": "Mark the case as stopped", "DisplayOrder": 150, "PreConditionState(s)": "CasePrinted", "PostConditionState": "BOCaseStopped", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/case/case-stopped", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boStopCaseForReadyForExamination", "Name": "Stop case", "Description": "Mark the case as stopped", "DisplayOrder": 151, "PreConditionState(s)": "BOReadyForExamination", "PostConditionState": "BOCaseStopped", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/case/case-stopped", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boStopCaseForGrantReissueExamining", "Name": "Stop case (reissue)", "Description": "Mark the case as stopped", "DisplayOrder": 152, "PreConditionState(s)": "BOExaminingReissue", "PostConditionState": "BOCaseStoppedReissue", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/case/case-stopped", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boStopCaseForGrantReissueMatching", "Name": "Stop case (reissue)", "Description": "Mark the case as stopped", "DisplayOrder": 153, "PreConditionState(s)": "BOCaseMatchingReissue", "PostConditionState": "BOCaseStoppedReissue", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/case/case-stopped", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "SYSTEM_MAINTENANCE", "Name": "System maintenance", "Description": "Maintenance updates to cases, made automatically by the system", "DisplayOrder": 154, "PreConditionState(s)": "*", "PostConditionState": "*", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/tasklist/update", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "updateApplication", "Name": "Update Application", "Description": "Update Application", "DisplayOrder": 155, "PreConditionState(s)": "PAAppCreated", "PostConditionState": "PAAppCreated", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/tasklist/update", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "updateCasePaymentFailed", "Name": "Update Case Payment Failed", "Description": "Update Case Payment Failed", "DisplayOrder": 156, "PreConditionState(s)": "CasePaymentFailed", "PostConditionState": "CasePaymentFailed", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "updateDraft", "Name": "Update Draft", "Description": "Update Draft", "DisplayOrder": 157, "PreConditionState(s)": "Pending", "PostConditionState": "Pending", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boUploadDocumentsAwaitingDoc", "Name": "Upload Documents", "Description": "Upload Documents", "DisplayOrder": 158, "PreConditionState(s)": "CasePrinted", "PostConditionState": "CasePrinted", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/document/evidenceAdded", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boUploadDocumentsExamine", "Name": "Upload Documents", "Description": "Upload Documents", "DisplayOrder": 159, "PreConditionState(s)": "BOExamining", "PostConditionState": "BOExamining", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/document/evidenceAdded", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boUploadDocumentsStop", "Name": "Upload Documents", "Description": "Upload Documents", "DisplayOrder": 160, "PreConditionState(s)": "BOCaseStopped", "PostConditionState": "BOCaseStopped", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/document/evidenceAdded", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boUploadDocumentsForRegistrarEscalations", "Name": "Upload Documents", "Description": "Upload Documents", "DisplayOrder": 161, "PreConditionState(s)": "BORegistrarEscalation", "PostConditionState": "BORegistrarEscalation", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/document/evidenceAdded", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boUploadDocumentsForCaseCreated", "Name": "Upload Documents", "Description": "Upload Documents", "DisplayOrder": 162, "PreConditionState(s)": "CaseCreated", "PostConditionState": "CaseCreated", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/document/evidenceAdded", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boUploadDocumentsForCasePaymentFailed", "Name": "Upload Documents", "Description": "Upload Documents", "DisplayOrder": 163, "PreConditionState(s)": "CasePaymentFailed", "PostConditionState": "CasePaymentFailed", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/document/evidenceAdded", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boUploadDocumentsForReadyForExamination", "Name": "Upload Documents", "Description": "Upload Documents", "DisplayOrder": 164, "PreConditionState(s)": "BOReadyForExamination", "PostConditionState": "BOReadyForExamination", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/document/evidenceAdded", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boUploadDocumentsForCaveatPermenant", "Name": "Upload Documents", "Description": "Upload Documents", "DisplayOrder": 165, "PreConditionState(s)": "BOCaveatPermenant", "PostConditionState": "BOCaveatPermenant", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/document/evidenceAdded", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boUploadDocumentsForReadyToIssue", "Name": "Upload Documents", "Description": "Upload Documents", "DisplayOrder": 166, "PreConditionState(s)": "BOReadyToIssue", "PostConditionState": "BOReadyToIssue", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/document/evidenceAdded", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boUploadDocumentsForCaseQa", "Name": "Upload Documents", "Description": "Upload Documents", "DisplayOrder": 167, "PreConditionState(s)": "BOCaseQA", "PostConditionState": "BOCaseQA", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/document/evidenceAdded", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boUploadDocumentsForCaseMatchingIssueGrant", "Name": "Upload Documents", "Description": "Upload Documents", "DisplayOrder": 168, "PreConditionState(s)": "BOCaseMatchingIssueGrant", "PostConditionState": "BOCaseMatchingIssueGrant", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/document/evidenceAdded", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boUploadDocumentsForCaseMatchingExamining", "Name": "Upload Documents", "Description": "Upload Documents", "DisplayOrder": 169, "PreConditionState(s)": "BOCaseMatchingExamining", "PostConditionState": "BOCaseMatchingExamining", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/document/evidenceAdded", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boUploadDocumentsForGrantIssued", "Name": "Upload Documents", "Description": "Upload Documents", "DisplayOrder": 170, "PreConditionState(s)": "BOGrantIssued", "PostConditionState": "BOGrantIssued", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/document/evidenceAdded", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boUploadDocsForGrantRegistrarEscalation", "Name": "Upload Documents", "Description": "Upload Documents", "DisplayOrder": 171, "PreConditionState(s)": "BOGrantIssuedRegistrarEscalation", "PostConditionState": "BOGrantIssuedRegistrarEscalation", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/document/evidenceAdded", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boUploadDocumentsForCaseClosed", "Name": "Upload Documents", "Description": "Upload Documents", "DisplayOrder": 172, "PreConditionState(s)": "BOCaseClosed", "PostConditionState": "BOCaseClosed", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/document/evidenceAdded", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boUploadDocsForExaminingReissue", "Name": "Upload Documents", "Description": "Upload Documents", "DisplayOrder": 173, "PreConditionState(s)": "BOExaminingReissue", "PostConditionState": "BOExaminingReissue", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/document/evidenceAdded", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boUploadDocsForCaseMatchingReissue", "Name": "Upload Documents", "Description": "Upload Documents", "DisplayOrder": 174, "PreConditionState(s)": "BOCaseMatchingReissue", "PostConditionState": "BOCaseMatchingReissue", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/document/evidenceAdded", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boUploadDocsForCaseStoppedReissue", "Name": "Upload Documents", "Description": "Upload Documents", "DisplayOrder": 175, "PreConditionState(s)": "BOCaseStoppedReissue", "PostConditionState": "BOCaseStoppedReissue", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/document/evidenceAdded", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boUploadDocsForPostGrantIssue", "Name": "Upload Documents", "Description": "Upload Documents", "DisplayOrder": 176, "PreConditionState(s)": "BOPostGrantIssued", "PostConditionState": "BOPostGrantIssued", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/document/evidenceAdded", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boUploadDocsForPostGrantRegistrarEscalation", "Name": "Upload Documents", "Description": "Upload Documents", "DisplayOrder": 177, "PreConditionState(s)": "BOPostGrantIssuedRegistrarEscalation", "PostConditionState": "BOPostGrantIssuedRegistrarEscalation", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/document/evidenceAdded", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boUploadDocsForSMEReferral", "Name": "Upload Documents", "Description": "Upload Documents", "DisplayOrder": 178, "PreConditionState(s)": "BOCaseWorkerEscalation", "PostConditionState": "BOCaseWorkerEscalation", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/document/evidenceAdded", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "uploadDocumentsDormantCase", "Name": "Upload documents dormant case", "Description": "Upload documents dormant case", "DisplayOrder": 179, "PreConditionState(s)": "Dormant", "PostConditionState": "BOCaseStopped", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/case/reactivate-case", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boRobotUploadDocuments", "Name": "Upload Documents (Robot)", "Description": "Upload Documents (Robot)", "DisplayOrder": 180, "PreConditionState(s)": "CasePrinted;BOExamining;BOCaseStopped;BORegistrarEscalation;CaseCreated;CasePaymentFailed;BOReadyForExamination;BOCaveatPermenant;BOReadyToIssue;BOCaseQA;BOCaseMatchingIssueGrant;BOCaseMatchingExamining;BOGrantIssued;BOCaseClosed;BOExaminingReissue;BOCaseMatchingReissue;BOCaseStoppedReissue", "PostConditionState": "*", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/document/evidenceAddedRPARobot", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boWithdrawApplicationForCasePrinted", "Name": "Withdraw application", "Description": "Withdraw application", "DisplayOrder": 181, "PreConditionState(s)": "CasePrinted", "PostConditionState": "BOCaseClosed", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/tasklist/update", "SecurityClassification": "public", "ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boWithdrawApplicationForReadyForExamination", "Name": "Withdraw application", "Description": "Withdraw application", "DisplayOrder": 182, "PreConditionState(s)": "BOReadyForExamination", "PostConditionState": "BOCaseClosed", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/tasklist/update", "SecurityClassification": "public", "ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boWithdrawApplicationForExamining", "Name": "Withdraw application", "Description": "Withdraw application", "DisplayOrder": 183, "PreConditionState(s)": "BOExamining", "PostConditionState": "BOCaseClosed", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/tasklist/update", "SecurityClassification": "public", "ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boWithdrawApplicationForCaseStopped", "Name": "Withdraw application", "Description": "Withdraw application", "DisplayOrder": 184, "PreConditionState(s)": "BOCaseStopped", "PostConditionState": "BOCaseClosed", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/tasklist/update", "SecurityClassification": "public", "ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boWithdrawApplicationForCaveatPermenant", "Name": "Withdraw application", "Description": "Withdraw application", "DisplayOrder": 185, "PreConditionState(s)": "BOCaveatPermenant", "PostConditionState": "BOCaseClosed", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/tasklist/update", "SecurityClassification": "public", "ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boWithdrawApplicationForRegistrarEscalation", "Name": "Withdraw application", "Description": "Withdraw application", "DisplayOrder": 186, "PreConditionState(s)": "BORegistrarEscalation", "PostConditionState": "BOCaseClosed", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/tasklist/update", "SecurityClassification": "public", "ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boWithdrawApplicationForReadyToIssue", "Name": "Withdraw application", "Description": "Withdraw application", "DisplayOrder": 187, "PreConditionState(s)": "BOReadyToIssue", "PostConditionState": "BOCaseClosed", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/tasklist/update", "SecurityClassification": "public", "ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boWithdrawApplicationForCaseQA", "Name": "Withdraw application", "Description": "Withdraw application", "DisplayOrder": 188, "PreConditionState(s)": "BOCaseQA", "PostConditionState": "BOCaseClosed", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/tasklist/update", "SecurityClassification": "public", "ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boWithdrawApplicationForCaseMatchingIssueGrant", "Name": "Withdraw application", "Description": "Withdraw application", "DisplayOrder": 189, "PreConditionState(s)": "BOCaseMatchingIssueGrant", "PostConditionState": "BOCaseClosed", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/tasklist/update", "SecurityClassification": "public", "ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boWithdrawApplicationForCaseMatchingExamining", "Name": "Withdraw application", "Description": "Withdraw application", "DisplayOrder": 190, "PreConditionState(s)": "BOCaseMatchingExamining", "PostConditionState": "BOCaseClosed", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/tasklist/update", "SecurityClassification": "public", "ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "boWithdrawForRedeclarationSOT", "Name": "Withdraw redeclaration", "Description": "Withdraw redeclaration", "DisplayOrder": 191, "PreConditionState(s)": "BOCaseStoppedAwaitRedec", "PostConditionState": "BOCaseStopped", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/tasklist/update", "SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "citizenHubResponse", "Name": "Citizen hub response", "Description": "Citizen hub response", "DisplayOrder": 192, "PreConditionState(s)": "BOCaseStopped;Dormant", "PostConditionState": "*", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/document/citizenHubResponse","SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "citizenHubResponseDraft", "Name": "Citizen hub response draft", "Description": "Citizen hub response draft", "DisplayOrder": 193, "PreConditionState(s)": "BOCaseStopped;Dormant", "PostConditionState": "*", "CallBackURLAboutToSubmitEvent": "http://${CCD_DEF_CASE_SERVICE_BASE_URL}/document/citizenHubResponse","SecurityClassification": "Public", "ShowSummary": "N", "ShowEventNotes": "Y"} ] diff --git a/ccdImports/configFiles/CCD_Probate_Backoffice/CaseEventToFields.json b/ccdImports/configFiles/CCD_Probate_Backoffice/CaseEventToFields.json index 38cff455de..9535dae17d 100644 --- a/ccdImports/configFiles/CCD_Probate_Backoffice/CaseEventToFields.json +++ b/ccdImports/configFiles/CCD_Probate_Backoffice/CaseEventToFields.json @@ -4093,6 +4093,7 @@ {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "CaseEventID": "boAmendCaseDetailsForPostGrantIssue", "CaseFieldID": "deceasedAnyChildren", "PageFieldDisplayOrder": 60, "DisplayContext": "OPTIONAL", "PageID": "boAmendCaseDetailsPage9", "PageDisplayOrder": 9, "FieldShowCondition": "caseType=\"intestacy\"", "ShowSummaryChangeOption": "y"}, {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "CaseEventID": "changeState", "CaseFieldID": "[STATE]", "PageFieldDisplayOrder": 1, "DisplayContext": "READONLY", "PageID": "changeCaseStatePage1", "PageDisplayOrder": 1, "ShowSummaryChangeOption": "n"}, {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "CaseEventID": "changeState", "CaseFieldID": "transferToState", "PageFieldDisplayOrder": 2, "DisplayContext": "MANDATORY", "PageID": "changeCaseStatePage1", "PageDisplayOrder": 1, "ShowSummaryChangeOption": "n"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "CaseEventID": "boResolveCaveatStop", "CaseFieldID": "resolveCaveatStopState", "PageFieldDisplayOrder": 1, "DisplayContext": "MANDATORY", "PageID": "resolveCaveatStopPage1", "PageDisplayOrder": 1, "ShowSummaryChangeOption": "n"}, {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "CaseEventID": "changeDob", "CaseFieldID": "[STATE]", "PageFieldDisplayOrder": 1, "DisplayContext": "READONLY", "PageID": "changeDodPage1", "PageDisplayOrder": 1, "ShowSummaryChangeOption": "n"}, {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "CaseEventID": "changeDob", "CaseFieldID": "deceasedForenames", "PageFieldDisplayOrder": 2, "DisplayContext": "READONLY", "PageID": "changeDodPage1", "PageDisplayOrder": 2, "ShowSummaryChangeOption": "n"}, {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "CaseEventID": "changeDob", "CaseFieldID": "deceasedSurname", "PageFieldDisplayOrder": 3, "DisplayContext": "READONLY", "PageID": "changeDodPage1", "PageDisplayOrder": 3, "ShowSummaryChangeOption": "n"}, diff --git a/ccdImports/configFiles/CCD_Probate_Backoffice/CaseField.json b/ccdImports/configFiles/CCD_Probate_Backoffice/CaseField.json index ae6e06e973..c53e5abd19 100644 --- a/ccdImports/configFiles/CCD_Probate_Backoffice/CaseField.json +++ b/ccdImports/configFiles/CCD_Probate_Backoffice/CaseField.json @@ -517,5 +517,6 @@ {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "informationNeededByPostSwitch", "Label": "Information need to be returned by post page switch", "FieldType": "YesOrNo", "SecurityClassification": "Public"}, {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "registrarEscalateLabel1", "Label": "A referral relates to limitations, will numbering, queries concerning sufficient evidence as well as any other questions on how to proceed with a case.", "FieldType": "Label", "SecurityClassification": "Public"}, {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "registrarEscalateLabel2", "Label": "An order applies if a support officer is satisfied that they have all the evidence needed to make the order.", "FieldType": "Label", "SecurityClassification": "Public"}, - {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "registrarEscalateReason", "Label": "Select the reason for the escalation", "FieldType": "FixedList", "FieldTypeParameter": "registrarEscalateReasonFixedList", "SecurityClassification": "Public"} + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "registrarEscalateReason", "Label": "Select the reason for the escalation", "FieldType": "FixedList", "FieldTypeParameter": "registrarEscalateReasonFixedList", "SecurityClassification": "Public"}, + {"LiveFrom": "01/01/2017", "CaseTypeID": "GrantOfRepresentation", "ID": "resolveCaveatStopState", "Label": "Which state do you wish to return the case to?", "FieldType": "FixedList", "FieldTypeParameter": "resolveCaveatStopStateFixedList", "SecurityClassification": "Public"} ] diff --git a/ccdImports/configFiles/CCD_Probate_Backoffice/FixedLists.json b/ccdImports/configFiles/CCD_Probate_Backoffice/FixedLists.json index f8de823bfe..ced55467c8 100644 --- a/ccdImports/configFiles/CCD_Probate_Backoffice/FixedLists.json +++ b/ccdImports/configFiles/CCD_Probate_Backoffice/FixedLists.json @@ -459,5 +459,12 @@ {"LiveFrom": "01/01/2017", "ID": "handoffReasonFixedList", "ListElementCode": "WillCodicilNotated", "ListElement": "Will or codicil to be notated", "DisplayOrder": "21"}, {"LiveFrom": "01/01/2017", "ID": "handoffReasonFixedList", "ListElementCode": "WitnessInterview", "ListElement": "Witness Interview", "DisplayOrder": "22"}, {"LiveFrom": "01/01/2017", "ID": "informationNeededFixedList", "ListElementCode": "Yes", "ListElement": "Yes, I need information or documents", "DisplayOrder": "1"}, - {"LiveFrom": "01/01/2017", "ID": "informationNeededFixedList", "ListElementCode": "No", "ListElement": "No, I need to inform of a caveat stop", "DisplayOrder": "2"} + {"LiveFrom": "01/01/2017", "ID": "informationNeededFixedList", "ListElementCode": "No", "ListElement": "No, I need to inform of a caveat stop", "DisplayOrder": "2"}, + {"LiveFrom": "06/01/2017", "ID": "resolveCaveatStopStateFixedList", "ListElementCode": "CasePrinted", "ListElement": "Awaiting documentation"}, + {"LiveFrom": "06/01/2017", "ID": "resolveCaveatStopStateFixedList", "ListElementCode": "BOCaseMatchingIssueGrant", "ListElement": "Case Matching (Issue grant)"}, + {"LiveFrom": "06/01/2017", "ID": "resolveCaveatStopStateFixedList", "ListElementCode": "BOReadyToIssue", "ListElement": "Ready to issue"}, + {"LiveFrom": "06/01/2017", "ID": "resolveCaveatStopStateFixedList", "ListElementCode": "BOCaseQA", "ListElement": "Case selected for QA"}, + {"LiveFrom": "06/01/2017", "ID": "resolveCaveatStopStateFixedList", "ListElementCode": "BOCaseStopped", "ListElement": "Case Stopped"}, + {"LiveFrom": "06/01/2017", "ID": "resolveCaveatStopStateFixedList", "ListElementCode": "BORegistrarEscalation", "ListElement": "Registrar Escalation"}, + {"LiveFrom": "06/01/2017", "ID": "resolveCaveatStopStateFixedList", "ListElementCode": "BOCaseWorkerEscalation", "ListElement": "SME Referral"} ] diff --git a/src/integrationTest/java/uk/gov/hmcts/probate/controller/BusinessValidationControllerIT.java b/src/integrationTest/java/uk/gov/hmcts/probate/controller/BusinessValidationControllerIT.java index cda6ea4e0e..21bbf9fca4 100644 --- a/src/integrationTest/java/uk/gov/hmcts/probate/controller/BusinessValidationControllerIT.java +++ b/src/integrationTest/java/uk/gov/hmcts/probate/controller/BusinessValidationControllerIT.java @@ -150,6 +150,7 @@ class BusinessValidationControllerIT { private static final String PAPER_FORM_URL = "/case/paperForm"; private static final String RESOLVE_STOP_URL = "/case/resolveStop"; private static final String CHANGE_CASE_STATE_URL = "/case/changeCaseState"; + private static final String RESOLVE_CAVEAT_STOP_URL = "/case/resolveCaveatStopState"; private static final String CASE_STOPPED_URL = "/case/case-stopped"; private static final String REDEC_COMPLETE = "/case/redeclarationComplete"; private static final String REDECE_SOT = "/case/redeclarationSot"; @@ -995,6 +996,17 @@ void shouldSetStateToBOCaseMatchingIssueGrantAfterChangeCaseState() throws Excep .andExpect(content().contentType(MediaType.APPLICATION_JSON)); } + @Test + void shouldSetStateToBOCaseMatchingIssueGrantAfterResolveCaveatStopState() throws Exception { + String solicitorPayload = testUtils.getStringFromFile( + "solicitorPayloadResolveCaveatStopStateForCaseMatchingIssueGrant.json"); + + mockMvc.perform(post(RESOLVE_CAVEAT_STOP_URL).content(solicitorPayload).contentType(MediaType.APPLICATION_JSON)) + .andExpect(status().isOk()) + .andExpect(jsonPath("$.data.state").value("BOCaseMatchingIssueGrant")) + .andExpect(content().contentType(MediaType.APPLICATION_JSON)); + } + @Test void shouldSetStateForRedeclarationCompleteToRedec() throws Exception { String payload = testUtils.getStringFromFile("payloadWithResponseRecorded.json"); diff --git a/src/main/java/uk/gov/hmcts/probate/controller/BusinessValidationController.java b/src/main/java/uk/gov/hmcts/probate/controller/BusinessValidationController.java index c0ea8fc68c..248b707f49 100644 --- a/src/main/java/uk/gov/hmcts/probate/controller/BusinessValidationController.java +++ b/src/main/java/uk/gov/hmcts/probate/controller/BusinessValidationController.java @@ -469,6 +469,20 @@ public ResponseEntity changeCaseState(@RequestBody CallbackReq return ResponseEntity.ok(response); } + @PostMapping(path = "/resolveCaveatStopState", consumes = MediaType.APPLICATION_JSON_VALUE, + produces = {APPLICATION_JSON_VALUE}) + public ResponseEntity resolveCaveatStopState(@RequestBody CallbackRequest callbackRequest, + HttpServletRequest request) { + logRequest(request.getRequestURI(), callbackRequest); + log.info("resolve caveat stop state started"); + + final Optional caseworkerInfo = userInfoService.getCaseworkerInfo(); + CallbackResponse response = callbackResponseTransformer.transferCaveatStopState( + callbackRequest, + caseworkerInfo); + return ResponseEntity.ok(response); + } + @PostMapping(path = "/changeDob", consumes = MediaType.APPLICATION_JSON_VALUE, produces = {APPLICATION_JSON_VALUE}) public ResponseEntity changeDob(@RequestBody CallbackRequest callbackRequest, diff --git a/src/main/java/uk/gov/hmcts/probate/model/ccd/raw/request/CaseData.java b/src/main/java/uk/gov/hmcts/probate/model/ccd/raw/request/CaseData.java index 27bb055442..7852b7a176 100644 --- a/src/main/java/uk/gov/hmcts/probate/model/ccd/raw/request/CaseData.java +++ b/src/main/java/uk/gov/hmcts/probate/model/ccd/raw/request/CaseData.java @@ -469,6 +469,7 @@ public class CaseData extends CaseDataParent { private final String dateOfDeathType; private final String resolveStopState; private final String transferToState; + private final String resolveCaveatStopState; private final String orderNeeded; private final List> reissueReason; private final String reissueReasonNotation; diff --git a/src/main/java/uk/gov/hmcts/probate/transformer/CallbackResponseTransformer.java b/src/main/java/uk/gov/hmcts/probate/transformer/CallbackResponseTransformer.java index 379e9def4f..a8806bc4d8 100644 --- a/src/main/java/uk/gov/hmcts/probate/transformer/CallbackResponseTransformer.java +++ b/src/main/java/uk/gov/hmcts/probate/transformer/CallbackResponseTransformer.java @@ -617,6 +617,15 @@ public CallbackResponse transferToState(CallbackRequest callbackRequest, Optiona .getData().getTransferToState()), caseworkerInfo); } + public CallbackResponse transferCaveatStopState( + final CallbackRequest callbackRequest, + final Optional caseworkerInfo) { + return transformWithConditionalStateChange( + callbackRequest, + Optional.of(callbackRequest.getCaseDetails().getData().getResolveCaveatStopState()), + caseworkerInfo); + } + public CallbackResponse rollback(CallbackRequest callbackRequest) { ResponseCaseDataBuilder responseCaseDataBuilder = getResponseCaseData(callbackRequest.getCaseDetails(), callbackRequest.getEventId(), diff --git a/src/test/java/uk/gov/hmcts/probate/controller/BusinessValidationUnitTest.java b/src/test/java/uk/gov/hmcts/probate/controller/BusinessValidationUnitTest.java index 7a1ed32f16..4c5660b320 100644 --- a/src/test/java/uk/gov/hmcts/probate/controller/BusinessValidationUnitTest.java +++ b/src/test/java/uk/gov/hmcts/probate/controller/BusinessValidationUnitTest.java @@ -74,6 +74,7 @@ import static org.hamcrest.Matchers.is; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.mockito.ArgumentMatchers.any; +import static org.mockito.ArgumentMatchers.eq; import static org.mockito.Mockito.doReturn; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; @@ -998,6 +999,17 @@ void shouldChangeCaseState() { assertThat(response.getStatusCode(), is(HttpStatus.OK)); } + void shouldResolveCaveatState() { + when(callbackRequestMock.getCaseDetails()).thenReturn(caseDetailsMock); + when(bindingResultMock.hasErrors()).thenReturn(false); + when(caseDetailsMock.getData()).thenReturn(caseDataMock); + ResponseEntity response = + underTest.resolveCaveatStopState(callbackRequestMock,httpServletRequest); + verify(callbackResponseTransformerMock, times(1)) + .transferCaveatStopState(eq(callbackRequestMock), any()); + assertThat(response.getStatusCode(), is(HttpStatus.OK)); + } + @Test void shouldTransformUniqueCode() { when(callbackRequestMock.getCaseDetails()).thenReturn(caseDetailsMock); diff --git a/src/test/resources/solicitorPayloadResolveCaveatStopStateForCaseMatchingIssueGrant.json b/src/test/resources/solicitorPayloadResolveCaveatStopStateForCaseMatchingIssueGrant.json new file mode 100644 index 0000000000..882e716326 --- /dev/null +++ b/src/test/resources/solicitorPayloadResolveCaveatStopStateForCaseMatchingIssueGrant.json @@ -0,0 +1,190 @@ +{ + "case_details": { + "case_data": { + "resolveCaveatStopState": "BOCaseMatchingIssueGrant", + "solsSolicitorFirmName": "FirmName", + "solsSolicitorAddress": { + "AddressLine1": "SolAddLn1", + "AddressLine2": "SolAddLn2", + "AddressLine3": "SolAddLn3", + "PostTown": "SolAddPT", + "County": "SolAddCounty", + "PostCode": "KT10 0LA", + "Country": "SolAddCo" + }, + "solsSolicitorAppReference": "firmReference", + "solsSolicitorEmail": "solicitor@probate-test.com", + "solsSolicitorPhoneNumber": null, + "deceasedForenames": "fname", + "deceasedSurname": "lname", + "deceasedDateOfDeath": "2018-01-01", + "deceasedDateOfBirth": "1990-01-01", + "willExists": "Yes", + "solsWillType": "WillLeft", + "solsApplicantRelationshipToDeceased": null, + "solsSpouseOrCivilRenouncing": null, + "solsAdoptedEnglandOrWales": null, + "solsMinorityInterest": null, + "solsApplicantSiblings": null, + "willAccessOriginal": "Yes", + "willHasCodicils": "No", + "willNumberOfCodicils": null, + "deceasedDomicileInEngWales": "Yes", + "deceasedAddress": { + "AddressLine1": "1", + "AddressLine2": "1", + "AddressLine3": "1", + "County": "1", + "PostTown": "1", + "PostCode": "1", + "Country": "1" + }, + "deceasedAnyOtherNames": "Yes", + "solsDeceasedAliasNamesList": [ + { + "value": { + "SolsAliasname": "Fred Jones" + }, + "id": "de97b99a-dc68-4d32-8d69-da4153b4fd08" + } + ], + "ihtFormId": "IHT205", + "ihtNetValue": 100000.0, + "ihtGrossValue": 200000.0, + "primaryApplicantForenames": "exfn", + "primaryApplicantSurname": "exfn1", + "primaryApplicantEmailAddress": null, + "primaryApplicantHasAlias": "Yes", + "solsExecutorAliasNames": "Jane Doe", + "primaryApplicantIsApplying": "Yes", + "solsPrimaryExecutorNotApplyingReason": null, + "primaryApplicantAddress": { + "AddressLine1": "2", + "AddressLine2": "2", + "AddressLine3": "2", + "County": "2", + "PostTown": "2", + "PostCode": "2", + "Country": "2" + }, + "otherExecutorExists": "Yes", + "solsAdditionalExecutorList": [ + { + "value": { + "additionalExecForenames": "exfn2", + "additionalExecLastname": "exln2", + "additionalExecNameOnWill": "Yes", + "additionalExecAliasNameOnWill": "John Smith", + "additionalExecAliasFirstNameOnWill": null, + "additionalExecAliasSurNameOnWill": null, + "additionalApplying": "Yes", + "additionalExecAddress": { + "AddressLine1": "3", + "AddressLine2": "3", + "AddressLine3": "3", + "County": "3", + "PostTown": "3", + "PostCode": "3", + "Country": "3" + }, + "additionalExecReasonNotApplying": null + }, + "id": "e35dc105-d995-498a-a83c-1f43f7a7ef95" + } + ], + "solsAdditionalInfo": null, + "boEmailDocsReceivedNotificationRequested": null, + "boEmailGrantIssuedNotificationRequested": null, + "solsLegalStatementDocument": null, + "solsSOTNeedToUpdate": null, + "solsSOTName": "Solicitor_fn Solicitor_ln", + "solsSOTForenames": "Solicitor_fn", + "solsSOTSurname": "Solicitor_ln", + "solsSolicitorIsExec": "No", + "solsSolicitorIsMainApplicant": null, + "solsSolicitorIsApplying": null, + "solsSolicitorNotApplyingReason": null, + "solsSOTJobTitle": null, + "extraCopiesOfGrant": null, + "outsideUKGrantCopies": null, + "solsPaymentMethods": null, + "solsFeeAccountNumber": null, + "casePrinted": null, + "boCaseStopReasonList": null, + "applicationFee": null, + "feeForUkCopies": null, + "feeForNonUkCopies": null, + "totalFee": null, + "executorsApplying": [ + { + "value": { + "additionalExecForenames": "exfn", + "additionalExecLastname": "exfn1", + "additionalExecNameOnWill": "Yes", + "additionalExecAliasNameOnWill": "Jane Doe", + "additionalExecAliasFirstNameOnWill": null, + "additionalExecAliasSurNameOnWill": null, + "additionalApplying": "Yes", + "additionalExecAddress": { + "AddressLine1": "2", + "AddressLine2": "2", + "AddressLine3": "2", + "County": "2", + "PostTown": "2", + "PostCode": "2", + "Country": "2" + }, + "additionalExecReasonNotApplying": null + }, + "id": null + }, + { + "value": { + "additionalExecForenames": "exfn2", + "additionalExecLastname": "exln2", + "additionalExecNameOnWill": "Yes", + "additionalExecAliasNameOnWill": "John Smith", + "additionalExecAliasFirstNameOnWill": null, + "additionalExecAliasSurNameOnWill": null, + "additionalApplying": "Yes", + "additionalExecAddress": { + "AddressLine1": "3", + "AddressLine2": "3", + "AddressLine3": "3", + "County": "3", + "PostTown": "3", + "PostCode": "3", + "Country": "3" + }, + "additionalExecReasonNotApplying": null + }, + "id": "e35dc105-d995-498a-a83c-1f43f7a7ef95" + } + ], + "executorsNotApplying": [], + "applicationType": "Solicitor", + "registryLocation": null, + "boEmailDocsReceivedNotification": "Yes", + "boEmailGrantIssuedNotification": "Yes", + "primaryApplicantFullName": "exfn exfn1", + "deceasedFullName": "fname lname", + "primaryApplicantApplying": true, + "docsReceivedEmailNotificationRequested": true, + "grantIssuedEmailNotificationRequested": true, + "boExaminationChecklistQ1": "Yes", + "boExaminationChecklistQ2": "No", + "boExaminationChecklistRequestQA" : "no" + }, + "last_modified": [ + "2018", + "7", + "9", + "8", + "30", + "41", + "993000000" + ], + "id": 1531124919979405, + "state": "SolAppUpdated" + } +}