summaryrefslogtreecommitdiffstats
path: root/test/uscxml/test-donedata.scxml
blob: c48b6deb22e321bfc573cb0e800c6e79620110c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<scxml datamodel="ecmascript" initial="start" binding="late" name="test-donedata">
	<parallel id="start">
		<onentry>
			<raise event="e1" />
			<raise event="e2" />
			<raise event="e4" />
			<raise event="e1" />
		</onentry>
    <transition event="done.state.start" target="final"/>

    <state id="S1" initial="S11">
        <state id="S11">
            <transition event="e4" target="S12"/>
        </state>
        <state id="S12">
            <transition event="e1" target="S1Final"/>
        </state>
        <final id="S1Final"/>
    </state> 

    <state id="S2" initial="S21">
        <state id="S21">
            <transition event="e1" target="S22"/>
        </state>
        <state id="S22">
            <transition event="e2" target="S2Final" />
        </state>
        <final id="S2Final"/>
    </state> 
	</parallel>
	
	<state id="final" final="true">
		<onentry>
			<log expr="'Finished!'"/>
		</onentry>
	</state>
</scxml>