Configuring a Data Splitter JavaScript Component

Add and configure a Data Calculator JavaScript component.

  1. Drag the Data Splitter JavaScript component onto the Design window.
  2. Link the Data Splitter input port to the output port of the component that provides the inbound data.
  3. Link the Data Splitter output ports to the input ports of the components to which you want to direct outbound data.
  4. 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.

  5. Double-click the Data Splitter JavaScript component.
  6. Add the conditions you want to use to direct the data flow:
    1. 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.

    2. On the Condition window, define the conditions for each column that you want to apply.

    3. Click Save.