How to create a Joblet from scratch - 6.3

Talend Data Fabric Studio User Guide

English (United States)
Talend Data Fabric
Talend Studio
Data Quality and Preparation
Design and Development
  1. In Talend Studio Repository tree view, right-click the Job Designs node or Joblets under the Job Designs node, and select Create Joblet on the contextual menu.

  2. In the [New Joblet] dialog box, fill in at least the Name field to designate the Joblet. You can also add information to ease the Joblet management, such as: Description, Version, Author and Status.




    Enter a name for your new Joblet. A message comes up if you enter prohibited characters.


    Enter the Joblet purpose or any useful information regarding the job in use.


    Enter a description if need be for the Job created.


    This field is read-only as it shows by default the current user login.


    This field is read-only as it shows by default the current user login.


    The version is also read-only. You can manually increment the version using the M and m buttons.


    You can define the status of a Job in your preferences. By default none is defined. To define them, go to Window > Preferences > Talend >Status.


    This field is read-only because it refers to the item access path in the repository. This field is empty when the item is created in the root folder.


    Select the icon you want to use for your Joblet. It will show next to the Joblet name in the Repository tree view and in the Palette as well.

  3. In the Icon area, click the [...] button to open a window where you can browse to an icon of your choice and add it to your Joblet, if needed.

  4. Select the icon and click Open. The window closes and the selected icon displays in the Icon area in the [New Joblet] dialog box.


    The icon must have the dimensions 32 x 32. You will have an image-size related error if you try to use icons with other dimensions.

  5. If necessary, click revert to go back and use the by-default icon.

  6. Click Finish to validate your changes and close the dialog box.

    The design workspace opens showing the Joblet name as tab label. By default the newly created Joblet includes an input and an output Joblet component.

    The INPUT component is only to be used if there is a flow coming from the main Job that should be used in the joblet, and the OUTPUT component is only to be used if there is a flow going out of the joblet that needs be used in the main Job. You can remove either or both of them as needed.

  7. Include the transformation components you need and connect them to the Joblet input and the output components. In the example below, the input component is removed, and a tMap component is used for the transformation step.

    If you need lookup connections, include them here as well.

  8. Define the input component schema of the Joblet.

    As for any component requiring a schema definition, you can define your schema as Built-in, import it from an XML file or retrieve it from the Repository tree view.

The output schema is automatically retrieved from the preceding component (likely the transformation component) but you can also change it if you like.

The next step is to use the Joblet you have just created in your usual Job in order to replace the transformation steps.


Note that you can also include Joblets in a Joblet.