Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
value_junction [2015/10/11 23:32] admin |
value_junction [2026/08/28 03:36] (current) hermann Sync from local documentation review |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Value Junction ====== | + | ====== Value Junction ====== |
| ===== Description ===== | ===== Description ===== | ||
| - | This functor chooses one of two possible values produced from different execution pipelines. | + | Picks the first available value from two possible execution pipelines, so a value 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 Value 1 | [[Real Value Type]] | Value output from an execution pipeline. | | + | | Possible Value 1 | [[Real Value Type]] | Value produced by one possible execution pipeline. | |
| - | | Possible Value 2 | [[Real Value Type]] | Value output from an execution pipeline. | | + | | Possible Value 2 | [[Real Value Type]] | Value produced by another possible execution pipeline. | |
| + | |||
| + | ===== Optional Inputs ===== | ||
| + | |||
| + | None. | ||
| ===== Outputs ===== | ===== Outputs ===== | ||
| - | ^ Name ^ Type ^ Description ^ | + | ^ Name ^ Type ^ Description ^ |
| - | | Value | [[Real Value Type]] | Value chosen. | | + | | Value | [[Real Value Type]] | Value picked. | |
| ===== Group ===== | ===== Group ===== | ||
| Line 20: | Line 24: | ||
| [[Functor List#Control | Control]] | [[Functor List#Control | Control]] | ||
| - | ===== Notes ===== | + | ===== Notes ===== |
| + | |||
| + | The inputs are checked in order — Possible Value 1, then Possible Value 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 value is still available when that container's content does not run or does not finish. | ||
| - | First, this functor verifies whether there is a valid input in "Possible Value 1", if not it chooses as input "Possible Value 2". It is a convenient way to provide an alternate value in case an execution pipeline does not return a valid value. If "Possible Value 2" is not set, the functor will return a void output. | + | This functor was previously known as "JoinDouble" and "JoinValue". |
| - | ===== Internal Name ===== | + | ===== Internal Name ===== |
| ValueJunction | ValueJunction | ||