transition-usage-trigger-actions
Available in: SysML
This checks that transitions that start not from states have no trigger actions
(accept).
Specification
If the
sourceof aTransitionUsageis not aStateUsage, then theTransitionUsagemust not have anytrigger_actions.
Example
state S {
action s;
transition first s
accept after 0 [SI::s] // error
then s;
}
Remove the accept part:
state S {
action s;
transition first s // ok
then s;
}
Or use state as source:
state S {
state s;
transition first s
accept after 0 [SI::s] // ok
then s;
}