Genesys CTI User Forum
Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: pdavid on January 19, 2007, 09:25:22 PM
-
I'm looking for some help with vb scripting - I'm currently able to setup ccpulse to successfully send out email alerts, however I'd like to customize it a bit. I guess the scripting was was a mixture of the out of the box plus the previous person before I got here's doing, but I'd like to be able to have it report out on queue, which it can, but it does it by a default script below.
thresholdInfo="StatValue:"+CStr(Threshold.StatValue) + vbNewLine + _
"Threshold Exceeded:" + CStr(Threshold.StatAlias) + vbNewLine + _
"Agent/Queue:" + CStr(Threshold.CFGObjectID) + vbNewLine + _
"CFGType:"+CStr(Threshold.CFGType) + vbNewLine+vbNewLine+vbNewLine+vbNewLine
I'm trying to make a script to only work on queue level thresholds, like below - but I'm having some trouble - how do I idenitfy the statvalue, when it changes (when follow the script above the statvalue is not contstant), the CFGType is 17, which is contsant..
if (Threshold.StatValue=182 AND Threshold.CFGType=17) then ' ? CurrMaxWaiting
thresholdInfo = "Calls Waiting threshold reached." + vbNewLine + _
"Agent Username: " + CStr(Threshold.CFGObjectID)+vbNewLine+vbNewLine+vbNewLine+vbNewLine
Am I missing something here? Any help would be appreciated - also my scripting is very poor, I've had to try to decipher and customized, but apparently this one's holding me back.
-
No one?...hmm will have to check out a VB scripting forum then..