Skip to content

Input values

Leon Starr edited this page Nov 6, 2023 · 2 revisions

Values can be passed into an activity with an input parameter designated with the ^ prefix. On a data flow diagram an input parameter appears as a data flow with no source.

next destination = ^Floor

If the above example is in a state activity, the Floor parameter packaged with the event that triggered the incoming transition is assigned to the scalar variable on the LHS.

Variable types that can be passed as input parameters depend on the type of activity as follows:

State activities: Table and scalar variables only (instance references are not guaranteed to be valid during the transmission of a signal).

All non-state activities: All variable categories

Since a class method is invoked either by a domain operation or a state activity, all instance references and model data should remain valid assuming the actions are sequenced as necessary.

There must be no space between the ^ symbol and the parameter name so that it is not interpreted as the intersection operator.

Introduction

Model semantics

Flows (as Variables)

Constants and literals

Structure of an activity

Accessing the class model

Data flow


Grammar and parsing notes

Components

Clone this wiki locally