Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
map_junction [2011/07/24 21:06]
hermann created
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]] | Map from an execution pipeline. | +| Possible Map 1  | [[Map Type]] ​ | Map produced by one possible ​execution pipeline. ​ 
-| Possible Map 2 | [[Map Type | Map]] | Map 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]] | Map         ​|+| Map  | [[Map Type]] ​ | Map picked.  ​|
  
 ===== Group ===== ===== Group =====
  
-Control+[[Functor List#Control ​| Control]]
  
 ===== Notes ===== ===== Notes =====
  
-First, this functor verifies whether there is a valid input in "Possible Map 1"; if notit 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 dataIf "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 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 =====