Customizing port conditions

You can assign a condition to each port. A condition consists of one or more expressions. Multiple expressions are concatenated by operators. When Data Splitter evaluates the condition, the result is either TRUE (1) or FALSE (0).

You may, for example, want to write one set of conditions for OUT1 and another set of conditions for OUT2.

StepsModifying port conditions

  1. Double-click the Data Splitter JavaScript component to open the Data Splitter component window. Right-click the port and select Edit.

  2. On the Condition window, create the conditions you want to apply to the port. You can:

    • Manually enter the conditions in the text area of the Condition window.

    • Drag and drop the variables and functions you want to add to your condition from the left pane to the text area. The Variables tab lists all the variables that you can use and the Functions tab lists all available functions and operators that you can add to the condition.

    • Right-click the text area, and select the variables you want to add to the condition from the IN pop-up menu.

StepsAdding new output ports

Although Data Splitter is configured with two OUT-ports, you can create additional OUT-ports. New ports are identified by the name.

  1. Click the Add new port icon on the port toolbar.

  2. Enter a name for the new output port. Click OK.

StepsRemoving output ports

  1. Select the port you want to remove.

  2. On the port toolbar, click the Remove selected port icon. Alternatively, right-click the port and select Delete.

NoteYou cannot delete all ports. The component must have at least one output port.