Creating a Joblet from a Job
About this task
Procedure
-
Open the Job in Talend Studio.
- Right-click the component(s) you want to transform to a Joblet and select Refactor to Joblet from the contextual menu to open the New Joblet dialog box. In this example, we want to transform tMap to a Joblet.
-
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.
Field
Description
Name
Enter a name for your new Joblet. A message comes up if you enter prohibited characters.
Purpose
Enter the Joblet purpose or any useful information regarding the job in use.
Description
Enter a description if need.
Author
This field is read-only as it shows by default the current user login.
Locker
This field is read-only as it shows by default the current user login.
Version
The version is read-only. You can manually increment the version using the M and m buttons.
Status
Select a status from the list. By default, the status you can select is development, testing, or production. To define more statuses, see Status settings.
Path
This field is read-only. It refers to the item access path in the repository. This field is empty when the item is created in the root folder.
Icon
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.
- 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.
-
Select the icon and click Open. The
window closes and the selected icon displays in the Icon
area in the New Joblet dialog box.
Information noteNote:
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.
- If necessary, click revert to go back and use the by-default icon.
-
Click Finish to validate your settings and close the
dialog box.
The design workspace opens showing the Joblet name as tab label. The input and output Joblet components are automatically included in the Joblet during its creation and the transformation component selected for creating the Joblet, tMap in this example.
The tMap component is then automatically replaced by the Joblet component in the Job.
- Save your Job and press F6 to execute it.
Results
You can as well include other transformation steps after your Joblet, if necessary. For more information about modifying a Joblet, see Editing a Joblet.
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!