🚀 Welcome to MDriven Learn –  Don’t miss the latest Release Notes.
State value as a string

State value as a string

If you want to get a state machine state as a string, for example, using an OCL-PS expression, use:

(#state-name).asString

Or, for example:

(#New).asString