blob: b3ba383f39950b036e152bd1cb5bd43c40a33bf1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<?xml version="1.0" standalone="no"?>
<!-- test that the done.state.id gets generated when we enter the final state of a compound state -->
<scxml xmlns="http://www.w3.org/2005/07/scxml" version="1.0" initial="s1" datamodel="lua">
<state id="s1" initial="s11">
<onentry>
<send event="timeout" delay="1s"/>
</onentry>
<transition event="timeout" target="fail"/>
<state id="s11" initial="s111">
<transition event="done.state.s11" target="pass"/>
<state id="s111">
<transition target="s11final"/>
</state>
<final id="s11final"/>
</state>
</state>
<final id="pass"/>
<final id="fail"/>
</scxml>
|