summaryrefslogtreecommitdiffstats
path: root/test/w3c/lua/test339.scxml
blob: 3c6086384bef18f10081b35ddb4b3d5475258268 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?xml version="1.0" standalone="no"?>
<!-- test that invokeid is blank in an event that wasn't returned from an invoked process -->
<scxml xmlns="http://www.w3.org/2005/07/scxml" initial="s0" version="1.0" name="machineName" datamodel="lua">
  <state id="s0">
    <onentry>
      <raise event="foo"/>
    </onentry>
    <transition event="foo" cond="_event.invokeid == ''" target="pass"/>
    <transition event="*" target="fail"/>
  </state>
  <final id="pass"/>
  <final id="fail"/>
</scxml>