Using a basic validation rule
After setting up a validation rule, you can apply it on your Job designs. For
example, let's apply a basic check for correct values validation rule when reading a
database table. This scenario is based on the basic check validation rule created in the
Basic rule section of Talend Studio User
Guide.
Setting up the Job environment for a basic validation rule
Procedure
Configuring tMysqlInput
Procedure
Applying the validation rule and creating a reject link
As the On select option was selected for this
validation rule, the validation rule must be applied to the input component.
Procedure
Configuring the output components and viewing the Job execution result
Procedure
Results
Valid data is outputted in the first delimited file and rejects to the second, and the console displays the number of valid lines and the number of rejects processed in the Job.