> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bbrands.io/llms.txt
> Use this file to discover all available pages before exploring further.

# States and reasons

> Every status of a send and of an occurrence, every decision and every reason, with the label the screen shows and what to do when you see it.

## What it is for

The module shows a label wherever something has a state: a send, an occurrence (each time an event fired), a
decision (what was resolved for one recipient on one channel) and the reason of that decision. This page lists
every value, with the label exactly as the screen shows it, what it means and what to do.

The values come from the code. A test fails when a value is added to the code and this page does not list it, so
the list is always complete.

> [!TIP]
>
> Look a value up with your browser's search (Ctrl+F or ⌘F) and the label you see on screen.

## How the four fit together

1. An event fires and creates an **occurrence**.
2. Horizon evaluates each channel and recipient. Each evaluation leaves a **decision** with an outcome and, when it
   did not send at once, a **reason**.
3. Each decision that sends creates a **send**, which moves through its own statuses until the provider reports
   what happened.
4. The occurrence ends with a status that sums up its decisions and sends.

## Send statuses

What you see in the **Status** column of [**Sends**](https://docs.bbrands.io/enterprise/notifications/operation/sends.md) and on the send detail. A send only moves forward: a late event
from the provider never takes a delivered send back to failed.

| Value | Label | What it means | What to do |
| - | - | - | - |
| `scheduled` | **Scheduled** | It waits for a time: quiet hours or a delay. A job releases due sends every minute | Nothing. If it must not go out, use **Cancel send** |
| `queued` | **Queued** | It is in the notification queue, waiting for its channel's lane | Nothing. If it stays queued for minutes, check in [**Queues**](https://docs.bbrands.io/enterprise/notifications/operation/queues.md) whether the lane is paused |
| `sending` | **Sending** | Horizon is handing it to the provider. It lasts seconds | Do not resend it: a send in flight cannot be resent. If it lasts minutes, check **Queues** |
| `sent` | **Sent** | The provider accepted it. In-app: it is already in the inbox | Nothing. Delivery confirmation comes later, when the provider reports it |
| `delivered` | **Delivered** | The provider confirmed it arrived: the mailbox accepted the email or the phone received the push | Nothing |
| `opened` | **Opened** | The email was opened, or the in-app notification was seen | Nothing. Some mail apps open every email automatically, so treat it as a signal, not as proof |
| `clicked` | **Clicked** | A link of the email was clicked, the push was tapped, or the in-app notification was read | Nothing |
| `bounced` | **Bounced** | The email did not arrive. A permanent bounce also adds the address to [**Suppressions**](https://docs.bbrands.io/enterprise/notifications/audience/suppressions.md) | Confirm the address with the customer. If it was wrong, correct it in the account; lift the suppression only when the address works |
| `complained` | **Marked as spam** | The recipient marked the email as spam. The address goes to **Suppressions** | Do not lift the suppression unless the customer asks for it in writing |
| `failed` | **Failed** | The provider did not accept it after every automatic retry, or reported a failure | Open the send and read its events. Fix the cause and use **Retry**. If the event has a fallback channel, it already fired |
| `cancelled` | **Cancelled** | It will never go out: someone cancelled it, or at release the event, the channel, a suppression or a preference no longer allowed it | Read the reason on the send. Resend it only if the cause is gone |
| `expired` | **Expired** | It waited (quiet hours or delay) and, when its time came, the event's time to live had passed | Nothing to retry: the information is stale. If it matters, ask the area to fire the event again |
| `skipped` | **Skipped** | Horizon created it but did not hand it over: no device subscribed for push, the provider is not configured, or the customer turned the category off | Read the reason on the send. For push, the customer must open the app and accept notifications |

> [!NOTE]
>
> **Retry** puts the same failed send back in the queue. **Resend** creates a new send linked to the original and
> works on any send that already left; it does not work on a send that is **Scheduled**, **Queued** or **Sending**.
> **Cancel send** works only on **Scheduled** and **Queued** sends.

## Occurrence statuses

What you see in [**Traceability**](https://docs.bbrands.io/enterprise/notifications/operation/traceability.md): one row per time an event fired.

| Value | Label | What it means | What to do |
| - | - | - | - |
| `received` | **Received** | Horizon recorded the occurrence and has not evaluated it yet | Nothing. It lasts a moment; if it stays, report it to Technology |
| `evaluated` | **Evaluated** | Every channel and recipient has a decision | Nothing. It moves on as the sends go out |
| `completed` | **Completed** | At least one send was queued or deferred, and none failed | Nothing |
| `no-op` | **No send** | No decision sent anything: every channel was skipped or suppressed | Open the occurrence and read the reason of each decision. It is often correct (a customer who opted out) |
| `partially-failed` | **Partially failed** | Some sends failed or bounced and others went out | Open the failed sends and act as the send status says |
| `failed` | **Failed** | Every send of the occurrence failed, bounced or expired | Same as above. If it happens to many occurrences at once, check the provider in [**Queues**](https://docs.bbrands.io/enterprise/notifications/operation/queues.md) and the dashboard |
| `rejected` | **Rejected** | The event data did not match the event's schema, so nothing was evaluated | The producing system sent wrong data. Report it to Technology with the occurrence id |

## Decision outcomes

What you see in the **Outcome** column of the **Decisions** block of an occurrence: one per channel and recipient.

| Value | Label | What it means | What to do |
| - | - | - | - |
| `queued` | **Queued** | A send was created and queued at once | Nothing |
| `deferred` | **Deferred** | A send was created to go out later, by quiet hours or a delay. The reason says which | Nothing. You can cancel the send while it waits |
| `skipped` | **Skipped** | No send was created. The reason says why | Read the reason in the next table |
| `suppressed` | **Suppressed** | No send was created: the address is on the suppression list | See the suppression reasons in the next table |
| `fallback` | **Fallback fired** | This channel did not go out and the event's fallback channel was used instead | Nothing. Look at the fallback channel's decision on the same occurrence |

## Reasons

The reason of a decision that did not send at once, or of a send cancelled when it was released. The traceability
screen and the dashboard use these same labels.

| Value | Label | What it means | What to do |
| - | - | - | - |
| `cancelled` | **Cancelled** | Someone cancelled the send from its detail | Nothing. The cancel reason is on the send |
| `channel-inactive` | **Channel inactive** | The channel is off for this event in the [**Event catalog**](https://docs.bbrands.io/enterprise/notifications/catalog/list.md) (WhatsApp is always off for now) | If it should go out, turn the channel on in the event's **Channels** tab |
| `delayed` | **Delayed** | The send waits for the delay set in the event's rules | Nothing. Change the delay in **Edit rules** if it is wrong |
| `duplicate` | **Duplicate** | The same firing arrived twice with the same idempotency key; the first one counts | Nothing. It is protection against double sends. Reserved: today the repeated call returns the original occurrence and records no new decision |
| `event-inactive` | **Event inactive** | The event is off or deprecated in the **Event catalog** | Turn the event on if it should notify. A deprecated event cannot be turned on |
| `expired` | **Expired** | The send waited and its time to live passed before it could go out | Nothing to retry. Shorten the delay if this happens often |
| `frequency-capped` | **Frequency cap** | The account already reached the event's or the category's cap on this channel | Nothing; that is the cap working. Raise it in **Edit rules** only if the business agrees |
| `invalid-content` | **Invalid content** | The published template rendered content the channel does not accept, for example an empty subject or a push that is too long | Fix the template, test it with a **Test send** and publish it again |
| `invalid-payload` | **Invalid data** | The event data did not match the event's schema; the occurrence is **Rejected** | Report it to Technology: the producing system must be fixed |
| `kill-switch` | **Kill switch** | Notifications were silenced on purpose, for example during a data backfill | Nothing. Reserved: today a silenced process does not fire the event, so nothing is recorded |
| `no-published-template` | **No published template** | The event has no published template on this channel, or none in Spanish | Publish a template version for the channel from the event's **Channels** tab ([Template editor](https://docs.bbrands.io/enterprise/notifications/templates/editor.md)) |
| `no-recipient` | **No recipient** | The audience resolved nobody: the account has no members with access, or no address was given | Check the account in Horizon. If it is correct, nothing else is needed |
| `opted-out` | **Opted out** | The customer turned this category or event off in their preferences. Only marketing can be turned off | Nothing. Never turn it back on without the customer's request |
| `quiet-hours` | **Quiet hours** | The send waits until quiet hours end, in the recipient's time | Nothing. It goes out when the window ends |
| `quiet-hours-expired` | **Expired in quiet hours** | The send would have waited past the event's time to live, so it was skipped | Nothing. If the event must arrive at night, ask for it to ignore quiet hours |
| `suppressed-complaint` | **Suppressed: complaint** | The address marked an earlier email as spam | Lift the suppression only at the customer's written request |
| `suppressed-hard-bounce` | **Suppressed: hard bounce** | An earlier email to the address bounced for good | Confirm and correct the address, then lift the suppression with a reason |
| `suppressed-invalid-number` | **Suppressed: invalid number** | The provider reported that the phone number does not exist | Correct the number in the account, then lift the suppression |
| `suppressed-manual` | **Suppressed: manual** | Someone added the address to [**Suppressions**](https://docs.bbrands.io/enterprise/notifications/audience/suppressions.md) by hand | Read the reason of the suppression before lifting it |
| `unreachable` | **Unreachable** | The recipient has no address on this channel: no email, no phone or no device for push | Ask the customer to complete their data or to install the app and accept notifications |

> [!NOTE]
>
> Security notifications (codes, magic links, password recovery) ignore preferences, suppressions, caps and quiet
> hours, so that a customer can always get back into their account. You will not see those reasons on them.

## Rules

| Rule |
| - |
| Statuses only move forward; a late provider event never undoes a delivery |
| Every decision that did not send at once has a reason |
| Labels on this page are quoted from the module's message files; a test fails if a value is missing |

## Technical detail

| Aspect | Detail |
| - | - |
| Send statuses | `enumNotificationStatus` in `database/horizon-drizzle/database/utils/enum.ts`, mirrored by `NOTIFICATION_STATUSES` in `backend/horizon-api/lib/notification/core/notification-core.types.ts`; transitions in `notification-status.ts` |
| Occurrence statuses, outcomes and reasons | `backend/horizon-api/lib/notification/eligibility/reasons.ts` |
| How the occurrence status is computed | `backend/horizon-api/lib/notification/occurrence/occurrence-status.ts` |
| Labels | `modules.notification.status`, `.occurrenceStatus`, `.outcome` and `.reason` in `frontend/horizon-enterprise/messages/{es,en}.json` |
| Parity test | `scripts/ci/manuals-docs.test.mjs` (REQ-12.AC-1) |

## Related and history

* [Glossary](https://docs.bbrands.io/enterprise/notifications/getting-started/glossary.md)
* [Rules of an event](https://docs.bbrands.io/enterprise/notifications/catalog/rules.md)
* [Architecture](https://docs.bbrands.io/enterprise/notifications/reference/architecture.md)

| Date | Change |
| - | - |
| 2026-11-11 | First version |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.