OCLOperators oclGetStates
The oclGetStates operator returns a collection of strings representing the names of the states an object is currently in. Because MDriven supports parallel state machines, an object can technically be in multiple states simultaneously (one for each parallel region).
Syntax
object.oclGetStates
Examples
Complaint.allinstances->first.oclGetStates
This returns all the states associated with the first Complaint Object.
