VoiceGuide IVR Software Main Page
Jump to content

Sub Value In Var

Recommended Posts

In my database I'm using "SUB" value.

 

 

When I get "SUB" value, VG have an problem:

 

 

131207.484 6 2 1 state [AKCJA menu 1] Evaluate [$RV[get_menu_1_settings_1_1]]

131207.484 6 2 1 rv replace start [$RV[get_menu_1_settings_1_1]]

131207.484 6 2 1 rv replace end

131207.484 6 2 1 eval

131207.500 6 2 1 CreateInstance ScriptControl objSC is: [system.__ComObject]

131207.500 6 2 1 ERROR v7.2.4160.36381 (2011-05-23 19:12:42.09) VGMTYPE_EVALEXPR InvokeMember Eval : Obiekt docelowy wywołania zgłosił wyjątek.

System.Runtime.InteropServices.COMException (0x800A03EA): Błąd składni

w System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters)

w System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)

w vgEngine.ScriptRunsStateMachine.(Int32 iLineId, Int32 iModuleIdx)

131207.500 6 2 1 rv add [AKCJA menu 1_Input]{SUB}

131207.500 6 d added AKCJA menu 1_Input | SUB | ( 41 4b 43 4a 41 20 6d 65 6e 75 20 31 5f 49 6e 70 75 74 | 53 55 42 | 79) id=2

131207.500 6 d added AKCJA menu 1_Input | SUB | ( 41 4b 43 4a 41 20 6d 65 6e 75 20 31 5f 49 6e 70 75 74 | 53 55 42 | 103) id=2

131207.500 6 2 1 Eval Expr result:[] stored in RV[akcja_menu_1]

131207.500 6 2 1 path {} not found

131207.500 6 2 1 matching path not found [], try boolean paths.

131207.500 6 2 1 matching path not found (Boolean False)

131207.500 6 2 1 HangupCall, source=Path {Fail} not defined., WorkModeScript=Running_Normal, yLineStateAppPov=[Connected], lPlayId=0, lRecId=0

131207.500 6 2 1 moduleTitle=[AKCJA menu 1]

131207.500 6 2 1 ScriptWorkingMode set Stopping, (called from HangupCall)

 

 

after changing value on "SUBA", VG working right.

 

130910.359 6 2 1 state [AKCJA menu 1] Evaluate [$RV[get_menu_1_settings_1_1]]

130910.359 6 2 1 rv replace start [$RV[get_menu_1_settings_1_1]]

130910.359 6 2 1 rv replace end [sUBA]

130910.359 6 2 1 eval[sUBA]

130910.359 6 2 1 CreateInstance ScriptControl objSC is: [system.__ComObject]

130910.359 6 2 1 objReturn is NULL for input=[sUBA], try with Cstr

130910.359 6 2 1 rv add [AKCJA menu 1_Input]{SUBA}

130910.359 6 d added AKCJA menu 1_Input | SUBA | ( 41 4b 43 4a 41 20 6d 65 6e 75 20 31 5f 49 6e 70 75 74 | 53 55 42 41 | 79) id=2

130910.359 6 d added AKCJA menu 1_Input | SUBA | ( 41 4b 43 4a 41 20 6d 65 6e 75 20 31 5f 49 6e 70 75 74 | 53 55 42 41 | 103) id=2

130910.359 6 2 1 rv add [AKCJA menu 1]{SUBA}

130910.359 6 d added AKCJA menu 1 | SUBA | ( 41 4b 43 4a 41 20 6d 65 6e 75 20 31 | 53 55 42 41 | 80) id=2

130910.359 6 d added AKCJA menu 1 | SUBA | ( 41 4b 43 4a 41 20 6d 65 6e 75 20 31 | 53 55 42 41 | 104) id=2

130910.359 6 2 1 rv add [akcja_menu_1]{SUBA}

130910.359 6 d added akcja_menu_1 | SUBA | ( 61 6b 63 6a 61 5f 6d 65 6e 75 5f 31 | 53 55 42 41 | 81) id=2

130910.359 6 d added akcja_menu_1 | SUBA | ( 61 6b 63 6a 61 5f 6d 65 6e 75 5f 31 | 53 55 42 41 | 105) id=2

130910.359 6 2 1 Eval Expr result:[sUBA] stored in RV[akcja_menu_1]

130910.359 6 2 1 path {SUBA} found (at offset 89)

130910.359 6 2 1 FindNextVgmTitleInPathList: next module title is=[iD_menu_2]

 

 

I'm using "SUB" value in other part of my System, so i can't change this value. Can You help me?

Share this post


Link to post

SUB is a reserved word.

 

In your evaluate expression module [AKCJA menu 1] change the expression:

 

$RV[get_menu_1_settings_1_1]

 

to be:

 

"$RV[get_menu_1_settings_1_1]"

 

(just add quotes)

 

This should force the evaluate expression module to treat the value as a string, rather then interpret it as a reserved word.

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
×