Skip to main content

Invalid Policy Dates Error


Use Invalid Policy Dates Error when the selected coverage is not valid for the appointment date.



This screen includes:

#ElementDescription
1Error modalDisplays the coverage date validation error.
2Close actionCloses the modal.
3Error messageExplains that the selected coverage is not valid for the appointment date.
4Add coverage actionOpens the add coverage flow.

Workflow

  1. Select a policy or coverage option.
  2. Validate the selected coverage against the appointment date.
  3. Display the error modal when the coverage is not valid for that date.
  4. Select Add coverage to add another coverage option.
  5. Select the close action to dismiss the modal.

Validations

ScenarioApp behaviorSDK output
Session invalidBlock requeststate = unauthenticated
Coverage missingDisplay error stateerror = coverage_required
Coverage date not validDisplay error modalerror = policy_dates_not_valid
Coverage date validContinue flowcoverage = valid
Request rejectedDisplay error statestatus = 405

Actions

ScenarioApp behaviorSDK output
Coverage date not validLoad error modalPUT /api/v3/policies/policy-dates-not-valid
Add coverage selectedOpen add coverage flownavigation = add_coverage
Close selectedDismiss modalstate = dismissed
Request rejectedPreserve current statestate = unchanged

Endpoint Resources

Policy Dates Not Valid Error

PUT 

v3/policies/policy-dates-not-valid

Returns the error modal for coverage that is not valid on the appointment date.