We'd like to be able to "push" a notification to end users (all users, or selected users) using a responsive web app (not mobile). If users were online, it would popup immediately (and annoyingly) on top of whatever they are doing (or alternatively when they navigate to something else), if not online, after login it would display. I have noticed that Mendix does something similar to this in Team Server when a user invites you to an App. I've left my browser session open and then the invite popup has appeared at some point. We'd like to do something like this - preferably using a true push notification and not a poll. Has anyone done this or can suggest any ways we can do this in a performant way?
One way to do this would to use a microflow as your home page. You can setup a notification table in your database that has an association to accounts. In your go home microflow you can do a retrieve to see if that user has any notifications, if they do you can show a pop up page with the notification and then show the home page (using the show page activity twice will make the pop up appear over the home page).
Here is an example go home microflow.
Hope this helps!
I've used the Toastr widget for something similar, it might suit your needs.
Although it doesn't block anything for the user, it does display over anything they are doing. (in a specified corner of the screen).