Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Avaya CMS V11 Question

Status
Not open for further replies.

ken07734

Programmer
Feb 6, 2002
625
US
Does anyone know how to do a bulk delete of agents? I have over 800 agents to delete.......



 
If you use ASA, pull an Agent report and import it to an Excel spreadsheet. Keep the agent logins that you want to delete. In ASA open the 'import data' file, select 'remove' and 'Agent'. Paste the Agent IDs into the first column and execute.

Kevin
 
That's how I export and import between vm and pbx's. I have over 800 agents in my CMS server that do not exist in the pbx. I need to remove them from the CMS server and it only seems to allow one deletion at a time. I was looking for a way just bulk delete them. ASA/DSA does not access CMS with any options other than generic.


 
I have do the same but you need to know the name of your agent for deletion, if you know such, you can run the delete by script.
This scipt is generated by CMS supervisor.

================================================
Public Sub Main()


On Error Resume Next

cvsSrv.Dictionary.ACD = 1
b = cvsSrv.Dictionary.CreateOperation("Login Identifications",Op)
If b Then
Op.Window.Top = 6410
Op.Window.Left = 6600
Op.Window.Width = 6000
Op.Window.Height = 2540
Op.SetProperty "login_id","<<Agent Log ID>>"
Op.SetProperty "ag_name","<<Agent Full Name in CMS>>"


b = Op.DoAction("Delete")

End If

If Not cvsSrv.Interactive Then cvsSrv.ActiveTasks.Remove Op.TaskID
Set Op = Nothing
'## cvs_cmd_end

End Sub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top