Skip to main content Skip to complementary content

Launching the Joblet in a Job

Procedure

  1. Create a new Job.
  2. From the Repository tree view, click the created Joblet (Transformation) and drop it in the Job.
  3. Drop a tFileOutputDelimited component next to the Joblet component, drop a tWarn component above the Joblet component, and drop a tMsgBox component below the Joblet component.
  4. Right-click the Joblet component and then select the Row > Joblet OUTPUT_1 link and click tFileOutputDelimited.
  5. Double-click tFileOutputDelimited to display its basic settings and then define the path to the folder and file to be created in the File Name field.
  6. Right-click the tWarn component and select the link of the type Trigger > On Subjob Ok (TRIGGER_INPUT_1) and then click the Joblet component.
  7. Double-click the component that represents the Joblet to display its basic settings view.
    In the Joblet TRIGGER_INPUT_1 field, the link type defined in the Joblet is read-only.
    Information noteTip: If you use many Triggers Input components in the Joblet and corresponding launching components in the Job, verify that the right component is attached with the right launching link in the Attached node field of the Basic settings view.
  8. From the Version list, select the Joblet version you want to use in your Job. In this example, we use the latest version of the Joblet.

    Example

  9. Right-click the Joblet component, select the link Trigger > On Subjob Ok (TRIGGER_OUTPUT_1), and then click the tMsgBox component.

    Example

  10. Run your Job.

Results

The tWarn component sends a warning massage and launches the next subJob holding the Joblet you created: Transformation. Once the second subJob is successfully executed, it launches a third subJob holding the tMsgBox component indicating at the same time that the transformation has been carried out.

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!