Forcing a status with an abort Job or success entry

Each Job itself ends with a status: success or failure. This status depends on the status of the last executed entry. However, you can force the final status of a Job to a fixed value. To show this as a practical example, let's go back to the Job that created the folder; the one you created in the section Getting Familiar with the Job Design Process. In this Job, if the folder was not created, you wrote a message to the log. As the last entry was Write To Log, and PDI could successfully write to the log, the final status of the Job was a success. It makes sense, however, that the Job fails. So this is how you revert the status:

  1. Open the Job.
  2. Add an Abort job entry after Write To Log. You ...

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.