SysML 2.1b1 RTF Avatar
  1. OMG Issue

SYSML21 — Wrong action example

  • Key: SYSML21-413
  • Status: open  
  • Source: sodiuswillert.com ( Mr. Eran Gery)
  • Summary:

    In subclause 7.17.11 there is an example of a conditional action with the wrong syntax.

    if threat.level == high then {
        perform soundAlarm {in cause = threat;}
    } else if threat.level == medium then {
        action sendNotification {in msg = threat;}
    

    The "then" is invalid here, it is not a conditional succession.

  • Reported: SysML 2.0b2 — Tue, 11 Nov 2025 13:17 GMT
  • Updated: Sat, 27 Dec 2025 21:33 GMT