Differences
This shows you the differences between two versions of the page.
|
string_junction [2020/04/27 19:54] argemiro created |
string_junction [2026/08/28 03:35] (current) hermann Sync from local documentation review |
||
|---|---|---|---|
| Line 3: | Line 3: | ||
| ===== Description ===== | ===== Description ===== | ||
| - | This functor picks one string from two execution pipelines. | + | Picks the first available string 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 String 1 | [[string_type|String Type]] | String output from an execution pipeline. | | + | | Possible String 1 | [[String Type]] | String produced by one possible execution pipeline. | |
| - | | Possible String 2 | [[string_type|String Type]] | String output from an execution pipeline. | | + | | Possible String 2 | [[String Type]] | String produced by another possible execution pipeline. | |
| + | |||
| + | ===== Optional Inputs ===== | ||
| + | |||
| + | None. | ||
| ===== Outputs ===== | ===== Outputs ===== | ||
| - | ^ Name ^ Type ^ Description ^ | + | ^ Name ^ Type ^ Description ^ |
| - | | String| [[string_type|String Type]] | String output from an execution pipeline. | | + | | String | [[String Type]] | String picked. | |
| ===== Group ===== | ===== Group ===== | ||
| [[Functor List#Control | Control]] | [[Functor List#Control | Control]] | ||
| + | |||
| + | ===== Notes ===== | ||
| + | |||
| + | The inputs are checked in order — Possible String 1, then Possible String 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. | ||
| ===== Internal Name ===== | ===== Internal Name ===== | ||
| - | stringJunction | + | StringJunction |