Guest TheyCalled Paul Report post Posted 09/17/2007 03:52 AM HI, I would like my VG to run different scripts. Currently I use the f(x) funtion and it looks like on {0520} goto [c:\Program Files\VoiceGuide\scripts\TheyCalled\TC_V1.vgs|START] on {0521} goto [c:\Program Files\VoiceGuide\scripts\test\Rvtest.vgs|GETCODE] I would like to make this data driven. Can I get the VBS module to do the same type of processing? Paul Share this post Link to post
SupportTeam Report post Posted 09/17/2007 04:14 AM Yes, you can use the VBScript module for this. You can use the Script_Goto COM command. See: http://www.voiceguide.com/vghelp/source/ht...script_goto.htm Another alternative is to use a DB Query module (for example titled "GetNext") to retrieve script/module info from a database and then have a path like this in the DBQuery module: on {success} goto [$RV[GetNext_1]|$RV[GetNext_2]} The SQL would be something like this: SELECT sScript, sModule FROM myDnisRouteTable WHERE sDnis="$RV[DNIS]" Share this post Link to post