State value as a string
This page was created by Lars.olofsson on 2022-04-05. Last edited by Edgar on 2025-08-31.
If you want to get a state machine state as a string, for example, using an OCL-PS expression, use:
(#state-name).toString
Or, for example:
(#New).toString