Cisco Cisco Computer Telephony Integration OS 8.5 Reference Guide

Page of 160
 
Chapter 4      Broadcast Statistics
Invoking Service Methods
4-14
CTI Driver for Siebel 7 Reference Guide for Cisco ICM/IPCC Enterprise & Hosted Editions, Release 7.0(0)
// matches the agent's statistics Position Id.  If one
// is found, remove it.
bcMVG.SetSearchSpec("Id", strPositionId);
bcMVG.ExecuteQuery( ForwardOnly );
while (bcMVG.FirstRecord())
{
bcMVG.DeleteRecord();
}
bcMVG = null;
hasRecord = bcBroadcastMessage.NextRecord();
 
}
 
 
bcBroadcastMessage = null;
 
boBroadcastMessage = null;
}
Example 4-2
Sample DEF File for Invoking ClearAgentBroadcasts Service Method
[Command:LoginToPBX]
   SubCommand_1 = "LoginToPBXDevice"
   SubCommand_2 = "InsertAgentStatBroadcast"
   SubCommand_3 = "ClearAgentSkillGroups"
   Profile      = ""
   FilterSpec   = "[$GetCommandStatus(LoginToPBXDevice)]='Enabled'"
   MenuPosition = "20.1"
   Comments     = ""
   Title        = "Log In (Phone)"
   ExecuteAll   = "TRUE"
   CmdData      = ""
[Command:ClearAgentSkillGroups]
   Profile       = ""
   Comments      = "Add a Broadcast Message record for this agent/position"
   CmdData       = "ClearAgentSkillGroups"
   ServiceMethod = "Cisco Broadcast Stats.ClearAgentBroadcasts"
   Hidden        = "TRUE"
   [CmdData:ClearAgentSkillGroups]
      Comments              = ""
      ServiceParam.UserName = "{@UserName}"
      ServiceParam.Prefix   = "CTISkillStat_"