Guest art Report post Posted 02/28/2008 02:59 PM I have VG 6 system installed and it works. Now I test VG7 and my old script doesn't work in a way it works on VG6. Are VG7 scripts incompatible? At least, I've found one difference: I did as in your guide http://www.voiceguide.com/vghelp/source/html/modevalexpr.htm see Example 2 and in VG7 can't get in right way (expression is $RV[vDayType]) 164731.828 8 3 state [checkDayMainMenu] Evaluate [$RV[vDayType]] 164731.828 8 3 rv replace start: [$RV[vDayType]] 164731.828 8 3 rvns: [PathSysVoice]{}[PathApp]{C:\Program Files\VoiceGuide\}[PathDataVm]{C:\Program Files\VoiceGuide\data\}[PathVgSys]{C:\Program Files\VoiceGuide\system\}[scriptPath]{d:\IVR\}[scriptsPath]{d:\IVR\}[$RV_STARTTIME]{2008-02-28 16:47:30}[$RV_DEVICEID]{3}[DlgcVoice]{dxxxB1C3}[DlgcNetwork]{dxxxB1C3}[PathApp]{C:\Program Files\VoiceGuide\}[scriptsPath]{d:\IVR\}[vDayType]{WORKTIME}[vActivationEnabled]{FALSE}[vDateID]{}[vLang]{RUS}[vCa lID]{200802281647303}[scriptWorktimeCheck_ResultReturn]{success}[playIntro]{1} 164731.828 8 3 rv replace end: [WORKTIME] 164731.828 8 3 eval[WORKTIME] 164731.843 8 3 CreateInstance ScriptControl objSC is: [system.__ComObject] 164731.843 8 3 objReturn is NULL 164731.843 8 3 rv add [checkDayMainMenu_Input]{WORKTIME} 164731.843 8 3 Eval Expr result:[] 164731.843 8 3 path {} not found 164731.843 8 3 matching path not found [], try boolean paths. If I change expression to "$RV[vDayType]" I get what I need: 175340.015 8 3 rv replace start: ["$RV[vDayType]"] 175340.015 8 3 rvns: [PathSysVoice]{C:\Program Files\VoiceGuide\system\voice\}[PathApp]{C:\Program Files\VoiceGuide\}[PathDataVm]{C:\Program Files\VoiceGuide\data\}[PathVgSys]{C:\Program Files\VoiceGuide\system\}[scriptPath]{d:\IVR\}[scriptsPath]{d:\IVR\}[$RV_STARTTIME]{2008-02-28 17:53:37}[$RV_DEVICEID]{3}[DlgcVoice]{dxxxB1C3}[DlgcNetwork]{dxxxB1C3}[$RV_CIDNAME]{}[PathApp]{C:\Program Files\VoiceGuide\}[scriptsPath]{d:\IVR\}[$RV_CIDNUMBER]{}[vDayType]{WORKTIME}[vActivationEnabled]{FALSE}[vDateID]{}[v ang]{RUS}[vCallID]{200802281753383}[scriptWorktimeCheck_ResultReturn]{success}[p ayIntro]{1} 175340.015 8 3 rv replace end: ["WORKTIME"] 175340.015 8 3 eval[Cstr("WORKTIME")] 175340.015 8 3 CreateInstance ScriptControl objSC is: [system.__ComObject] 175340.015 8 3 rv add [checkDayMainMenu_Input]{"WORKTIME"} 175340.015 8 3 rv add [checkDayMainMenu]{WORKTIME} 175340.015 8 3 Eval Expr result:[WORKTIME] 175340.015 8 3 path {WORKTIME} found (at offset 3) Share this post Link to post
SupportTeam Report post Posted 02/28/2008 10:55 PM You should include quotes around the $RV if the $RV is a string. Looks like in v6 the quotes were added in automatically for you if the default evaluation returned an error, I'm not sure why this isn't done automatically in v7 - we'll see if we can add this into v7 as well. Share this post Link to post
SupportTeam Report post Posted 02/28/2008 11:05 PM Does this mean that you resolved the startup problem you mentioned in thread: http://voiceguide.com/forums/index.php?showtopic=5453 ? Share this post Link to post
Guest art Report post Posted 02/29/2008 08:54 AM If you mean that VG6 and VG7 scripts are compatible and this case is just an error, it's a good news. Does this mean that you resolved the startup problem you mentioned in thread: http://voiceguide.com/forums/index.php?showtopic=5453 ? I've answered in that topic Share this post Link to post