Hello, 

 

We have a use case where we need to automatically mark a user "online" once they log into the application. And mark "offline" when the session ends. Other users will need to see who is currently online and who is not. 

 

Is there a way to identify if a user is online or not in Creatio?

Like 4

Like

4 comments

Hello Community! Some help here will be very appreciated. Thanks in advance!

M Shrikanth,



Hi, 



Yes, we have a solution based on dashboards functionality.



You should create a new dashboard and select the list view.

http://prntscr.com/sl4y91



Next, select the object "system administration object" from the dropdown and add a column "Logged in" in the column setup.

http://prntscr.com/sl4zrs



After that, go to the "Display Options" tab and in the "How to sort" detail choose the number of displayed users, descending order and the sorting column should be "Logged in"



Then go to the detail "How to filter" and add the condition by choosing the column "Active" equal "yes".

http://prntscr.com/sl52rs



As a result, you'll have the dashboard with all the users who are logged in in the system at the moment.

http://prntscr.com/sl56y6

Thank you!

Hi Bohdan Zdor,

 

Thank you for the response.



A supplementary question - I am looking to identify on the server side whenever a user logged in and out of the app. 



Could I possible tap into OnUpdated entity event on the SysAdminUnit object to identify when a user logs in and when he logs out? Or is there another way to do this?



Thank you, 

Shrikanth

Bohdan Zdor,

Hi Bohdan. Following up on my question above - 



https://community.creatio.com/questions/entity-event-layer-system-custo…

Show all comments