ForEach Connection
The following table provides information regarding the 'For Each Connection' SFCodeBlock.
| Category | SF Connections |
|---|---|
| Description | 'For Each Connection ' is a loop for each connected Element switching, on the connection type (Input / Output / Attached), the execution of the inner connected stacked SFCodeBlocks. The SFCodeBlock exposes three connection ports: 1. Input 2. Output 3. Attached Inside the for each connected loop, the Element owns two properties named InputPath and OutputPath, holding the full path of the current element that enable you to reference all connected elements for comparison and analysis purposes. Please refer to the Expression section for furtherd etails. |
| Input | CurrentAFElement |
| Parameters | None |
| Pattern Support | Limited |
| Returns | None |
| Configuration | The For Each Connection option does not require any configuration. Though if you do configure it, were commend that you limit the scope to specifi element types, whenever possible. To configure the For Each Connected option: 1. Click on the code block. 2. Choose Templates or Categories of interest - Connected in Input - first inner port - Connectd in Output - Second inner port - Attached - Third inner port |
Note
For each Connection statement, it automatically detects circular connections excluding such paths from the research.