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

# Queues and lanes

> How to read the notification lanes, pause and resume one in an emergency with a reason that stays in its history, and requeue the messages that got stuck, with the permissions each action needs.

## At a glance

| Field | Value |
| - | - |
| Status | **Available** |
| Route | `/{locale}/notification/operations` |
| Menu | Notifications › Operation › **Queues** |
| Role | Notification Admin and Notification Operator operate the lanes; Editor and Marketing do not see this screen |
| Permission | `notification-lane:operate` (see, pause, resume and requeue); `queue-lane:find-all` alone only lets you see it |
| Feature flag | None |
| Last verified | 2026-11-12 against `develop` (`679a4e0c5`) plus PR for issue #2201 |

## What it is for

Every notification leaves through a **lane** ("carril"; what the business sometimes calls a "subcola"): one per
channel, each with its own pace. This screen shows how each lane is doing (running or paused, how fast it sends,
how many messages wait) and lets you stop a channel in an emergency, for example when a wrong email is going out,
without touching the other channels. The same screen holds the
[failed messages](https://docs.bbrands.io/enterprise/notifications/operation/failed-messages.md) and the
[scheduled sends](https://docs.bbrands.io/enterprise/notifications/operation/scheduled-sends.md).

## How to get there

* In the sidebar, open **Operation › Queues**. The **Lanes** table is at the top.

## What you see

![Queues screen, Lanes card: a table with Lane, State, Rate, Parallelism and Waiting for notification, notification-email (1/2 per 1s, 2/3, 4 waiting), notification-in-app, notification-live-activity, notification-push (6/∞, 1/4, 37 waiting), notification-sms and notification-whatsapp, all Running, each with Pause and Requeue stalled; the Failed messages card starts below.](https://mintcdn.com/bbrands/60Dos-kygsMSvNkG/images/enterprise-notifications-screens/queues/lanes.en.desktop.webp?fit=max\&auto=format\&n=60Dos-kygsMSvNkG\&q=85\&s=3171e930bf6bc8dd844cb84dc4fa375f)

The seven notification lanes, all running; the push lane has 37 messages waiting.

| # | Element | What it does |
| - | - | - |
| 1 | **Lane** | The lane name. `notification-email` is email, `notification-push` push, and so on; see [Lanes](https://docs.bbrands.io/enterprise/notifications/operation/lanes.md) |
| 2 | **State** | **Running** or **Paused**. Under **Paused**, who paused the lane, when and why |
| 3 | **Rate** | Messages sent in the current period against the limit, and the period: `1/2 / 1s` is 1 of 2 per second. `∞` means the lane has no rate limit of its own |
| 4 | **Parallelism** | Messages being delivered right now against the most the lane allows at once |
| 5 | **Waiting** | Messages queued in the lane that have not left yet |
| 6 | **Pause** / **Resume** | Stops or restarts the lane, after a confirmation with a reason |
| 7 | **Requeue stalled** | Sends again the messages of the lane that have been stuck for more than 15 minutes |

The figures refresh every minute and when you come back to the screen.

## Step by step

### Pause a lane in an emergency

**1. Find the lane**

In **Lanes**, find the channel to stop, for example `notification-push`.

**2. Press Pause**

The dialog **Pause notification-push?** explains that "Messages of notification-push wait in the queue until it
resumes; decisions do not change."

**3. Write the reason**

In **Reason**, write why you pause it, for example the incident number. **Pause** stays greyed out until the
reason has 3 characters ("Write at least 3 characters; the reason stays in the lane history."); it takes up to
500\.

![Dialog Pause notification-push? over the Lanes table, with the text Messages of notification-push wait in the queue until it resumes; decisions do not change, the Reason field filled with OneSignal incident INC-2231: deliveries failing with 500, the hint Write at least 3 characters; the reason stays in the lane history, and the buttons Cancel and Pause (red).](https://mintcdn.com/bbrands/60Dos-kygsMSvNkG/images/enterprise-notifications-screens/queues/pause.en.desktop.webp?fit=max\&auto=format\&n=60Dos-kygsMSvNkG\&q=85\&s=a2bd9e416ebbaa37bacc38b5c73f3e96)

Confirmation before pausing the push lane, with its reason.

**4. Confirm**

Press **Pause**. You see **notification-push paused** · "The change applies within seconds." and the state
changes to **Paused**. Under it the lane shows "Paused by {name} · {date}" and "Reason: {reason}", so everyone
knows who paused it and why.

### Resume a lane

**1. Press Resume**

On the paused lane, read who paused it and why, then press **Resume**. The dialog says "notification-push
delivers its waiting messages again."

**2. Write the reason**

In **Reason**, write why you resume it (at least 3 characters), for example that the provider recovered.

![Dialog Resume notification-push? with the Reason field filled with OneSignal resolved INC-2231 and the buttons Cancel and Resume (blue); behind it, in the Lanes table, notification-push shows the Paused state with Paused by Camila Fuentes · 10 Nov 2026 and Reason: OneSignal incidente INC-2231: entregas con error 500, and the Resume button.](https://mintcdn.com/bbrands/60Dos-kygsMSvNkG/images/enterprise-notifications-screens/queues/resume.en.desktop.webp?fit=max\&auto=format\&n=60Dos-kygsMSvNkG\&q=85\&s=7f050734b484aa5dfef4237c638f73e0)

A paused lane shows who paused it and why, and the Resume dialog asks for its own reason.

**3. Confirm and watch**

Press **Resume**. You see **notification-push resumed**. **Waiting** goes down as the messages leave at the lane's
pace.

### Requeue the stalled messages of a lane

**1. Press Requeue stalled**

On the lane's row, press **Requeue stalled**. The dialog **Requeue stalled messages?** says: "Requeues the
messages of this lane that have not moved for more than 15 minutes. Payments, webhooks and domain jobs are
skipped."

![Dialog Requeue stalled messages?: Requeues the messages of this lane that have not moved for more than 15 minutes. Payments, webhooks and domain jobs are skipped; buttons Cancel and Requeue.](https://mintcdn.com/bbrands/60Dos-kygsMSvNkG/images/enterprise-notifications-screens/queues/requeue-stalled.en.desktop.webp?fit=max\&auto=format\&n=60Dos-kygsMSvNkG\&q=85\&s=1396d09f8dc728c579c7e4cb76035b70)

The stalled requeue acts on one lane only.

**2. Confirm**

Press **Requeue**. You see **Requeue started** · "The stalled messages of the lane were submitted for requeue."

## Business rules

| ID | Rule |
| - | - |
| R-01 | Each channel has its own lane: pausing `notification-push` does not stop email or in-app. In-app has its own lane, `notification-in-app`, so a paused or saturated push lane never holds the inbox |
| R-02 | Pausing stops new deliveries of the lane; the ones already being delivered finish. Nothing is lost: the messages wait and leave when it resumes |
| R-03 | Pausing does not change any decision: the rules, the preferences and the suppressions were applied before the message entered the lane |
| R-04 | A pause has no end time: the lane stays paused until someone resumes it |
| R-05 | A notification operator can only operate notification lanes (`notification` and `notification-<channel>`); any other lane of the platform answers "no permission" |
| R-06 | A message is stalled when it was recorded but has not finished after 15 minutes. Every 10 minutes the platform requeues up to 50 stalled messages on its own; the button does it now for one lane |
| R-07 | The requeue never sends payments, webhooks or domain jobs again, and it never sends a message twice: a message that was already delivered is skipped |
| R-08 | The rate and parallelism limits are not edited here. They are set in **Queue › Control panel** (`/queue/dashboard`), which needs the `queue-lane:find-all` and `queue-lane:update` permissions of the Administrator role |
| R-09 | Pausing and resuming need a reason of 3 to 500 characters. Each change stays in the lane history with who made it, when, the reason and the state before and after; the configuration edits of the lane land in the same history |

## States and messages

| State | What you see | Why | What to do |
| - | - | - | - |
| Running | **Running** (green) | The lane is delivering | Nothing |
| Paused | **Paused** (yellow), "Paused by {name} · {date}" (or "Paused on {date}" when the actor is unknown), "Reason: {reason}" and **Resume** | Someone paused it | Resume it when the cause is fixed |
| No reason yet | **Pause** or **Resume** greyed out in the dialog | The reason has fewer than 3 characters | Write the reason |
| Paused | **notification-push paused** · "The change applies within seconds." | You paused the lane | Watch the lane; resume it when the cause is fixed |
| Resumed | **notification-push resumed** · "The change applies within seconds." | You resumed the lane | Watch **Waiting** go down |
| Requeue sent | **Requeue started** · "The stalled messages of the lane were submitted for requeue." | The stalled messages were sent again | Check **Waiting** and the sends |
| Queue full | **Waiting** keeps growing | The provider is slow, or the lane is paused | Check the state; if it is running, see the provider's status |
| No buttons | The rows have no **Pause** or **Requeue stalled** | Your role can see the queues but lacks `notification-lane:operate` | Ask a Notification Operator |
| No lanes | "No notification lane is configured." | The lanes could not be read | Reload; if it persists, escalate |

## Errors

| Message | Cause | Backend code | Support action |
| - | - | - | - |
| **The lane could not be updated** · "You do not have permission for this action…" | The lane is not a notification lane, or the permission is missing | 403 | Ask for the Notification Operator role |
| **The lane could not be updated** · "Something failed on our side…" | Server error | 5xx | Try again; escalate if it persists |
| **Could not requeue** · "Request failed: 403" | Missing `notification-lane:operate`, or the lane is not a notification lane | 403 | Ask for the role |
| **Could not requeue** · "Request failed: 500" | Server error | 5xx | Try again later |

## Why it works this way

![Diagram: the notification queue spreads the sends over six lanes; Email goes to Resend; In-app goes to the Horizon inbox; Push, SMS and Live Activity go to OneSignal; WhatsApp is reserved and has no provider.](https://mintcdn.com/bbrands/_njGa-AUVffoWNDA/images/notification-user-manual/channel-lanes.svg?fit=max\&auto=format\&n=_njGa-AUVffoWNDA\&q=85\&s=bcca131ffe4af22db7641224c5a3ffae)

Each send enters the notification queue and leaves on its channel's lane towards its provider.

Each provider accepts only so many messages per second, and when it fails it fails for its channel. One lane per
channel lets each channel go at its provider's pace and makes it possible to stop one without stopping the others.
The decision of what to send happens before the lane, so pausing only delays: when the lane resumes, the messages
leave as they were decided.

## Technical detail

| Aspect | Detail |
| - | - |
| Screen | `frontend/horizon-enterprise/app/components/screens/notification/operations/notification-operations-screen.tsx` (`LanesSection`); requeue dialog in `components/screens/queue/monitor/queue-event-requeue-dialog.tsx` |
| Read | `GET /api/v3/queue/lane/metrics` (live state) and `GET /api/v3/queue/lane` (ids), limited to the notification lanes for operators (`authorizeQueueLaneRead`, D-32) |
| Pause and resume | `POST /api/v3/queue/lane/{id}/pause` and `/resume` with body `{ reason }` (3 to 500 characters): `queue-lane:pause` or, for a notification lane, `notification-lane:operate` (`authorizeQueueLaneOperation`); dialog `ReasonDialog` (`components/shared/reason-dialog.tsx`) |
| Lane history | Trigger `queue_lane_audit` (migration 0439, D-80) writes each change to `audit_log` with actor, time, reason and `is_paused` before and after; `GET /api/v3/queue/lane/{id}/history` (`queue-lane:find-one`, or `notification-lane:operate` for a notification lane) feeds the pause note. In **Queue › Configuration** pausing also asks for a reason, and the lane form no longer has the **Paused** switch (`PATCH /api/v3/queue/lane/{id}` does not accept `is_paused`) |
| Requeue | `POST /api/v3/queue/event/requeue-stalled` with the lane; automatic cron `GET /api/v3/cron/queue/event/reconcile` every 10 minutes (`QUEUE_EVENT_REQUEUE_STALL`: 15 minutes, 50 per run) |
| Lanes | `backend/horizon-api/lib/queue/lane/queue-lane.defaults.ts` and `queue-lane-map.ts` |
| Texts | `messages/{es,en}.json` › `modules.notification.operations` (with `stalledDialog`) and `modules.queue.requeue` |

## FAQ and support cases

> [accordion] A wrong push is going out. What do I do first?
>
> Pause `notification-push`. Then fix the cause (for example, turn the event's push off in the
> [catalog](https://docs.bbrands.io/enterprise/notifications/catalog/channels.md) or fix the template) and resume the lane. The messages that
> were waiting leave when you resume, so cancel the ones that must not go out from [**Operation › Sends**](https://docs.bbrands.io/enterprise/notifications/operation/sends.md) first.

> [accordion] I paused the push lane and customers still get emails
>
> That is expected: each channel has its own lane. Pause `notification-email` too if you need to stop email.

> [accordion] A lane is paused and I do not know why
>
> Read the note under **Paused**: it says who paused the lane, when and the reason they wrote. Ask that person
> before resuming it.

> [accordion] Waiting is above zero but the lane is running
>
> The lane sends at its pace; a burst (a campaign, a reminder for every customer) takes a while to drain. If the
> number does not go down for several minutes, check the provider status and the failed messages.

> [accordion] Can I change how many emails go out per second?
>
> Not from this screen. The lane limits are in **Queue › Control panel** and need the Administrator role; ask the
> technology team.

## Related and history

* [Failed messages](https://docs.bbrands.io/enterprise/notifications/operation/failed-messages.md)
* [Guide: A lane is stuck or paused](https://docs.bbrands.io/enterprise/notifications/guides/stuck-or-paused-lane.md)
* [Scheduled sends](https://docs.bbrands.io/enterprise/notifications/operation/scheduled-sends.md)
* [Lanes](https://docs.bbrands.io/enterprise/notifications/operation/lanes.md)
* [Roles and permissions](https://docs.bbrands.io/enterprise/notifications/getting-started/roles-and-permissions.md)

| Date | Change |
| - | - |
| 2026-11-11 | First version |
| 2026-11-11 | Links to the Sends and Traceability pages and to the incident guides |
| 2026-11-12 | Pausing and resuming ask for a reason, and a paused lane shows who paused it, when and why (issue #2201 fixed); new copy of the stalled requeue dialog |


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