-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
Description
following code works not correct with jsscxml:
if Engine_1_On is active and event "Start2" is submitted, Engine 1 falls back to Engine_1_Off state.
<scxml name="Scxml" version="1.0" xmlns="http://www.w3.org/2005/07/scxml"> <parallel id="Airplane_Engines"> <state id="Engine_1" initial="Engine_1_Off"> <state id="Engine_1_Off"> <transition event="Start1" target="Engine_1_On"/> </state> <state id="Engine_1_On"> <transition event="Shutdown1" target="Engine_1_Off"/> </state> </state> <state id="Engine_2" initial="Engine_2_Off"> <state id="Engine_2_Off"> <transition event="Start2" target="Engine_2_On"/> </state> <state id="Engine_2_On"> <transition event="Shutdown2" target="Engine_2_Off"/> </state> </state> </parallel> </scxml>