state-definition-parallel-subactions
Available in: SysML
This checks that parallel state definitions have no owned transitions or successions.
Specification
If a
StateDefinitionisparallel, then itsowned_actions(which includes itsowned_states) must not have anyincoming_transitionsoroutgoing_transitions.
Example
state def S parallel {
action a;
then action b; // error
}
Instead, remove any transitions or successions from parallel states since all
actions will be executed concurrently:
state def S parallel {
action a;
action b; // ok
}