Is it possible to trigger a popup for all logged in users within an action?
Hi,
You can achieve this effect with subscribe to updates and timers.
If you have a “notification” object with the following properties:
- isRead
- User
And when you need to show a pop-up for the user you need to create a object for each user.
Then in the user app you will need to set up a timer. App settings → Other → Timers.
Create a new timer and set up a condition for “enabled” when there is a object in the object class “Notification” where isRead is false.
Then set intervall to 1 sec.
The action that should be triggered on Timeout is a action that opens a dialog with your pop-up message, but also update all “Notification” objects to isRead = True