CASE Switch End

This node complements the CASE Switch Start node. It merges the created branches into a single output port. Typically, only one branch is active, and the content on that branch is forwarded to the output port. In case the Switch is used for data ports, additional options for merging the data tables on multiple active branches are offered.
The type of the input and output ports can be chosen when adding an output port using the “…” menu. The type of the output port can be changed by removing and adding it again with a new type.

Note for flow variable ports: The values for existing flow variables will always be those at the top-most port of the end node, even if they are changed on an active branch (that is not connected to the top-most port). However, new variables created in any active branch will behave as expected. If you want to change the value of existing variables, please create a new flow variable, and use its value to overwrite the old variable after the CASE Switch End node.
If all branches are inactive, the flow variables of the top branch are passed through.

To migrate from the deprecated CASE Switch Model (End) node, select Generic Port when creating the output port.

Options

“Data” Type Settings

If multiple inputs are active
Choose the expected behavior of the node if two or more inputs are active.
  • Merge tables: tries to merge the input tables (default)
  • Fail: the node fails
  • Use first non-inactive input: output the first active port, ignoring any subsequent active ports
In the case all inputs are inactive the node itself will pass on and an inactive object.
Skip Rows
Duplicate row identifiers (RowID) occurring in additional active tables are not appended to the output table. This option is relatively memory intensive as it needs to cache the RowIDs in order to find duplicates.
Append suffix
The output table will contain all rows, but duplicate row identifiers are labeled with a suffix. Similar to the "Skip Rows" option this method is also memory intensive.
Enable hiliting
Enables hiliting between both inputs and the concatenated output table.

“Other” Type Settings

If multiple inputs are active
Choose the expected behavior of the node if two or more inputs are active.
  • Fail: the node fails (default)
  • Use first non-inactive input: output the first active port, ignoring any subsequent active ports
In the case all inputs are inactive the node itself will pass on and an inactive object.

Input Ports

Select the input port type and connect it. Only one input port can be selected at a time. If the input port is removed, all output ports are also removed.

Output Ports

The output ports. They are only present and editable if an input port type was selected and always have the same type. At least two outputs are required.

Popular Predecessors

Views

This node has no views

Workflows

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.