Instance.StateMachine.getCurrentStateNames()
Signature
String[] getCurrentStateNames(Concept instance)
Domain
ACTION, CONDITION, QUERY, BUI
Description
Returns an array of the current states (if any). The state machine could
concurrently be in many states so all the active states names are returned. The state name returned
is the name defined at design time without the path. If the state machine is in a sub-state of the
composite state then both the composite state as well as the sub-state are returned.
Parameters
Name | Type | Description |
instance | Concept | The Concept instance on which to get the state machine state names. |
Returns
Type | Description |
String[] | An array of all the current state names. |