MBSE Automation Corner MagicDraw API Code Activity with Actions and Control Flows In this example we will create an activity element that contains call behavior actions and control flows.