Getting familiar with the job design process

Now you will create a Job similar to the one you created at the beginning of the chapter, but with the addition of some extra tasks. The new version of the Job will create a folder with a name of your choice. If an error occurs, the fact will be reported to the PDI log. Here are the instructions:

  1. Open the Job you created before and save it under a different name
  2. Double-click the Create folder entry and replace the name of the folder with ${Internal.Entry.Current.Directory}/${MY_FOLDER}
  3. From the Utility category of steps, drag to the canvas a Write To Log entry

We want to run this last entry only when the creation of the folder fails. We do it as follows:

  1. Create a new hop from the Create folder ...

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.