Skip to content

Read Variable

With a ReadVariable Action, usually used in combination with a WriteVariable Action you can read the value of a previously defined variable via object flows.

The ReadVariable Action will similar to the Primitve Types and the ValueSpecification Action simply us the name (not normalized) provided in he model to generate code.

This will give you enormous flexibility reading modeled data. For a more strict approach reading model data you can also use a ReadStructuralFeature Action.

In the sample shown below the ReadVariable Action was not only used to read a variable... but to read and add two variables at the same time.

Read Variable