EventUserEvent always has AgentID set to NULL

Hello,

I am creating a Outbound Contact Center application in which multiple agents can be supported using PSDK 8.5 JAVA. I have a MAP which stores AgentID (String) with my AgentObject as value. Not when i can genesys Events from TServer, i need to figure out event has come for which agent, using (TServer)Event.getAgentID().

But EventUserEvent returns agentID set to NULL.

Does anyone know why such a behavior?