test226.txml 805 B

123456789101112131415161718192021222324252627
  1. <?xml version="1.0"?>
  2. <!-- this is basically just a test that invoke works correctly and that you can pass data
  3. to the invoked process. If the invoked session finds aParam==1, it exits, signalling
  4. success. otherwise it will hang and the timeout in this doc signifies failure. -->
  5. <scxml initial="s0" version="1.0" conf:datamodel="" xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance">
  6. <state id="s0" >
  7. <onentry>
  8. <send event="timeout" delay="3s"/>
  9. </onentry>
  10. <invoke type="http://www.w3.org/TR/scxml/" src="file:test226sub1.scxml">
  11. <param conf:name="1" conf:expr="1"/>
  12. </invoke>
  13. <transition event="varBound" conf:targetpass=""/>
  14. <transition event="*" conf:targetfail=""/>
  15. </state>
  16. <conf:pass/>
  17. <conf:fail/>
  18. </scxml>