Getting the second most recent login for my user

0
Question: I'm developing an application in Mendix where I'd like to notify users about new updates upon their login. However, the current implementation isn't working as expected. The issue arises from the fact that Mendix stores the last login timestamp, but when a user logs in again, the system considers this as the new last login, resulting in no new notifications being displayed. Could you please assist me in resolving this challenge? Context: Please find my current implementation attempt below (note that it's quite disorganized).
asked
1 answers
0

Hi Matthew,

 

Just a suggestion:

What if you store a `Seen` attribute in the Action entity and you make sure that the user can click it if they have seen the message, in that case, you leave the user the option also to view it multiple times if they have seen it before (if the have don't the action you can also mark it as seen for example). 

 

Good luck,

 

Jurre

answered