Skip to content

Implement document expiration workflow with automated notifications #962

Description

@nanaf6203-bit

Problem

Document model has expiresAt and isExpired but expiration workflow is not fully implemented: no scheduled job, no notifications, no archival.

Expected Outcome

Automated document expiration workflow with configurable notifications.

Acceptance Criteria

  • Daily cron for expiring documents
  • Notifications at 30, 14, 7, 1 day before expiry
  • Auto status change to EXPIRED
  • Notification to document owner and transaction parties
  • Renewal workflow

Files Affected

src/documents/documents.service.ts

Difficulty

Medium

Estimated Effort

Medium (3-5 days)

Labels

documents, workflow, feature

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions