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
Srinivasa Rao Balle 1Srinivasa Rao Balle 1 

how to know how many live agents were online or available for chat requests

Hi,

I have a one requirement that is, i have to check how many live agent users were online through apex, i looked into liveAgentSession object that object is giving once the user online and then turn back to offline etc, that time it is creating a record in liveAgentSession object, but i would like to query through apex when ever an agent put himself online i have to query the number of agents available online now in Apex or VF page, is this possible?.
NagendraNagendra (Salesforce Developers) 
Hi Srinivas,

Unfortunately, this is not possible as of now.

There is an active idea on the success community for which you can upvote so that it might be available in the mere future.

You can find the idea at the below link. Hope this helps.

Thanks,
Nagendra