Skip to content

scxml Debugger works not correct on parallel states #2

@florianager

Description

@florianager

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>

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions