| ZVON > References > VoiceXML Reference |
| Intro / Search / ZVON |
| Element: | throw |
| Attributes: | | event | |
| Parents: | | block | catch | error | filled | help | if | noinput | nomatch | |
| Description: | Go to Standard |
|
<throw event="com.att.portal.machine"/> |
|
<throw event="nomatch"/> <throw event="telephone.disconnect.hangup"/> |
|
<field name="state"> <prompt> Please say the name of a state. </prompt> <grammar src="http://mygrammars.example/states.gram"/> <filled> <if cond="state$.confidence < 0.4"> <throw event="nomatch"/> </if> </filled> </field> |
|
<if cond="total > 1000"> <prompt>This is way too much to spend.</prompt> <throw event="com.xyzcorp.acct.toomuchspent"/> </if> <if cond="amount < 29.95"> <assign name="x" expr="amount"/> <else/> <assign name="x" expr="29.95"/> </if> <if cond="flavor == 'vanilla'"> <assign name="flavor_code" expr="'v'"/> <elseif cond="flavor == 'chocolate'"/> <assign name="flavor_code" expr="'h'"/> <elseif cond="flavor == 'strawberry'"/> <assign name="flavor_code" expr="'b'"/> <else/> <assign name="flavor_code" expr="'?'"/> </if> |