" /> CCPulse Email Alert Scripting - Genesys CTI User Forum

Author Topic: CCPulse Email Alert Scripting  (Read 3532 times)

Offline pdavid

  • Jr. Member
  • **
  • Posts: 70
  • Karma: 1
CCPulse Email Alert Scripting
« on: January 19, 2007, 09:25:22 PM »
Advertisement
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.

Offline pdavid

  • Jr. Member
  • **
  • Posts: 70
  • Karma: 1
Re: CCPulse Email Alert Scripting
« Reply #1 on: January 23, 2007, 08:33:29 PM »
No one?...hmm will have to check out a VB scripting forum then..