summaryrefslogtreecommitdiffstats
path: root/tests/auto/statemachine/historystate.scxml
blob: 4b3a5e448a7a15c438c9bd8a95ba7f3edca90e11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?xml version="1.0" encoding="UTF-8"?>
<scxml xmlns="http://www.w3.org/2005/07/scxml" version="1.0" binding="early" name="HistoryState">
    <state id="Working">
        <state id="State1">
            <onentry>
                <send event="timeout" delay="1s"/>
            </onentry>
        </state>
        <history type="shallow" id="HistoryState"/>
        <transition type="external" event="timeout" target="State2"/>
    </state>
    <state id="State2"/>
</scxml>