State value as a string
m ((username removed) (log details removed): Moving to Documentation namespace)
(Automatically adding template at the end of the page.)
Line 4: Line 4:
  (#New).toString  
  (#New).toString  
  [[Category:OCL]]
  [[Category:OCL]]
{{Edited|July|12|2024}}

Revision as of 15:47, 10 February 2024

This page was created by Lars.olofsson@mdriven.net on 2022-04-05. Last edited by Stephanie@mdriven.net on 2025-02-13.

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
MDriven Chat

How would you like to chat today?

Setting up your conversation…

This may take a few moments