Cisco Cisco Computer Telephony Integration Option 8.5 Reference Guide
4-15
CTI Driver for Siebel 7 Reference Guide for Cisco ICM/IPCC Enterprise & Hosted Editions, Release 7.0(0)
Chapter 4 Broadcast Statistics
Invoking Service Methods
RemoveUserFromBroadcast Function
RemoveUserFromBroadcast(strUserName, strMsgAbstract)
RemoveUserFromBroadcast(strUserName, strMsgAbstract)
This service method must be used to remove any association between the
employee having the given Siebel login name and the broadcast message used to
send agent or skill group statistics based on the strMsgAbstract parameter that
will specify the broadcast message.
employee having the given Siebel login name and the broadcast message used to
send agent or skill group statistics based on the strMsgAbstract parameter that
will specify the broadcast message.
This service method has to be called on the OnEventSkillGroupRemove event to
remove an association between an agent and skill group statistics broadcast
message and as a subcommand for the Logout command to remove an association
between an agent and an agent statsitics broadcast message.
remove an association between an agent and skill group statistics broadcast
message and as a subcommand for the Logout command to remove an association
between an agent and an agent statsitics broadcast message.
function RemoveUserFromBroadcast(strUserName, strMsgAbstract)
{
// RemoveUserFromBroadcast:
//
// Removes any association between the Employee having the given
// Siebel login name and the Broadcast Message used to send
// agent or skill group statistics.
// Find the Position used to send statistics to this user.
var strPositionId = FindPositionId(strUserName);
if (strPositionId == "")
{
ShowStatusText("Can't find or create Position for login name " + strUserName,
true);
return;
}
// Find the Broadcast Message
var boBroadcastMessage = null;
var bcBroadcastMessage = null;
GetBroadcastMsg(strMsgAbstract, boBroadcastMessage, bcBroadcastMessage);
if (bcBroadcastMessage == null) {
ShowStatusText("Unable to find or create Broadcast Message " + strMsgAbstract,
true);
return null;
}
var bcMVG = bcBroadcastMessage.GetMVGBusComp("Position Id");