Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: mrbasinger on August 31, 2012, 03:52:23 PM

Title: CCPulse Threshold during a specific time of day
Post by: mrbasinger on August 31, 2012, 03:52:23 PM
Is anyone aware of how to do the following? 

Customer wants to define a threshold in CCPulse that will be triggered if agent is in ACW for more than n seconds, but only if between the hours of 10:00pm and 7:00am.  Can threshold scripts utilize VB objects and functions other than those pre-defined such that some datetime calculations can be performed?
Title: Re: CCPulse Threshold during a specific time of day
Post by: cavagnaro on September 03, 2012, 03:33:59 PM
Remember the language used is VBScript so yes, it should be totally possible using

if (time()>"10:00:00 PM") and (time()<"07:00:00 AM") then

. Haven't tested but you should add it to the evaluation and should work.