|
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
|
|||||||
| Contact Centers and CRM Discuss contact center and customer relationship management products and solutions. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
We have a DOS batch file that invokes *.acsup scripts to change agent skills. Intermittently, CMS hangs. I've checked Windows task Mgr and find that another version of Controller is there and is "Not Responding". I have to manually kill all the processes and restart CMS...which defeats the automation and midnight processing of these scripts.
Anybody have any idea what makes CMS generate another process of Controller? I have at least a 5 second delay betweens submitting each interactive script to CMS. I've tried changing the scripts to *.acsauto, but then the script does NOT change the agent skill set. Any ideas would be greatly appreciated!! |
|
#2
|
|||
|
|||
|
If avaya tries to run 2 scripts at the same time it fails for me. My solution was twofold.
First, when you create scripts, you have the option to append scripts onto an existing one. Do this with all your scripts. Save the scripts as acsauto when creating them. I've discovered that the machine running avaya scripts needs to have created at least one acsauto script before it actually runs acsauto scripts. Second, After the job runs, run a second job to kill any avaya processes that are still running. On a windows computer there is no dedicated process kill command that I am aware of, so I downloaded Pskill from microsoft to do this. The batch file I have to kill the avaya process is as follows: Code:
cd %USERPROFILE%\Desktop\ pskill acstrans.exe pskill acssrv.exe pskill acscript.exe pskill acsapp.exe pskill acsrep.exe Check with your IT department to make sure you can use pskill.exe. It is flagged by some AVs (such as Sophos AV) as a "hacker tool." If you want to check if your AV will likely flag it, you can run it through here. Your AV that you use is likely on the above site. |
|
#3
|
|||
|
|||
|
WOW! Finally! It's so great to get some input on this issue!!!! THANK YOU SO MUCH!
But can you please explain to me what you mean by: "First, when you create scripts, you have the option to append scripts onto an existing one. Do this with all your scripts. Save the scripts as acsauto when creating them. I've discovered that the machine running avaya scripts needs to have created at least one acsauto script before it actually runs acsauto scripts." My scripts are *.acsup scripts, not acsauto. When I run an agent skill change script as .acsauto, it does not change the agent's skills. Also...should I have CMS running BEFORE I run the scripts? It will be great to finally be able to fix this problem!!! Thanks again AuxNazi...I really appreciate it! |
|
#4
|
|||
|
|||
|
If you create a script to move an agent and name it agentmove.acsup, you can instead of creating another separate script, choose to add to the same one.
When saving the script, instead of picking a new name for the new script, save it on top of the old one. A message like the attached one here will appear and you can then just click "add". The caveat here is that Avaya will kick out the "agent skill change has been completed" message and you have to hit ok on each one. If someone here knows a way around that, it would be appreciated. To run acsup scripts, you must be logged in to CMS supervisor. |
|
#5
|
|||
|
|||
|
As an aside, it turns out windows xp does have a task killer now!
the command line function is taskkill. the switch to kill a process by name is /IM. Thus: Code:
taskkill /im acstrans.exe /im acssrv.exe /im acscript.exe /im acsapp.exe /im acsrep.exe |
|
#6
|
|||
|
|||
|
hello
i am working on automizing a report on excel, I run the script from avaya & modified the some codes. It doesnt seem to be running the script can any1 help me out. Here's the script. 'LANGUAGE=ENU 'SERVERNAME=r3mbnoh Public Sub Main() '## cvs_cmd_begin '## ID = 2001 '## Description = "Report: Historical: CMS custom: CCOG08a ag gr sum dy: Export Data" '## Parameters.Add "Report: Historical: CMS custom: CCOG08a ag gr sum dy: Export Data","_Desc" '## Parameters.Add "Reports","_Catalog" '## Parameters.Add "5","_Action" '## Parameters.Add "1","_Quit" '## Parameters.Add "Historical\CMS custom\CCOG08a ag gr sum dy","_Report" '## Parameters.Add "1","_ACD" '## Parameters.Add "2160","_Top" '## Parameters.Add "6495","_Left" '## Parameters.Add "8925","_Width" '## Parameters.Add "6225","_Height" '## Parameters.Add "The report Historical\CMS custom\CCOG08a ag gr sum dy was not found on ACD 1.","_ReportNotFound" '## Parameters.Add "*","_BeginProperties" '## Parameters.Add "CA INWARD AHT","Agent Group" '## Parameters.Add "14;170;173;233;234;337;338;1003;1004;1006;1010;10 33;1034;1042;1043;1044;1045;1046;1047;281;340;341; 87;727;728","Skill(s)" '## Parameters.Add "4/1/2010-4/14/2010","Date(s)" '## Parameters.Add "*","_EndProperties" '## Parameters.Add "*","_BeginViews" '## Parameters.Add "*","_EndViews" '## Parameters.Add "\Crppasnaf00n1\users$\nbkq77q'(H \CCOG08a ag gr sum dy Cle.txt\","_Output"On Error Resume Next cvsSrv.Reports.ACD = 1 Set Info = cvsSrv.Reports.Reports("Historical\CMS custom\CCOG08a ag gr sum dy") If Info Is Nothing Then If cvsSrv.Interactive Then MsgBox "The report Historical\CMS custom\CCOG08a ag gr sum dy was not found on ACD 1.", vbCritical Or vbOKOnly, "Avaya CMS Supervisor" Else Set Log = CreateObject("ACSERR.cvsLog") Log.AutoLogWrite "The report Historical\CMS custom\CCOG08a ag gr sum dy was not found on ACD 1." Set Log = Nothing End If Else b = cvsSrv.Reports.CreateReport(Info,Rep) If b Then Rep.Window.Top = 2160 Rep.Window.Left = 6495 Rep.Window.Width = 8925 Rep.Window.Height = 6225 Rep.SetProperty "Agent Group","CA INWARD AHT" Rep.SetProperty "Skill(s)","14;170;173;233;234;337;338;1003;1004;1 006;1010;1033;1034;1042;1043;1044;1045;1046;1047;2 81;340;341;87;727;728" Rep.SetProperty "Date(s)","4/1/2010-4/14/2010" b = Rep.ExportData("Crppasnaf00n1\users$\nbkq77q'(H \ CCOG08a ag gr sum dy Cle.txt", 9, 0, True, True, True)Rep.Quit If Not cvsSrv.Interactive Then cvsSrv.ActiveTasks.Remove Rep.TaskID Set Rep = Nothing End If End If Set Info = Nothing '## cvs_cmd_end End Sub |
|
#7
|
|||
|
|||
|
I said before by AuxNazi you need to be logged in CMS to run .acsup scripts, but you don't need to if you run .acsauto scripts.
You need to set a login and password for that, and when you run .acsauto scripts on your desktop it will use these credentials. Go in CMS to Tools/Options/Scripting and set the user in the Automatic Scripts On This PC Run As dialog. |
|
#8
|
|||
|
|||
|
It was an "AS said before..."
![]() |
|
#9
|
|||
|
|||
|
I was trying to make the changes thru VB or VB.net code to be able to easy loop between changes.
If you do that, you can keep the connection open (not possible with separate .acsauto scripts if you need some time difference between changes) and then make changes. to close the objects created by cms after the changes are made you need to close the following: Quote:
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|