elicht Report post Posted 03/10/2010 09:10 PM 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
SupportTeam Report post Posted 03/10/2010 09:33 PM 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
elicht Report post Posted 03/11/2010 05:47 PM 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