We have an installation of UCCX 7.0(1)SR05_Build504. We have created a script which should check if agents are logged in, in order to take some actions. The step we used is the Get Reporting Statistic in order to check the CSQ for agents who are logged in and store the value in an integer variable. This step doesn't return proper results, since the script doesn't follow the proper path. We have tested with just one agent, either logged in or logged out and it doesn't react as it should be. I'm attaching the script, in order to have a look in it.
Thank you in advance for your help.
I didn't understand what you were looking for. I'm uploaded the script into my original message (temp.aef). Also, I'm attaching a screenshot of the steps, in case you can't open the script.