VoiceGuide IVR Software Main Page
Jump to content

Voice Guide Proceeds Before Script Completes

Recommended Posts

I am using a Run Vbscript module during which I set the Run_ResultReturn to success or fail depending on the scenario. I noticed that Voiceguide continued to run along the success path before the vb script completed. At the end of the next module the script finally completed with a "fail" result. By this time Voice Guide had already moved on to another module and therefore ignored the returned Run_ResultReturn.

The vb script module is called DidTransactionComplete. In the attached log look at TransId 1699433 and 1699505

as a sample.

 

Thank You.

0310_0916_vgEngine.zip

Share this post


Link to post

Is the script calling the Run_ResultReturn function from the previous module [LogTransaction], or any other recent module that was set to not wait for result and yet is calling the Run_ResultReturn function?

 

(using Timoeut 0 path result in VG not waiting for result from that module, and VG progresses onto next module immediately)

 

If the VBScript module is not waiting for a result but proceeds onto next module then do not call the Run_ResultReturn or Script_Goto etc. functions from within that script - as VoiceGuide will progress onto another module and then VG will receive the Run_ResultReturn or Script_Goto etc. from a script that is already running from some previous module.

 

 

154829.640 6 3 1 state [LogTransaction] type: VB Script, iRunWait=0

154829.640 6 3 1 script will be ran from file: C:\Program Files\VoiceGuide\temp\vbs_3_7.vbs

154829.640 6 3 1 delete existing: C:\Program Files\VoiceGuide\temp\vbs_3_7.vbs

154829.640 6 3 1 current objVbsOrExeProcess=

154829.640 6 3 1 RunVBScriptFile [wscript][C:\Program Files\VoiceGuide\temp\vbs_3_7.vbs][] timeout=60 (vbsPath=C:\Program Files\VoiceGuide\temp), start (new Process)

154829.640 6 3 1 objVbsOrExeProcess.Start call

154829.656 6 3 1 RunVBScriptFile just started. Handle=5072, Id=1592, StartTime=3/10/2010 3:48:29 PM, HasExited=False

154829.656 6 3 1 VBScript started [C:\Program Files\VoiceGuide\temp\vbs_3_7.vbs], ProcessHandle=[5072], VbsOrExeProcess.WorkingSet=[667648]

154829.656 6 3 1 RunModule_Script_AfterScriptStarted start

154829.656 6 3 1 continuing...

Share this post


Link to post

Yes it was. I removed the call to Run_ResultReturn fromt hat script and now the application is working as expected. Thanks a lot.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×