tGroovy
tGroovy broadens the
functionality if the
Talend
Job, using
the Groovy language which is a simplified Java syntax.
tGroovy allows you to enter
customized code which you can integrate in the Talend programme. The code is run only
once.
tGroovy Standard properties
These properties are used to configure tGroovy running in the Standard Job framework.
The Standard
tGroovy component belongs to the Custom Code family.
The component in this framework is available in all Talend
products.
Basic settings
Groovy Script |
Enter the Groovy code you want to run. |
Variables |
This table has two columns.
Name: Name of the variable called
Value: Value associated with the |
Advanced settings
tStatCatcher Statistics |
Select this check box to collect the log data at component |
Global Variables
Global Variables |
ERROR_MESSAGE: the error message generated by the A Flow variable functions during the execution of a component while an After variable To fill up a field or expression with a variable, press Ctrl + For further information about variables, see |
Usage
Usage rule |
This component can be used alone or as a subJob along with one |
Limitation |
Knowledge of the Groovy language is required. |
Related Scenarios
-
For a scenario using the Groovy code, see Calling a file which contains Groovy code.
-
For a functional example, see Printing out a variable content