# Automatic Popup trigger

**URL:** <https://forum.inductiveautomation.com/t/automatic-popup-trigger/110403>\
**Category:** Ignition\
**Tags:** perspective, database, scripting\
**Created:** [September 5, 2025, 10:26am UTC](https://forum.inductiveautomation.com/t/automatic-popup-trigger/110403 "2025-09-05T10:26:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ananyamohanty0175](https://avatars.discourse-cdn.com/v4/letter/a/9de053/32.png) [@ananyamohanty0175](https://forum.inductiveautomation.com/u/ananyamohanty0175)\
**Post date:** [September 5, 2025, 10:26am UTC](https://forum.inductiveautomation.com/t/automatic-popup-trigger/110403/1 "2025-09-05T10:26:54Z")

</div>

Using Perspective, I need to trigger a popup.

**Explanation:**  
I have a set of tags, including:

- `startTime`

- `endTime`

- `stdTime` (e.g., Hr – 5, 6, …) Its not a Tag

Based on `stdHR`, I need to trigger the popup:

- Starting 1 hour before the configured `stdTime`.

- Repeated every 15 minutes until the `stdTime`.

- It will close after 5 sec

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [September 5, 2025, 11:02am UTC](https://forum.inductiveautomation.com/t/automatic-popup-trigger/110403/2 "2025-09-05T11:02:00Z")

</div>

This doesn't sound like a good user interface design. What if nobody is looking when the popup appears.

What is the real problem you are trying to solve? (Don't describe your solution. Describe the problem. What is to be communicated to the user? How important is it that it is seen? What kind of application are you creating?)

---

<div class="post-metadata">

**Author:** ![ananyamohanty0175](https://avatars.discourse-cdn.com/v4/letter/a/9de053/32.png) [@ananyamohanty0175](https://forum.inductiveautomation.com/u/ananyamohanty0175)\
**Post date:** [September 9, 2025, 7:20am UTC](https://forum.inductiveautomation.com/t/automatic-popup-trigger/110403/3 "2025-09-09T07:20:13Z")

</div>

Thanks for the feedback! I understand your point about popups not always being the best user experience, especially if operators might miss them.

In my case, the popup is not meant to be a critical safety alarm, but more of a _reminder/notification_ to operators on the shop floor. The requirement from our process team is that:

- The operator should be reminded **starting 1 hour before the configured end time (stdTime)**.

- The reminder should appear **every 15 minutes until the end time**.

- The popup will **stay open until the operator closes it manually** (they requested this, so it won’t auto-close).

So, it’s more like a timed “heads-up” message rather than a critical alarm. I agree that for safety or urgent conditions I would definitely use the alarm system instead.

---

<div class="post-metadata">

**Author:** ![Daniel\_Kearney](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/daniel_kearney/32/79526_2.png) [@Daniel\_Kearney](https://forum.inductiveautomation.com/u/Daniel_Kearney)\
**Post date:** [September 9, 2025, 11:28am UTC](https://forum.inductiveautomation.com/t/automatic-popup-trigger/110403/4 "2025-09-09T11:28:04Z")

</div>

You should be able to achieve this using gateway event scripts. The timer gateway event allows you to configure scripts to be run based on the gateway’s system time, from which could use a message handler to target any perspective session for the popup.

---

<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:** [September 9, 2025, 12:55pm UTC](https://forum.inductiveautomation.com/t/automatic-popup-trigger/110403/5 "2025-09-09T12:55:31Z")

</div>

> [@ananyamohanty0175](#):
>
> So, it’s more like a timed “heads-up” message rather than a critical alarm.

You should not use a popup for this, IMNSHO. It should be a top dock banner or docked sidebar so that it doesn't interfere with the operator's focus.
