Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
map_junction [2011/07/24 21:11] hermann |
map_junction [2026/08/28 03:27] (current) hermann Sync from local documentation review |
||
|---|---|---|---|
| Line 3: | Line 3: | ||
| ===== Description ===== | ===== Description ===== | ||
| - | This functor chooses one of two possible maps produced from different execution pipelines. | + | Picks the first available map from two possible execution pipelines, so a map 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 Map 1 | [[Map Type | Map]] | Any type of map output from an execution pipeline. | | + | | Possible Map 1 | [[Map Type]] | Map produced by one possible execution pipeline. | |
| - | | Possible Map 2 | [[Map Type | Map]] | Any type of map output from an execution pipeline. | | + | | Possible Map 2 | [[Map Type]] | Map produced by another possible execution pipeline. | |
| + | |||
| + | ===== Optional Inputs ===== | ||
| + | |||
| + | None. | ||
| ===== Outputs ===== | ===== Outputs ===== | ||
| - | ^ Name ^ Type ^ Description ^ | + | ^ Name ^ Type ^ Description ^ |
| - | | Map | [[Map Type | Map]] | Any type of map. | | + | | Map | [[Map Type]] | Map picked. | |
| ===== Group ===== | ===== Group ===== | ||
| Line 22: | Line 26: | ||
| ===== Notes ===== | ===== Notes ===== | ||
| - | First, this functor verifies whether there is a valid input in "Possible Map 1"; if not, it chooses "Possible Map 2" as input. It is a convenient way to provide an alternate map in case an execution pipeline does not return a valid data. If "Possible Map 2" is not set, the functor will return a void output. | + | The inputs are checked in order — Possible Map 1, then Possible Map 2 — and the first one that has a map is passed to the output. If neither input has a map, 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 map is still available when that container's content does not run or does not finish. | ||
| + | |||
| + | This functor was previously known as "JoinMap". | ||
| ===== Internal Name ===== | ===== Internal Name ===== | ||