Skip to main content

ForEach Input, ForEach Output & ForEach Attached

The following table provides information regarding the 'ForEach Input', 'ForEach Output' and 'ForEach Attached' SFCodeBlocks.

CategorySF Connections
DescriptionThe 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.

InputCurrentAFElement
ParametersNone
Pattern SupportLimited
ReturnsNone
ConfigurationThe 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.