cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
877
Views
0
Helpful
3
Replies

Check agent logged in against a dynamic SG

iptuser55
Level 6
Level 6

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