S11
∧ request b
⤳ x
activated ∧ S12
∧ y
activated
S11
∧ request c
⤳ x
activated ∧ S12
∧ y
activated
S11
∧ request d
⤳ nothing happens!
S11
∧ request e
⤳ x
activated ∧ Idle
S11
∧ S21
∧ request f
⤳ x
activated ∧ Idle
State Chart XML -SCXML- ☛ is a W3C recommendation to express state machines based on Harel's Statecharts modeling technique.
SCXML comes with an associated XSD ☛
<scxml xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.w3.org/2005/07/scxml"
xsi:schemaLocation="http://www.w3.org/2005/07/scxml https://www.w3.org/2011/04/SCXML/scxml.xsd"
datamodel="ecmascript" initial="Idle" name="My_device" version="1.0">
<!-- … -->
<state id="Idle">
<transition event="go" target="Busy"/>
</state>
<!-- … -->
</scxml>
Busy
(BPMN)S2
(BPMN)S3
(BPMN)