# Open a popup window in the script of Alarm event of a tag

**URL:** <https://forum.inductiveautomation.com/t/open-a-popup-window-in-the-script-of-alarm-event-of-a-tag/117971>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [November 25, 2026, 4:53pm UTC](https://forum.inductiveautomation.com/t/open-a-popup-window-in-the-script-of-alarm-event-of-a-tag/117971 "2026-11-25T16:53:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![stefano.sforna](https://avatars.discourse-cdn.com/v4/letter/s/91b2a8/32.png) [@stefano.sforna](https://forum.inductiveautomation.com/u/stefano.sforna)\
**Post date:** [November 25, 2026, 4:53pm UTC](https://forum.inductiveautomation.com/t/open-a-popup-window-in-the-script-of-alarm-event-of-a-tag/117971/1 "2026-11-25T16:53:42Z")

</div>

Good afternoon,

I want to open a popup window in the script of Alarm event in a tag.

I try with this code:

```python
window = system.nav.openWindow('Popups/POPUP ALLARME', {'indice_report' : indice_report, 'numero_allarme' : numero_allarme, 'testo_allarme' : testo_allarme })
system.nav.centerWindow(window)

```

With this instruction, there is errors.

How can solve this problem ??

Thank you

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [November 25, 2026, 5:47pm UTC](https://forum.inductiveautomation.com/t/open-a-popup-window-in-the-script-of-alarm-event-of-a-tag/117971/2 "2026-11-25T17:47:40Z")

</div>

Tag events, including alarm events, are not part of any UI. And they run in the gateway, not in Vision clients. You will probably want to broadcast a message from gateway to client scope, and use a Vision client message handler to open the popup.
