Implementation Status

The following table attempts to rate scxml-js's level of conformance to the SCXML specification.

Tag NameSupport StatusNotes
Core Module
scxml @binding is not supported (always "early").
state
transition Does not support transitions without targets.
parallel
initial
final Does not send final event. Right now, treated like a normal state.
donedata
content
onentry
onexit
history
Executable Content
raise
if
elseif
else
log Uses console.log API
External Communications Module
send Sending events via HTTP to Commons SCXML statechart instances has not been tested. Also, sending events based on session id is not supported.
cancel
invoke
finalize
Data Module
datamodel
data @src is not supported
assign
validate
param
Script Module
script
Additional Requirements
The In() predicate
Other
Referencing External Files
SCXML Events Regarding performance, in the current implementation, dispatch of events whose names do not include "." character should be faster than events whose names do include the "." character.
System Variables Statechart instances are not assigned a session id.
The Internal Structure of Events

Other Limitations

  • XML IDs must be legal JavaScript identifiers