state-usage-parallel-subactions
Available in: SysML
This checks that parallel state usages have no owned transitions or successions.
Specification
If a
StateUsageisparallel, then itsnested_actions(which includes itsnested_states) must not have anyincoming_transitionsoroutgoing_transitions.
Example
state s parallel {
action a;
then action b;
}
Instead, remove any transitions or successions from parallel states since all
actions will be executed concurrently:
state s parallel {
action a;
action b; // ok
}