Compliance administrators need to warn users before required documents expire, so users can renew them on time and avoid unnecessary access restrictions.
| Actor | Responsibility |
|---|---|
| Compliance Administrator | Defines notification timing and delivery channels. |
| User | Receives renewal reminders. |
| Compliance Engine | Applies active rules when documents approach expiration. |
- The document type exists.
- The administrator has permission to manage notification rules.
- The administrator selects the document type that requires reminders.
- The administrator defines how many days before expiration the user should be notified.
- The administrator selects one or more delivery channels.
- The administrator provides a clear description of the rule and its business impact.
- The system saves the rule and makes it available for compliance processing.
- Users receive reminders according to the active rules.
If an identical rule already exists for the same document, tenant, timing, and channel, the system prevents duplication to avoid notification spam.
- Notification rules must be configurable by tenant and document type.
- Multiple reminder steps may exist for the same document type.
- Every rule must include
code,value, anddescription. - The system must preserve traceability of sent notifications.
- An administrator can configure at least three reminder levels.
- Duplicate rules are blocked.
- Users receive reminders before expiration when rules apply.
- Notification behavior can vary by tenant.
Note
En la implementación real de C# (base de código), NotificationRule es una Entidad hija encapsulada dentro del Agregado DocumentType, bajo el espacio de nombres unificado Ums.Domain.Approvals.
- Persist rules as part of the
DocumentTypeAggregate Root. - Mandatory fields:
Code,Value(JSON containing timing/channels),Description. - Enforce uniqueness by
Code,TenantId, andDocumentTypeId. - Record notification delivery traceability.
- Support cache invalidation when notification rules change.
- Entities:
DocumentType(AR),NotificationRule(Child Entity),UserDocument(AR) - ADRs: ADR-0045, ADR-0016
- Related Stories: FS-11, FS-16