OCLOperators oclGetStates
Created by Peter on 2019-11-07 · Last edited by Peter.byaruhanga on 2026-01-29.
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
