Data Ports Overview

Data is passed in and out of components via the data ports. A component can have one input port and one or two output ports.

Input port: Data enters the component through the input port. It is colored blue as shown here:

Figure 1: Blue input port

Output ports: Data leaves the component through the output ports, known as the Pass port and Fail port. Normally, data leaves the component through the Pass port. If it fails to meet some criteria, it leaves the Fail port where it may or may not be used by a downstream component. The Pass port is green and the Fail port is red, as shown here:

Figure 2: Output ports

Components with three ports: Some components are equipped with an input port and both the Pass and Fail ports. For example, a Sort Data component can accept data records via its input port and send data out both the Pass and Fail ports.

Figure 3: All ports

Components with output ports only: Some components (e.g., readers) are only designed to read a data source and generate data records to downstream components where they can be further processed.

Figure 4: No input port

Components without Fail ports: Not every component exposes all three ports. In many cases, it is not necessary to support specific ports. For example, a calculator might simply take in data records, perform a calculation, and then generate the data out the Pass port (no Fail port required).

Figure 5: No fail port

Components without any output ports: Data writer and viewer components do not require any output ports since they are the last component in a pipeline.

Figure 6: No output ports

Tip: Shortcut keys are available for working with component data ports. To switch between Pass, Fail and Input ports, press CTRL+SHIFT+P, CTRL+SHIFT+F, and CTRL+SHIFT+I respectively.

See Also:  Configuring Data Ports   |  Pipelines and Data Flow   Disabling Components