Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
table_junction [2013/08/14 22:42] 127.0.0.1 external edit |
table_junction [2026/08/28 03:35] (current) hermann Sync from local documentation review |
||
|---|---|---|---|
| Line 3: | Line 3: | ||
| ===== Description ===== | ===== Description ===== | ||
| - | This functor chooses one from two possible tables produced from different execution pipelines. | + | Picks the first available table from two possible execution pipelines, so a table still reaches the rest of the model even when one of the pipelines that could produce it does not run. |
| ===== Inputs ===== | ===== Inputs ===== | ||
| - | ^ Name ^ Type ^ Description ^ | + | ^ Name ^ Type ^ Description ^ |
| - | | Possible Table 1 | [[Table Type|Table]] | Table output from an execution path. | | + | | Possible Table 1 | [[Table Type]] | Table produced by one possible execution pipeline. | |
| - | | Possible Table 2 | [[Table Type|Table]] | Table output from an execution path. | | + | | Possible Table 2 | [[Table Type]] | Table produced by another possible execution pipeline. | |
| + | |||
| + | ===== Optional Inputs ===== | ||
| + | |||
| + | None. | ||
| ===== Outputs ===== | ===== Outputs ===== | ||
| ^ Name ^ Type ^ Description ^ | ^ Name ^ Type ^ Description ^ | ||
| - | | Table | [[Table Type|Table]] | Table chosen. | | + | | Table | [[Table Type]] | Table picked. | |
| ===== Group ===== | ===== Group ===== | ||
| - | [[Functor List#Control|Control]] | + | [[Functor List#Control | Control]] |
| ===== Notes ===== | ===== Notes ===== | ||
| - | First, this functor verifies whether there is a valid input in "Possible Table 1", if not, it chooses as input "Possible Table 2". It is a convenient way to provide an alternate table in case an execution pipeline does not return a valid table. If "Possible Table 2" is not set, the functor will return a void output. | + | The inputs are checked in order — Possible Table 1, then Possible Table 2 — and the first one that has a value is passed to the output. If neither input has a value, the output is left without one, which allows chaining several junctions together to combine more than two possible pipelines. |
| + | |||
| + | This functor is typically placed after a container whose execution is conditional, such as [[If Then]] or [[Skip On Error]], so a default table is still available when that container's content does not run or does not finish. | ||
| ===== Internal Name ===== | ===== Internal Name ===== | ||