function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
E Jayaraman IyerE Jayaraman Iyer 

How to handle logouts in live agent console

I have a requirement where I want to store data in a object regarding the amount of time spent by agent in each status.

When the agent is in online status but manually logouts out of org I couldnt get the data of time he logged out. How can I handle this?