The following scenario creates a single-component Job, where tMsgBox is used to display the pid (process id) in place of the traditional "Hello World!" message.
Drop a tMsgBox component from the Palette to the design workspace.
Define the dialog box display properties:
'Title' is the message box title, it can be any variable.
In the Message field, enter
"Current date is: "
between double quotation marks. Then click CTRL+Space to display the autocompletion list and select the following system routine,
TalendDate.getCurrentDate. Put brackets around this routine.
Switch to the Run tab to execute the Job defined.
The Message box displays the message and requires the user to click OK to go to the next component or end the Job.
After the user clicked OK, the Run log is updated accordingly.
Related topic: see Talend Studio User Guide.