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?)
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.
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.