| CCXML 1.0 Development Guide | Home | Frameset Home |
<eventprocessor> element replaces the <eventhandler> that was used in previous incarnations of the CCXML specification. It is identical in all respects to the deprecated <eventhandler> element, in that it is used as a container for the <transition> elements that drive the CCXML execution. Of course, only a single instance of this element may exist within any CCXML document.
| statevariable | Data Type: (variable name) | Default: none - attribute is optional |
This attribute denotes the variable name which is the <eventhandler> state variable. be aware that this variable must be defined using the <var> or the <script> element in the ccxml scope. | ||
| <ccxml version="1.0">
<var name="initState" expr="'state_1'"/> <var name="MyCallID"/> <eventprocessor statevariable="initState"> <transition event="ccxml.loaded" name="evt" state="state_1"> <log expr="'*** CCXML.LOADED, NOW EXITING ***'"/> <exit/> </transition> <transition event="error.*" name="evt"> <log expr="'***** ERROR OCCURRED:' + evt.error"/> <exit/> </transition> </eventprocessor> </ccxml> |
| ANNOTATIONS: EXISTING POSTS |
| login |