diff --git a/lambdas/process-journey-event/src/main/resources/statemachine/journey-maps/reverification.yaml b/lambdas/process-journey-event/src/main/resources/statemachine/journey-maps/reverification.yaml index cf215f1f96..f58c5251e9 100644 --- a/lambdas/process-journey-event/src/main/resources/statemachine/journey-maps/reverification.yaml +++ b/lambdas/process-journey-event/src/main/resources/statemachine/journey-maps/reverification.yaml @@ -85,19 +85,20 @@ states: lambda: check-reverification-identity events: found: - targetState: IDENTITY_START_PAGE + targetState: YOU_CAN_CHOOSE_HOW_YOU_GET_SECURITY_CODES_PAGE not-found: - targetState: CRI_TICF + targetJourney: INELIGIBLE + targetState: INELIGIBLE error: targetJourney: TECHNICAL_ERROR targetState: ERROR - IDENTITY_START_PAGE: + YOU_CAN_CHOOSE_HOW_YOU_GET_SECURITY_CODES_PAGE: response: type: page - pageId: page-ipv-identity-document-start + pageId: you-can-change-security-code-method events: - appTriage: + next: targetState: CRI_DCMAW checkFeatureFlag: strategicAppEnabled: @@ -106,7 +107,7 @@ states: dcmaw: targetJourney: TECHNICAL_ERROR targetState: ERROR - end: + cannot-change-security-codes: targetJourney: INELIGIBLE targetState: INELIGIBLE @@ -183,6 +184,14 @@ states: type: process lambda: call-ticf-cri parent: CRI_TICF_STATE + events: + next: + targetState: WE_MATCHED_YOU_TO_YOUR_ONE_LOGIN_PAGE + + WE_MATCHED_YOU_TO_YOUR_ONE_LOGIN_PAGE: + response: + type: page + pageId: we-matched-you-to-your-one-login events: next: targetState: RETURN_TO_RP