O'Reilly logo

Getting Started with Talend Open Studio for Data Integration by Jonathan Bowen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

On Subjob Error

Let's extend our first example by illustrating how a job can be made to take different execution paths based on what happens during the running of the job.

In the previous example we configured an OnSubjobOK example, but what if the subjob did not work as expected? The Studio also offers another subjob connector—OnSubjobError—for this situation. Let's modify the job to show this; perform the following steps:

  1. Search for message in the Palette window and drop a tMsgBox component onto the designer.
  2. We can accept most of the default settings for this component, but change the Message parameter to Something Went Wrong!!.
  3. Right-click on the order_lines component, select Trigger | On Subjob Error, and drop the connector onto the message box ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required