<?xml version="1.0" ?> | |
<scxml xmlns="http://www.w3.org/2005/07/scxml" version="1.0"> | |
<state id="workflow"> | |
<transition event="updateLights"> | |
|if cond="In('jackpotStateOn')"> | |
<raise event="turnOnJackpot"/> | |
<else/> | |
<raise event="turnOffJackpot"/> | |
</if> | |
</transition> | |
</state> | |
</scxml> |