I need to check if an agent is logged in however I need to check using the dynamic option. We capture the dnis and depending on the number assign it to a certain agent-we assign it to a user variable called "primaryagent" we then use the dynamic option to assign to a SG however we also check if the agent is logged in. If it was a static SG I would use if Skillgroup.primaryagent.logged>=1 however I've forgotten how to do the same with dynamic. I tried skillgroup.call.user.primaryagent.loggedOn>=1 but it fails
I see that PQ.{call.user.primaryagent} .loggedOn>=1 works but not if I replace the pq with skillgroup
Any ideas
Thanks