script checks to see if agents are logged in

Answered Question
Aug 9th, 2007
User Badges:
  • Silver, 250 points or more

Running IPCC 4.04


Is there a way to make an if statement check to see if there are any agents logged in to determine whether or not to send it to the queue or send it to vmail. The if statement in general and vmail redirect I can do. It is the part about checking to see if agents are logged in that I am needing some help with. Anyone have any ideas?

Correct Answer by arcaidy76 about 9 years 11 months ago

You'll need to use "Get Reporting Statisic" and write the value to an "int" field. Then use an "if" statement to check this value.


From the "Get Reporting Statisic" use CSQ IPCC Express report object, Field is Logged-In Resources. Row Identifier is the CSQ you want to look at. Result Statisics is the "int" field you'll monitor with the "if" statement. The attachment includes an example.


Hope this helps. Please rate if it does.



  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 3.5 (4 ratings)
Loading.
shane.orr Thu, 08/09/2007 - 14:03
User Badges:
  • Silver, 250 points or more

IPCC Express 4.04 that is.....

lpezj Thu, 08/09/2007 - 23:03
User Badges:
  • Gold, 750 points or more

Yes,


You can do it. You have to use the 'Get Reporting Statistic' step in the IPCC Express set of steps in CRS Script Editor.


Go to the window properties and you can get statistics for the whole ssytem, individual agents and CSQs.


Hope this helps,


Juan Luis

Correct Answer
arcaidy76 Sat, 08/11/2007 - 21:11
User Badges:
  • Bronze, 100 points or more

You'll need to use "Get Reporting Statisic" and write the value to an "int" field. Then use an "if" statement to check this value.


From the "Get Reporting Statisic" use CSQ IPCC Express report object, Field is Logged-In Resources. Row Identifier is the CSQ you want to look at. Result Statisics is the "int" field you'll monitor with the "if" statement. The attachment includes an example.


Hope this helps. Please rate if it does.



Attachment: 
shane.orr Sun, 08/12/2007 - 07:18
User Badges:
  • Silver, 250 points or more

This is exactly what I had figured out after getting the "Get Reporting Statistic" clue before.


However your explanation was excellent!!

Actions

This Discussion