Skip to main content Skip to complementary content

Creating a Job for catching the message triggered by a tDie component

Create a Job to trigger a message using the tDie component, then catch the message using the tLogCatcher component and display the message on the console.

Procedure

  1. Create a new Job and add a tRowGenerator component, a tFileOutputDelimited component, a tDie component, a tJava component, a tLogCatcher component, and a tLogRow component by typing their names in the design workspace or dropping them from the Palette.
  2. Link the tRowGenerator component to the tFileOutputDelimited component using a Row > Main connection.
  3. Link the tFileOutputDelimited component to the tDie component using a Trigger > Run if connection.
  4. Link the tRowGenerator component to the tJava component using a Trigger > On Subjob Ok connection.
  5. Link the tLogCatcher component to the tLogRow component using a Row > Main connection.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!