Page 1 of 1

Using OCL in ChangeEvent expression

PostPosted: Thu Jul 18, 2019 3:47 am
by Weilkiti

I want to use an OCL expression in the ChangeEvent expression in a state machine. I selected language "OCL 2.0" in the dialog and entered the expression "value == StateKind::on".

When I run the simulation, I get the error message: Warn: Unknown language.

I works with, for example, JavaScript (and a different expression syntax).

How can I use OCL?

Thanks in advance,