" /> CCPulse Threshold during a specific time of day - Genesys CTI User Forum

Author Topic: CCPulse Threshold during a specific time of day  (Read 2223 times)

Offline mrbasinger

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
CCPulse Threshold during a specific time of day
« on: August 31, 2012, 03:52:23 PM »
Advertisement
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?

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: CCPulse Threshold during a specific time of day
« Reply #1 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.
« Last Edit: September 03, 2012, 03:36:11 PM by cavagnaro »