๐
Sub-flow: Dispatch Notification
SUC-NOT-01
This page is a sub-flow invoked from another use case โ when finished, control returns to the caller.
Dispatch Notification
โ Inferred Draft โ No screen specification exists for this sub-use case.
SUC-NOT-01 is a fully automated background process โ no user input is required. The steps below are derived from the SUC detail YAML for prototype reference.
SUC-NOT-01 is a fully automated background process โ no user input is required. The steps below are derived from the SUC detail YAML for prototype reference.
Process Overview โ System executes automatically on invocation
-
Receive notification request from the originating moduleThe request specifies the notification type, the intended recipient(s), and the information needed to compose the message. Routing rules per notification type: SS-NOT.01.
-
Confirm this notification has not already been sentDuplicate prevention policy: SS-NOT.07. AF 2A: Notification already sent โ skip
-
Identify available delivery channels and prepare message contentIn-app: always included. Push: only if mobile app installed and notifications enabled. Email: only if recipient has a registered email address. Message matched to recipient's preferred language. Language fallback: SS-NOT.06. AF 3A: Message format unavailable โ record failure
-
Send notification through each available channel and record resultIn-app: new notification entry appears in recipient's inbox (UC-NOT.03). Email: sent via external email service (ACT-07). Push: sent via push notification service. Each channel result recorded separately (UC-NOT.04). Re-send and failure handling: SS-NOT.05.
Success Outcome
- Recipient has a new notification in their inbox (UC-NOT.03)
- Each channel has sent or will be retried automatically
- Delivery record exists per channel (UC-NOT.04)
- Request marked processed โ duplicate sending prevented
Failure Outcome (AF 3A)
- No notification sent โ message format unavailable
- Operations team alerted for resolution
Screen Flow (SUC-NOT-01):
Spec notes
| Key | Value |
|---|---|
| Identity | SUC-NOT-01 ยท Dispatch Notification ยท dispatch-notification |
| Purpose | Route and deliver a notification triggered by an external module event (LMS, CCM, FRM, BIL) via Kafka. Channel routing: in-app (always), push (if user has FCM token / mobile app installed), email (if user has a registered email address). Records delivery attempt and outcome per channel. |
| ReturnUrl context |
Current value: /review-and-approve-course/course-review-pageFallback rule: if returnUrl is empty, Finish โ /; Cancel โ /?sub_cancelled=1Propagation: returnUrl carried via query string through all SUC screens |
| Sub-flow context |
SUC ID: SUC-NOT-01 Invoked by: UC-LMS.07 (Enroll in Course), UC-CCM.05 (Submit Course for Publish), UC-CCM.06 (Review and Approve Course), UC-BIL.01 (Purchase Course) |
| Preconditions | System has received a notification request with recognized type and identified recipient; recipient has an active account |
| Additional requirements |
AR1: Delivery channel assignment and routing rules โ SS-NOT.01 AR2: Duplicate notification prevention policy โ SS-NOT.07 AR3: Re-sending schedule for failed delivery attempts โ SS-NOT.05 AR4: Notification message format selection and language fallback โ SS-NOT.06 |