Time for action – using a Database join step to create a list of suggested products to buy
If your customers ordered a product that is out of stock and you don't want to let them down, you will suggest them some alternative puzzles to buy.
- Open the transformation of the previous tutorial and save it under a new name.
- Delete the Text file output step.
- Double-click the Group by step and add an aggregated field named
customers
with the list of customers separated by (,
). Under Subject, selectidcus
and as Type, selectConcatenate strings separated by
,
. - Double-click the Database lookup step. In the Values to return from the lookup table grid, add
pro_theme
as value in theString
field. - Add a Select values step. Use it to select the fields
customers
Get Pentaho 3.2 Data Integration Beginner's Guide 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.