---
title: "get disruptions · RUAL Documentation"
description: "Get current disruptions and engineering works on the NS network."
canonical: https://docs.rual.nl/block-types/NS/nsconnection_disruptions
language: en
---

# get disruptions

This block is part of the [`NS`](https://docs.rual.nl/block-types/NS) group and was last modified in core [`v15.0.0`](https://docs.rual.nl/core-versions/150000).

Get current disruptions and engineering works on the NS network.

- flow `flow`

- Connection required `nsconnection` The NS connection.

- Type `value` Filter on a disruption type (e.g. DISRUPTION, MAINTENANCE, CALAMITY). Leave empty for all. • Suggestions: `DISRUPTION` `MAINTENANCE` `CALAMITY`

- Active only `condition` Only return currently active items.

Default `false`

- Language `value` Language for the disruptions (e.g. nl or en). Defaults to Dutch.

- flow `flow`

- Connection `nsconnection` The NS connection.

- Success `condition` True if the request succeeded.

- Disruptions `array` The disruptions, with snake_cased fields and timestamps converted to unix.

- Count `number` Number of disruptions returned.

- Error `value` Error message if the request failed.

| `storingen` |
| --- |
| `werkzaamheden` |
| `disruptions` |

A typical wiring for [get disruptions](https://docs.rual.nl/block-types/NS/nsconnection_disruptions): a [function trigger](https://docs.rual.nl/block-types/globals/trigger_custom_function) starts the flow; [open connection](https://docs.rual.nl/block-types/NS/nsconnection_open) feeds the `connection` pin; the `flow` out pin feeds [debug](https://docs.rual.nl/block-types/state%20ui/state_debug).

![Studio canvas example for the get disruptions block: typical wiring for get disruptions.](https://docs.rual.nl/canvas-examples/nsconnection_disruptions.png)

### Version history

Introduced in [`v15.0.0`](https://docs.rual.nl/core-versions/150000).
