Can someone help with variables?  I want to declare some global variables
for the xml engine, then have various conditional events set the values of
those variables.  I would like to have access to those variables from one
transition event to the next.   I get the following errors:

09:04:02,372 WARN  [SimpleErrorReporter] UNDEFINED_VARIABLE (fromAccount =
null): 
09:04:02,372 WARN  [SimpleErrorReporter] UNDEFINED_VARIABLE (fromAccount =
null): 
09:04:02,372 WARN  [SimpleErrorReporter] UNDEFINED_VARIABLE (toAccount =
null): 

=======

Tried:

<scxml>
<state id="logged_in">
...
<var name="fromAccount" />
<var name="toAccount" />
       
     <transition event="banking.transfer" cond="${empty fromAccount and
empty toAccount}">
            <var name="cb" expr="${Conversation}" />
            <assign name="fromAccount" expr="${cb.request}" />
            <send target="http://localhost:8080/app"; targettype="client"
event="banking.transfer" namelist="cb fromAccount toAccount" delay="0"
hints="" sendid="0009"><vxml version="2.0">
<form>
<field name="input">
<prompt>
To Account?
</prompt>
<grammar src="builtin:grammar/digits?length=7"></grammar>
<noinput><reprompt/></noinput><nomatch><reprompt/></nomatch>
</field>
<filled namelist="input">
<submit next="http://localhost:8080/app/Voice"; namelist="input"/>
</filled>
</form>
</vxml>
            </send>
         <target next="logged_in" />
     </transition>

======



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to