State value as a string
(Created page with "If you want to get a state machine state as a string, for example for using in an oclPS expression, use; (#state-name).asString for example (#New).asString")
 
No edit summary
Line 1: Line 1:
If you want to get a state machine state as a string, for example for using in an [[OCLps|oclPS]] expression, use;
If you want to get a state machine state as a string, for example for using in an [[OCLps|oclPS]] expression, use;
  (#state-name).asString
  (#state-name).toString
for example
for example
  (#New).asString
  (#New).toString

Revision as of 09:29, 16 April 2022

If you want to get a state machine state as a string, for example for using in an oclPS expression, use;

(#state-name).toString

for example

(#New).toString
This page was edited 73 days ago on 02/10/2024. What links here