Pass Action - modelint/shlaer-mellor-metamodel GitHub Wiki

Consider a Scrall expression like the following:

cabin high ? turn1, turn2 = top floor height, bottom floor height :
    turn1, turn2 = bottom floor height, top floor height

This expression is parsed to yield a Decision Action that executes a different compound assignment for its true and false Result (separated by the : character).

Now let's consider just the true result:

turn1, turn2 = top floor height, bottom floor height

Here the value of Labeled Flow named top floor height is assigned to the turn1 Labeled Flow with the value of bottom floor height assigned to turn2.

We use a Control Dependency to connect a Result Control Flow from the Decision Action to some Action that effects each assignment. That Action is a Pass Action. And for this example, we need one such Action per assignment.

A Pass Action simply passes the value obtained from an input Data Flow to an output Data Flow. Both Data Flows must be defined by the same Type.

An Activity Data Flow Diagram for this example is shown in the description of R815.

Identifiers

  1. ID + Activity + Domain

Attributes

No non-referential attributes.