Using OCL in ChangeEvent expression

Moderator: Moderators

Using OCL in ChangeEvent expression

Postby Weilkiti » Thu Jul 18, 2019 3:47 am


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,
Forum Newbie
Forum Newbie
Posts: 11
Posts Rating:1
Joined: Sun May 22, 2016 11:55 pm

Return to Cameo Simulation Toolkits

Who is online

Users browsing this forum: No registered users and 0 guests