HIGH story-certificate-expiry-notifications-coordinator-004 5 pts
5
Story Points
High
Priority
Certificate Expiry Notifications
Feature

User Story

As a Coordinator
I want to be prompted to enroll in a renewal course immediately when my certification has expired
So that I understand the consequences of expiry and can take the fastest path to regaining active status

Acceptance Criteria

  • Given a peer mentor whose certification expired yesterday, When the nightly scheduler runs, Then an expiry notification is sent via FCM with messaging indicating they are no longer active
  • Given a peer mentor whose certification has expired, When they open the app, Then a full-screen enrollment prompt is presented explaining their inactive status and offering 'Enroll in Renewal Course' and 'Remind Me Later' actions
  • Given the peer mentor taps 'Enroll in Renewal Course', When the action triggers, Then the Dynamics portal course enrollment page opens via deep-link
  • Given the peer mentor taps 'Remind Me Later', When the action triggers, Then the prompt is dismissed but reappears after 24 hours on next app launch
  • Given a peer mentor's certification has been expired for more than 30 days, When the scheduler runs, Then further push notifications are suppressed to avoid harassment, but in-app prompts continue
  • Given the coordinator has been notified of the expiry, When they view the peer mentor's detail screen, Then the certification expiry badge shows 'Expired' and the mentor's active status is suppressed from public-facing views

Business Value

Expired peer mentors remaining visible on HLF's website creates a trust and compliance risk. Automatically transitioning from reminders to active enrollment prompts at the point of expiry minimizes the window during which an uncertified mentor appears active, protects HLF's reputation, and creates the clearest possible path for the mentor to regain their status.