VoiceGuide: Voice Guide Proceeds Before Script Completes - VoiceGuide

Jump to content

Page 1 of 1
  • Login to start a new topic
  • You cannot reply to this topic

Voice Guide Proceeds Before Script Completes

#1 User is offline   Ephraim Icon

  • Group: Members
  • Posts: 3
  • Joined: 20-August 09

Posted 11 March 2010 - 07:10 AM

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.

Attached File(s)



#2 User is offline   SupportTeam Icon

  • Group: Admin
  • Posts: 13,488
  • Joined: 30-January 03

Posted 11 March 2010 - 07:33 AM

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...


#3 User is offline   Ephraim Icon

  • Group: Members
  • Posts: 3
  • Joined: 20-August 09

Posted 12 March 2010 - 03:47 AM

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

Page 1 of 1
  • Login to start a new topic
  • You cannot reply to this topic