GOTCHA: UML/SysML: Cameo Simulation Toolkit 19SP3: A [true] or [false] guard on an ActivityEdge MUST be a LiteralBoolean, not just characters typed in, or the evaluation may give unexpected or ill-defined results

Icon class
icon_class
far fa-sticky-note
icon_class_computed
far fa-sticky-note
Note kind
Policy level
Specification keywords
UML keywords
Keywords
Click on the image to view it full size
This is not a bug, it's correct behaviour, but it's very easy to overlook, especially noting that the special guard [else] can be simply typed in and can't be selected as a LiteralBoolean! This means that if you are using [true] on one edge and [else], the 1st one [true] has to be selected via the specification dialog, and the 2nd one [else] can simply by typed in.
You'll know you've done it correctly for a true/false when the Guard field in the specification dialog shows a checkbox
Relates to
Related notes
Related notes (backlinks)
Related snippets (extracts)
Visit also
Visit also (backlinks)