> ## 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.

# Traceability of notifications

> How to find an occurrence by any identifier, email or phone, and read what was decided on each channel and recipient, why, and what the provider reported.

## At a glance

| Field | Value |
| - | - |
| Status | **Available** |
| Route | `/{locale}/notification/occurrence` (search) and `/{locale}/notification/occurrence/{id}` (occurrence) |
| Menu | Notifications › Operation › **Traceability** |
| Role | Notification Admin and Notification Operator |
| Permission | `notification-occurrence:find-all` (search), `notification-occurrence:find-one` (open), `notification:view-content` (see the event data) |
| Feature flag | None |
| Last verified | 2026-11-12 against `develop` (`679a4e0c5`) plus the PRs for issues #2201 and #2203 |

## What it is for

Traceability answers "why did (or didn't) this customer get the notification?". Each time an event fires, Horizon
records an **occurrence**: the event data, one **decision** per channel and recipient with its reason, and the
sends that went out with everything the provider reported. You find the case with any identifier the customer or
another team gives you, and read the whole story on one screen.

## How to get there

* In the sidebar, open **Operation › Traceability**.
* From a send in [Sends](https://docs.bbrands.io/enterprise/notifications/operation/sends.md), press the event name next to **Occurrence**.
* From an event of the catalog, press an id under **Latest occurrences** of the
  [Usage](https://docs.bbrands.io/enterprise/notifications/catalog/usage-and-history.md) tab.

## What you see

### The search

![Traceability screen: search box Any id: occurrence, notification, request, provider message, correlation, idempotency key, email or phone; Sort by Created, Add filter and Refresh now buttons; a table with Created, Event, Status, Origin, Subject, Sent / decisions and Correlation columns, with the date and the event key in full, and rows with the statuses Completed, No send, Partially failed, Failed and Rejected, each with an open arrow.](https://mintcdn.com/bbrands/ghwz4NAHbW6Q-Mj4/images/enterprise-notifications-screens/traceability/list.en.desktop.webp?fit=max\&auto=format\&n=ghwz4NAHbW6Q-Mj4\&q=85\&s=caee390460b62837629ed814607bbe9f)

The traceability search, newest first: event, status, origin, subject and how many decisions sent something.

| # | Element | What it does |
| - | - | - |
| 1 | Search box | Takes any identifier: occurrence, send, API request, provider message, correlation, idempotency key, or the customer's full email or phone |
| 2 | **Sort by** | **Created** (default, newest first), **Evaluated**, **Completed**, **Event**, **Status**, **Origin** |
| 3 | **Add filter** | The filters of the table below |
| 4 | **Created** | When the event fired |
| 5 | **Event** | The event key, or **Notification without occurrence** and its channel for an API send that did not come from an event |
| 6 | **Status** | The [status of the occurrence](#occurrence-statuses) |
| 7 | **Origin** | **System** (a Horizon flow), **API key** (an integration), **User** (a person, such as a test send) or **Cron** (a scheduled job) |
| 8 | **Subject** | The business record the event is about, as `type:id` (for example the redeemed coupon) |
| 9 | **Sent / decisions** | How many decisions created a send, out of all decisions. `0/3` means nothing went out |
| 10 | **Correlation** | The id that ties the occurrence to the request that caused it |
| 11 | Arrow | Opens the occurrence (or the send, for a row without occurrence) |

**Filters:**

| Filter | What it takes |
| - | - |
| **Domain**, **Category**, **Channel**, **Status**, **Outcome**, **Reason**, **Origin**, **Language** | One or more values from a list. **Domain** shows the dashboard names (**Club Maihue**, **Maihue Lunch**…) and **Reason** only the reasons Horizon records |
| **Spanish fallback** | **Yes**: decisions that used the Spanish text because the recipient's language had none |
| **Event (key or id)** | An exact key, such as `club.coupon.redeemed` |
| **Gateway**, **API key** | One from the list, by its name (the API key with its prefix). If your role cannot list gateways or API keys, the filter shows as **Gateway id** or **API key id** and takes the exact id (UUID) |
| **Account id**, **Login id**, **Template version id** | The exact id (UUID), copied from another screen |
| **Address (email or phone)** | The exact email or phone |
| **Subject type**, **Subject id** | The business record, for example `code_coupon_account` |
| **Created** | A date range |

### The occurrence

![Occurrence club.coupon.redeemed: Summary with Event club.coupon.redeemed, Status Completed, Subject code\_coupon\_account:7f31c2d4, Account, Origin System, Gateway Horizon, Correlation, Idempotency key, Created, Completed and Request; Event data with couponName 2x1 en café and merchantName Café Altura; and the Decisions table starting with Push, Fallback fired, Unreachable.](https://mintcdn.com/bbrands/_njGa-AUVffoWNDA/images/enterprise-notifications-screens/traceability/detail.en.desktop.webp?fit=max\&auto=format\&n=_njGa-AUVffoWNDA\&q=85\&s=0b37c91ce49ac07d6d7fe1747f933e2b)

An occurrence of Cupón canjeado: summary, event data and the first decisions.

| Section | What it shows |
| - | - |
| **Summary** | **Event** (opens it in the catalog), **Status**, **Subject**, **Account** (opens the customer), **Origin**, **Gateway**, **Correlation**, **Idempotency key**, **Created**, **Completed**, and when present **Request** and **Actor** (the person who fired it) |
| **Event data** | The data the event carried, as received. Without `notification:view-content` the values show as `[redacted]` |
| **Decisions** | One row per channel and recipient: **Channel** (and "fallback of …" when it is a plan B), **Recipient**, **Outcome** (with the date when it is deferred), **Reason**, **Language** (with a **fallback** chip if it used Spanish), template **Version** and the **Notification** it created |
| **Notifications and timelines** | One card per send with its status and, in order, what Horizon and the provider reported, each event with its label (email, push, SMS, Live Activity and Horizon's own steps, as in [Delivery events](https://docs.bbrands.io/enterprise/notifications/operation/delivery-events.md)). A **Resend** chip marks a manual resend |

![Decisions table: Push with Fallback fired and reason Unreachable; Email marked fallback of Push, Queued, language ES, version v3 and a link to the send; In-app Queued, ES, v2 with its link. Below, Notifications and timelines: the Email card Opened with Queued, Sent, Delivered and Opened events with their times and provider, and the In-app card Delivered with Queued and Delivered.](https://mintcdn.com/bbrands/_njGa-AUVffoWNDA/images/enterprise-notifications-screens/traceability/decisions.en.desktop.webp?fit=max\&auto=format\&n=_njGa-AUVffoWNDA\&q=85\&s=2120dbae8af274a82216e615ed5037b3)

The decisions and the timelines: the push was unreachable, so its fallback, the email, went out and was opened.

## Step by step

### Find out why a customer did not get a notification

**1. Search for the customer**

Type their full email or phone in the search box and press Enter. If you only have the account, use
**Add filter › Account id** with its id.

**2. Narrow down**

Add **Event (key or id)**, for example `club.coupon.redeemed`, and **Created** with the day of the case.

**3. Open the occurrence**

Press the arrow of the row. If there is no row, the event never fired for that customer: the problem is in
the business flow, not in notifications.

**4. Read the decision of the channel**

In **Decisions**, find the channel and read **Outcome** and **Reason**. The
[table of reasons](#decision-reasons) says what each one means and what to do.

**5. If it went out, read the timeline**

In **Notifications and timelines**, the last event says how far it got: **Delivered**, **Opened**,
**Bounced** or **Failed**. Press the short id to open the send and act on it.

### Follow an id another team gave you

**1. Paste the id**

Paste it in the search box: an occurrence, a send, an API request, a Resend or OneSignal message, a
correlation or an idempotency key.

**2. Open the row**

The search answers the occurrence that holds that id. A send the API made without an event shows as
**Notification without occurrence**; its arrow opens the send.

### Check a fallback channel

**1. Open the occurrence**

For example, a coupon redeemed whose push did not arrive.

**2. Read both decisions**

The primary channel shows **Fallback fired** with its reason (for example, **Unreachable**: the customer has
no device with push on). The fallback row says "fallback of Push" and shows its own outcome.

![The same occurrence with the Event data section showing the Hidden data notice: Your role cannot see sensitive data; it is hidden, and couponName, merchantName and subject as \[redacted\].](https://mintcdn.com/bbrands/_njGa-AUVffoWNDA/images/enterprise-notifications-screens/traceability/redacted.en.desktop.webp?fit=max\&auto=format\&n=_njGa-AUVffoWNDA\&q=85\&s=45b23032a607f05fdfedaec3a9b08325)

A role without notification:view-content sees the event data hidden.

## Business rules

| ID | Rule |
| - | - |
| R-01 | One occurrence per firing of an event. Firing it again with the same idempotency key returns the original occurrence: nothing is evaluated or sent twice |
| R-02 | The engine takes one decision per channel and recipient. The first check that fails decides: event and channel on, published template and text, content within the channel limits, address, suppression, preferences, frequency cap, quiet hours and delay |
| R-03 | A fallback channel is only evaluated when the primary was skipped or suppressed for that recipient, or failed at delivery. The primary decision is then marked **Fallback fired** |
| R-04 | If the recipient's language has no text, the Spanish one is used and the decision shows the **fallback** chip |
| R-05 | A deferred send is checked again when its time comes: if the event or channel was turned off, the address was suppressed, the customer opted out or the event expired, it is cancelled or expired instead of sent |
| R-06 | The search matches whole values: a partial id or email finds nothing. Emails and phones are compared by a fingerprint, never stored in the search |
| R-07 | The fields an event declares sensitive (for example a code) are stored as `[redacted]` for everyone. Without `notification:view-content` every value of the event data is hidden too |
| R-08 | The occurrence status is recalculated as the provider reports delivery |

### Occurrence statuses

| Status | Meaning |
| - | - |
| **Received** | The firing was recorded and is being evaluated. An occurrence that stays here was interrupted: report it |
| **Evaluated** | In the status list and the filter, but Horizon does not leave occurrences in it today |
| **Completed** | At least one decision sent (or deferred) something, and no send failed |
| **No send** | No decision sent anything: every channel was skipped, suppressed or cancelled |
| **Partially failed** | Some sends failed, bounced or expired, others arrived |
| **Failed** | Every send failed, bounced or expired |
| **Rejected** | The event data was incomplete or wrong (**Invalid data**); nothing was evaluated |

### Decision outcomes

| Outcome | Meaning |
| - | - |
| **Queued** | A send was created and goes out now |
| **Deferred** | A send was created and waits until the date shown below the outcome (quiet hours or delay) |
| **Skipped** | Nothing was sent; the reason says why |
| **Suppressed** | Nothing was sent: the address is on the suppression list |
| **Fallback fired** | This channel did not get through and its fallback channel was evaluated |

### Decision reasons

| Reason | What happened | What to do |
| - | - | - |
| **Event inactive** | The event is off or deprecated | [Turn it on](https://docs.bbrands.io/enterprise/notifications/catalog/activate.md) if it should send |
| **Channel inactive** | The channel is off for this event | [Turn the channel on](https://docs.bbrands.io/enterprise/notifications/catalog/channels.md) |
| **No published template** | The channel has no published version, or it has no text in the recipient's language nor in Spanish | [Publish the template](https://docs.bbrands.io/enterprise/notifications/templates/publish.md) |
| **Invalid data** | The event data did not match what the event expects (the occurrence is **Rejected**) | Report it to the team that owns the flow, with the occurrence id |
| **Invalid content** | The text, once filled in, broke a limit of the channel (for example, too long) | Shorten the [template](https://docs.bbrands.io/enterprise/notifications/templates/editor.md) |
| **No recipient** | The event resolved nobody to send to | Check the account of the occurrence |
| **Unreachable** | The recipient has no address for the channel: no email, no phone, no device with push on | Nothing on our side; the fallback channel, if any, takes over |
| **Suppressed: hard bounce**, **Suppressed: complaint**, **Suppressed: invalid number**, **Suppressed: manual** | The address is on the suppression list for that cause | Review it in [**Audience › Suppressions**](https://docs.bbrands.io/enterprise/notifications/audience/suppressions.md) |
| **Opted out** | The customer turned this category or event off on this channel | Respect it; the customer changes it in their preferences |
| **Frequency cap** | The account reached the cap of the channel | See [Edit rules](https://docs.bbrands.io/enterprise/notifications/catalog/rules.md) |
| **Quiet hours** | Deferred until the quiet hours end (outcome **Deferred**) | Nothing: it goes out at the time shown |
| **Expired in quiet hours** | The event would expire before the quiet hours end | Nothing, or shorten the window |
| **Delayed** | Deferred by the channel delay (outcome **Deferred**) | Nothing |
| **Cancelled** | The send was cancelled before it left | Read who cancelled it in the send |
| **Expired** | A deferred send reached the event's time to live before going out | Nothing |
| **Duplicate**, **Kill switch** | Reserved: Horizon does not record them today, so the **Reason** filter does not list them | — |

## States and messages

| State | What you see | Why | What to do |
| - | - | - | - |
| No results | **No occurrences**: "No occurrence matches the search or the filters." | Nothing matches the whole value or the filters | Check the id or email, widen the dates |
| No decisions | "The engine recorded no decision." | The occurrence was rejected before evaluating | Read **Status** and the event data |
| No sends | "No notification was created." | Every decision was skipped or suppressed | Read the reasons in **Decisions** |
| No events yet | "No events yet." in a timeline | The provider has not reported anything yet | Wait a few minutes |
| Hidden data | **Hidden data**: "Your role cannot see sensitive data; it is hidden." | Your role lacks `notification:view-content` | Ask a Notification Operator or Admin if you need it |
| Not found | "The occurrence was not found or could not be loaded." | The id does not exist or the request failed | Search for it again from the list |
| No access | **Access restricted** | Your role lacks `notification-occurrence:find-all` | Ask for the Notification Operator role |

## Errors

| Message | Cause | Backend code | Support action |
| - | - | - | - |
| "The occurrence was not found or could not be loaded." | Unknown id | 404 | Copy the id again |
| The list shows an error with **Retry** | The search could not be loaded | 5xx | Press **Retry**; if it persists, report it |

## Why it works this way

![Diagram: a business flow calls notify with an event; an invalid payload leaves the occurrence rejected; a valid one records an occurrence, resolves the recipients and takes one decision per channel with the template and the rules; what is not sent keeps its reason in Traceability; each send goes through the queue and the lane of its channel to the provider, which reports delivery events that feed the timeline, the suppressions and the metrics.](https://mintcdn.com/bbrands/_njGa-AUVffoWNDA/images/notification-user-manual/notification-pipeline.svg?fit=max\&auto=format\&n=_njGa-AUVffoWNDA\&q=85\&s=cecf58e47e5c4fa095c0d086c98a9728)

From the firing to the timeline: what Traceability shows at each step.

Notifications go through many hands: the business flow, the rules, the customer's preferences, the queue and the
provider. Keeping one occurrence per firing, with every decision and its reason, means that "it did not arrive" always
has an answer you can read, even when nothing was sent. Searching by whole values and comparing emails by a
fingerprint keeps the search useful without storing customer addresses in it.

## Technical detail

| Aspect | Detail |
| - | - |
| Screens | `frontend/horizon-enterprise/app/components/screens/notification/occurrence/notification-occurrence-list-screen.tsx` and `notification-occurrence-detail-screen.tsx` |
| API | `GET /api/v3/notification/occurrence` (`notification-occurrence:find-all`) and `GET /api/v3/notification/occurrence/{id}` (`notification-occurrence:find-one`) |
| Engine | `backend/horizon-api/lib/notification/eligibility/eligibility-pipeline.ts` (decisions), `occurrence/occurrence-status.ts` (statuses), `eligibility/reasons.ts` (closed lists) |
| Read | `backend/horizon-api/lib/notification/traceability/notification-traceability.service.ts`; the event data is hidden without `notification:view-content` |
| Texts | `messages/{es,en}.json` › `modules.notification.occurrence`, `occurrenceDetail`, `occurrenceStatus`, `outcome`, `reason` |
| Columns | Fixed widths that fit a 1440 px screen, like the event catalog (user-manual D-37 and D-78) |

## FAQ and support cases

> [accordion] The customer says the email never arrived, but the timeline says Delivered
>
> The provider handed it to the customer's mail server. Ask them to check spam and promotions. If it says
> **Opened**, they opened it.

> [accordion] The push decision says Unreachable
>
> The customer has no device with push on for that app: they never accepted notifications, uninstalled the app
> or signed out. If the event has a fallback channel, look at its row.

> [accordion] I search by email and find nothing
>
> The search needs the full address, exactly as it is on the account. If the event went to the account's login,
> filter by **Account id** instead.

> [accordion] The status is Partially failed
>
> One channel arrived and another did not. Look at the timelines: the card whose last event is **Failed** or
> **Bounced** is the one to act on from [Sends](https://docs.bbrands.io/enterprise/notifications/operation/send-detail-and-actions.md).

> [accordion] The occurrence was Rejected
>
> The flow sent incomplete data, so nothing was evaluated. Send the occurrence id to the technology team: the
> event data shows what came in.

## Related and history

* [Sends](https://docs.bbrands.io/enterprise/notifications/operation/sends.md)
* [Send detail and actions](https://docs.bbrands.io/enterprise/notifications/operation/send-detail-and-actions.md)
* [Edit rules](https://docs.bbrands.io/enterprise/notifications/catalog/rules.md)
* [Glossary](https://docs.bbrands.io/enterprise/notifications/getting-started/glossary.md)

| Date | Change |
| - | - |
| 2026-11-11 | First version |
| 2026-11-12 | Push, SMS, Live Activity and Horizon events of the timelines have a label (issue #2201) |
| 2026-11-12 | Issue #2203: the **Reason** filter leaves out the reserved reasons, **Domain** is translated, **Gateway** and **API key** are picked from a list and the columns fit at 1440 px |


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