SysMLv1: A basic ControlFlow, ObjectFlow, and DecisionNode loop driven by fUML ReadLine CLI String input with conversion to Boolean for LiteralBoolean guard [with mini video] Gallery Tutorial TRAIL: SysMLv1/UML: Cameo Simulation Toolkit® (Magic Model Analyst®): Some basics for beginners and some more advanced cases [with mini videos] Section Slide kind SysML Activity Diagram UML Activity Diagram
TIP: SysMLv1/UML: Cameo Simulation Toolkit: HOWTO convert an fUML ReadLine CLI String to a Boolean for cleaner DecisionNode tests against a LiteralBoolean [true] guard.
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
A LiteralBoolean is shown as either the word “true” or the word “false,” corresponding to its value. Source Unified Modeling Language 2.5.1
A LiteralBoolean specifies a constant value of the PrimitiveType Boolean. Source Unified Modeling Language 2.5.1