I was having an issue with a RepeatingGroup (RG) updating all currently online users.
My solution was to create a a data field called [last online - Date ]
then I have the user page update that field every X seconds.
Now from this point are the logic for the user that need to view all currently online user
Create a RG with data source → do a search for (ref img below)
in the search field Last Online > custom state’s date+(seconds):-30
so the problem here is that i had originally put Last Online > Current date & Time+(seconds):-30
but the current date and time was not updating in the cells’ logic, it just kept the initial time that was used to calculate the equation .
So after using a custom state instead i simply update the custom state every x seconds and it works now.