Page History
...
Table of Contents | ||||
---|---|---|---|---|
|
Also, you have access to the index of the iterations as described at Accessing the Iteration Index.
Multiexcerpt include | ||||||
---|---|---|---|---|---|---|
|
...
One input Array is allowed and any output Arrays. The parameter for the subactivity must be defined as Expansion Node. The name has to be the used parameter name within the subactivity (address in the examples above). Any output Parameter has to be defined as output Expansion Node with the used name out of the subactivity. Like in the other iterations a mapping by input / output Pins is possible.
Accessing the Iteration Index
For all above mentioned usages of iterations, you can access the index value of the iteration. To do that, define an input node to the expansion region that
- is of type Integer
- has no incoming object flows
Such input nodes will be treated as indices by the Runtime. These indices are zero-based, and you can have as many as you need. The sample activity snipped below shows a simple index usage.