Receive Alert When Assigned Peer Mentors Have Overdue Unacknowledged Assignments
In addition to sending a reminder to the peer mentor at the 10-day mark, the Notification Scenario Engine also sends a parallel alert to the responsible coordinator. The coordinator notification includes the peer mentor's name, the assignment reference number, and the number of days elapsed since dispatch. The coordinator is deep-linked to the Assignment Status Screen which shows the full tracking timeline. If multiple assignments in the coordinator's scope are overdue simultaneously, these are batched into a single daily digest notification to avoid notification flooding. Coordinators can disable this alert category if they prefer to monitor overdue assignments through the dashboard rather than push notifications.
User Story
Acceptance Criteria
- Given a peer mentor's assignment crosses the 10-day unacknowledged threshold, when the Edge Function runs, then the responsible coordinator receives a push notification naming the peer mentor and assignment
- Given multiple peer mentors in the coordinator's scope have overdue assignments on the same day, when the Edge Function runs, then a single digest notification is sent listing all overdue cases rather than one notification per case
- Given a coordinator taps the overdue assignment notification, when the app opens, then they are navigated to the Assignment Status Screen scoped to show overdue assignments
- Given a coordinator has disabled the 'Overdue Assignment Alerts' category, when the threshold is crossed, then no push notification is sent to that coordinator
- Given a peer mentor acknowledges an assignment before the coordinator acts on the alert, when the coordinator opens the Assignment Status Screen, then the assignment is shown as acknowledged and no longer requires follow-up
Business Value
Coordinators are the organizational safety net when peer mentors miss follow-ups. Without automatic alerts, coordinators must manually check an assignment dashboard daily to identify overdue cases — a time-consuming task that is frequently deprioritized under workload pressure. Automated coordinator notifications ensure that no overdue assignment slips through the management layer unnoticed, providing a second line of defense against care delivery failures. This directly reduces the coordinator's administrative burden while improving oversight of peer mentor responsiveness.
Components
- Notification Scenario Engine service
- Push Notification Service service
- Push Notification Gateway infrastructure
- Notification Repository data
- Notifications Screen ui