CASE Switch End

This node complements the CASE Switch Start node by merging its branches into a single output port. Typically, only one branch is active; the data from that branch is passed to the output. When used with data ports, the node also offers options to concatenate data tables from multiple active branches.
The type of the input and output ports can be chosen when adding an output port. The type of the output port can be changed by removing and adding it again with a new type.

Note for flow variable ports: Values of existing flow variables are always taken from the top-most input port of the CASE Switch End node, even if their values were modified on another active branch. However, new flow variables created within any active branch behave as expected. If you need to modify existing variables, create a new flow variable and use its value to overwrite the original after the CASE Switch End node.
If all branches are inactive, the flow variables of the top branch are passed through.

Options

If multiple inputs are active
Choose the expected behavior of the node if two or more inputs are active. In the case all inputs are inactive the node itself will pass on an inactive object.
  • Concatenate tables: Tries to concatenate the input tables
  • Fail: The node fails
  • Use first non-inactive input: Output the first active port, ignoring any subsequent active ports
Duplicate RowID handling
How to handle duplicate row identifiers (RowID) when concatenating the two input tables.
  • 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.
  • Skip rows: Duplicate row identifiers (RowID) occurring in the second table 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.
Suffix
The suffix to append to duplicate row identifiers (RowID) to make them unique.
Enable hiliting
Enables hiliting between both inputs and the concatenated output table.

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.

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.