diff --git a/charts/civil-camunda/values.aat.template.yaml b/charts/civil-camunda/values.aat.template.yaml index 8e5ff6374..5fed66d3b 100644 --- a/charts/civil-camunda/values.aat.template.yaml +++ b/charts/civil-camunda/values.aat.template.yaml @@ -258,6 +258,7 @@ camunda-bpm: enabled: true java: keyVaults: [] + image: hmctsprivatetemp.azurecr.io/camunda/bpm:latest releaseNameOverride: ${SERVICE_NAME}-camunda ingressHost: civil-camunda-camunda-staging-aat.service.core-compute-aat.internal imagePullPolicy: Always diff --git a/charts/civil-camunda/values.preview.template.yaml b/charts/civil-camunda/values.preview.template.yaml index 005a013a8..2d0844a28 100644 --- a/charts/civil-camunda/values.preview.template.yaml +++ b/charts/civil-camunda/values.preview.template.yaml @@ -325,6 +325,7 @@ ccd: camunda-bpm: enabled: true java: + image: hmctsprivatetemp.azurecr.io/camunda/bpm:latest keyVaults: [] releaseNameOverride: ${SERVICE_NAME}-camunda ingressHost: camunda-${SERVICE_FQDN} diff --git a/src/main/resources/camunda/claimant_response_cui.bpmn b/src/main/resources/camunda/claimant_response_cui.bpmn index db703fe2b..5d92eaf98 100644 --- a/src/main/resources/camunda/claimant_response_cui.bpmn +++ b/src/main/resources/camunda/claimant_response_cui.bpmn @@ -1,5 +1,5 @@ - + Flow_0uwkh9v @@ -78,7 +78,6 @@ ${flowState == "MAIN.FULL_ADMISSION"||flowState == "MAIN.FULL_ADMIT_PAY_IMMEDIATELY"||flowState == "MAIN.FULL_ADMIT_PAY_IMMEDIATELY"} - @@ -86,7 +85,7 @@ Flow_0v6zgri - Flow_0g9m4jb + Flow_0vcdfve ${flowState == "MAIN.PART_ADMIT_NOT_SETTLED_NO_MEDIATION"} @@ -101,8 +100,8 @@ GENERATE_RESPONSE_DQ_LIP_SEALED - Flow_0g9m4jb - Flow_1p158ux + Flow_0qomvto + Flow_0h4qr2u Flow_0beyd6n @@ -227,9 +226,8 @@ Flow_0a5zz1s - Flow_1p158ux + Flow_1msvhgp - @@ -441,6 +439,30 @@ Flow_1d396po + + Flow_0vcdfve + Flow_1msvhgp + Flow_0x1cuga + Flow_0qomvto + + + + + + TRIGGER_UPDATE_GA_LOCATION + + + Flow_0x1cuga + Flow_0h4qr2u + + + ${!empty flowFlags.GENERAL_APPLICATION_ENABLED && flowFlags.GENERAL_APPLICATION_ENABLED} + + + ${empty flowFlags.GENERAL_APPLICATION_ENABLED || !flowFlags.GENERAL_APPLICATION_ENABLED} + + + @@ -452,6 +474,9 @@ + + + @@ -469,6 +494,10 @@ + + + + @@ -477,10 +506,6 @@ - - - - @@ -555,6 +580,14 @@ + + + + + + + + @@ -566,21 +599,14 @@ - - - - - + + - - - - @@ -590,14 +616,6 @@ - - - - - - - - @@ -610,6 +628,17 @@ + + + + + + + + + + + @@ -640,10 +669,6 @@ - - - - @@ -667,7 +692,7 @@ - + @@ -756,10 +781,6 @@ - - - - @@ -919,6 +940,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/test/java/uk/gov/hmcts/reform/civil/bpmn/ClaimantResponseCuiTest.java b/src/test/java/uk/gov/hmcts/reform/civil/bpmn/ClaimantResponseCuiTest.java index 90b6032a4..c271e4c6a 100644 --- a/src/test/java/uk/gov/hmcts/reform/civil/bpmn/ClaimantResponseCuiTest.java +++ b/src/test/java/uk/gov/hmcts/reform/civil/bpmn/ClaimantResponseCuiTest.java @@ -50,6 +50,8 @@ public class ClaimantResponseCuiTest extends BpmnBaseTest { //Activity IDs private static final String NOTIFY_LIP_RESPONDENT_CLAIMANT_CONFIRM_TO_PROCEED_ACTIVITY_ID = "NotifyLiPRespondentClaimantConfirmToProceed"; + private static final String TRIGGER_UPDATE_GA_LOCATION = "TRIGGER_UPDATE_GA_LOCATION"; + private static final String TRIGGER_UPDATE_GA_LOCATION_ACTIVITY_ID = "TriggerAndUpdateGenAppLocation"; private static final String DQ_PDF_ACTIVITY_ID = "Generate_LIP_Claimant_DQ"; private static final String DQ_PDF_EVENT = "GENERATE_RESPONSE_DQ_LIP_SEALED"; @@ -127,6 +129,11 @@ void shouldRunProcess() { notifyRespondentClaimantConfirmsToProceed(); notifyApplicantClaimantConfirmsToProceed(); + assertCompletedCaseEvent( + TRIGGER_UPDATE_GA_LOCATION, + TRIGGER_UPDATE_GA_LOCATION_ACTIVITY_ID, + variables + ); generateDQPdf(); updateClaimState(); createClaimantDashboardNotification(); @@ -341,6 +348,11 @@ void shouldRunProcess_ClaimFullDefenceNotAgreeMediation() { notifyRespondentClaimantConfirmsToProceed(); notifyApplicantClaimantConfirmsToProceed(); + assertCompletedCaseEvent( + TRIGGER_UPDATE_GA_LOCATION, + TRIGGER_UPDATE_GA_LOCATION_ACTIVITY_ID, + variables + ); generateDQPdf(); updateClaimState(); createClaimantDashboardNotification();