All Docs
FeaturesDepositClearUpdated March 15, 2026

Deposit Release SLA Escalation

Deposit Release SLA Escalation

Overview

The Deposit Release SLA Escalation workflow is a scheduled automation that detects deposit releases which have stalled beyond defined time thresholds. When a breach is identified, the system sends escalation notifications to org admins and to any org members holding the finance agent role.

This prevents deposit releases from going unnoticed in long-running statuses, keeping tenancy closures on track and organisations compliant with expected turnaround times.


Schedule

The workflow runs automatically every day at 09:00 UTC.

Cron: 0 9 * * *

No manual trigger is required. The sweep covers all organisations and all qualifying deposit releases in a single run.


SLA Rules

Three conditions are evaluated during each sweep:

1. proposed status — 10 business day threshold

If a deposit release has been in proposed status for more than 10 business days since proposedAt, an escalation is triggered.

2. acknowledged status — 10 business day threshold

If a deposit release has been in acknowledged status for more than 10 business days since acknowledgedAt, an escalation is triggered.

3. draft status — 14 day threshold (no proposedAt)

If a deposit release has been in draft status for more than 14 calendar days and has no proposedAt value set, an escalation is triggered. This catches releases that were created but never progressed to a proposal.


Notification Targets

When an SLA breach is detected, notifications are sent to the following members of the relevant organisation:

RecipientCondition
Org adminsAlways notified on any SLA breach
Members with agentRole = 'finance'Notified on any SLA breach (added in v0.1.349)

This ensures that finance team members are informed of stalled releases directly, without needing to hold admin privileges.


Entities Involved

  • depositReleases — Queried to find releases matching stalled-status criteria.
  • orgMembers — Used to identify admins and finance-role users within the affected organisation.
  • notifications — Records created to deliver escalation alerts to the identified recipients.

Workflow Summary

Daily at 09:00
  └─ Sweep all depositReleases
        ├─ Status = 'proposed' AND proposedAt > 10 business days ago
        │     └─ Notify admins + finance role members
        ├─ Status = 'acknowledged' AND acknowledgedAt > 10 business days ago
        │     └─ Notify admins + finance role members
        └─ Status = 'draft' AND no proposedAt AND createdAt > 14 days ago
              └─ Notify admins + finance role members

Related