ForEach Input, ForEach Output & ForEach Attached
The following table provides information regarding the 'ForEach Input', 'ForEach Output' and 'ForEach Attached' SFCodeBlocks.
| Category | SF Connections |
|---|---|
| Description | The loop for each Element connected in Input / Output/ Attached executing the inner connected stacked SFCodeBlocks. Inside the ForEach Connected Input/Output/Attached loop, the Element owns two properties named 'InputPath' or 'OutputPath' holding the full path of the current element that enables you to reference all connected elements for comparison and analysis purposes. Please refer to expression section for further details. |
| Input | CurrentAFElement |
| Parameters | None |
| Pattern Support | Limited |
| Returns | None |
| Configuration | The ForEach Connected options do not require any configuration. Though if you do configure it, we recommend that you limit the scope to specific element types, whenever possible. To configurea ForEach Input, ForEach Output or ForEach Attached option: 1. Click on the code block. ![]() 2. Choose Templates or Categories of interest. When adding code blocks within a ForEach Connected code block, attach them to the inner port. |
Note
The ForEach Input, Output and Attached statements automatically detects circular connections, excluding such paths from the research.
