OCLOperators oclIsInState
This page was created by Hans.karlsen on 2017-09-14. Last edited by 62.169.16.147 on 2026-09-12.
oclIsInState checks whether an object has 1 or more state machines defined - and if one of these state machines is currently in the state in question.
Article.allinstances->select(a|a.oclIsInState(#Manufacturing))
A state machine can be defined like this:

See also: State value as a string
