Iterated Instance Flow - modelint/shlaer-mellor-metamodel GitHub Wiki

A Single Instance Flow that, during model execution, is re-activiated for each instance reference parcelled out during iteration, is an iterated instance flow.

Unlike all other Data Flows, an Iterated Instance Flow is reused multiple times during the execution of its Activity. All Actions downstream from an Iterated Instance Flow similarly re-execute for each new input.

It's easiest to think of the iterated flow and all downstream Flows and Actions as being part of a sub-Activity in which the associated data flow diagram is initiated once per iteration. During each iteration, the execution rules for that data flow diagram are just like a normal Activity. So while the enclosign Activity runs just once, the sub-Activity executes once per input instance reference.

Identifiers

  1. Iterator + Activity + Domain

Attributes

No non-referential attributes.