Add and configure a Data Calculator JavaScript component.
Drag the Data Splitter
JavaScript component onto the Design window.
Link the Data Splitter input port to the output port of
the component that provides the inbound data.
Link the Data Splitter output ports to the input ports
of the components to which you want to direct outbound data.
Select
Mutually Exclusive Rules if you want port conditions to behave as if
they are mutually exclusive. If this option is selected, ports are
evaluated based on a user-specified order, instead of the order
in which they appear on the component. When conditions are defined
as mutually exclusive, the splitter writes a given record to 0 or
1 output port. The first output port that has a matching condition receives
the input record. No subsequent port conditions are evaluated. If
a condition does not match, the record is not written to any output port.
Note:
The mutually exclusive port conditions are always evaluated
in the order specified by the sequence number associated with each
port condition.
Double-click the Data Splitter JavaScript component.
Add the conditions you want to use to direct the
data flow:
Double-click the
port you want to add the conditions to. Alternatively, click the
Edit condition icon on the port, or right-click the port and select
Edit condition.
On the Condition window, define the conditions for
each column that you want to apply.