Genesys CTI User Forum
Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: pdavid on May 18, 2007, 04:22:13 PM
-
Is it possible to include the agent's position ID on the alerts?
I'm setup alerts to head to a compliance team after a certain threshold is met/exceeded, in the body I have the username, currentstatvalue, and thresholdexceeded - I'm looking to see if I can get the position ID so these folks will log on to the call and begin monitoring. Any help would be appreciated.
-
Hi,
I don't think it's possible. Take a look to "Reporting 7.2 CCPulse+ Administrator's Guide" for list of available objects and properties.
René
-
Yes that's what I've also been told...I think I'll try building a solution where within the script it will reference a table where it could do a lookup by username and bring back the value, this table will be historical so if a person moves it would not return the accurate position ID, but that's a disclaimer I'll make to the compliance dept. Thanks for your help with this.
-
if you do a lookup in a table then it can be done.
-
Maybe you could try this VB script to enhance yours, It is suing some config objects, you colud try substitute the Agent Login ID:
[font=Courier][size=8pt]'Body of email message
Dim msgBody
Dim thresholdInfo
Dim receipAddress
msgBody="A mail from the CCPulse threshold engine!"+vbNewLine
thresholdInfo="StatValue:"+CStr(Threshold.StatValue)+vbNewLine+"StatAlias:"+CStr(Threshold.StatAlias)+vbNewLine+"CFGTenantDbid:"+CStr(Threshold.CFGTenantDbid)+vbNewLine+"CFGDbid:"+CStr(Threshold.CFGDbid) + vbNewLine + "CFGObjectID:"+CStr(Threshold.CFGObjectID)+vbNewLine+"CFGType:"+CStr(Threshold.CFGType)+vbNewLine
receipAddress="<put email address here>"
'Call our function with recipient, message, and subject
SendMail receipAddress,msgBody+thresholdInfo,"Alarm notification from CCPulse"
Sub SendMail(recipient,msg,subject)
Dim objOutlook
Dim objOutlookMsg
Set objOutlook = CreateObject( "Outlook.Application" )
Set objOutlookMsg = objOutlook.CreateItem(olMailItem)
objOutlookMsg.To = recipient
objOutlookMsg.Subject = subject
objOutlookMsg.Body = msg
objOutlookMsg.Importance = olImportanceHigh
objOutlookMsg.Send
Set objOutlookMsg = Nothing
Set objOutlook = Nothing
End Sub[/size][/font]
-
Hello,
I want to send mail from CCPulse and it seems that i can't use Microsoft Outlook because of the security prompts.
So i tried to use Outlook Express. Even if i use Predefined action in CCPulse "SendE-MailwithCDO" or the script provided by Omac i'm getting error like "can't create object" which is MAPI.Session or Outlook Application.
Maybe i should configure somthing in Outlook express...
Please advice me!
Thanks!
-
I use javamail to send email alert and works pretty good.