Exploring PDI steps for splitting a stream based on conditions

When you have to make a decision, and upon that decision split the stream into two, you can use the Filter rows step, as you did in this last exercise. Alternatively, you can use the Java Filter step. As said in Chapter 5, Manipulating PDI Data and Metadata the purpose of both the steps, Filter rows and Java Filter, is the same; the main difference is the way in which you type or enter the conditions.

For details about the use and the differences between both the Filter rows and the Java Filter steps, you can go back to the Filtering section of this chapter.

Sometimes you have to make nested decisions; for example:

Sample Transformation with nested conditions

When the conditions ...

Get Learning Pentaho Data Integration 8 CE - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.