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:
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:
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.
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.
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).
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.
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.