How to apply rules on certain fields for multiple jobs in Talend

Seven Stars

How to apply rules on certain fields for multiple jobs in Talend

Hi,

 

I have some validations like date format, string length and alphanumeric check that I need to apply on certain fields in multiple jobs. I don't want to use tMap filter expression for that because that will not provide me the exact reason due to which the record is rejected.

 

I there any way to achieve this in Talend ?

 

Best Regards,

 

Abhishek Kumar

Fifteen Stars TRF
Fifteen Stars

Re: How to apply rules on certain fields for multiple jobs in Talend

Hi,

tFilterRow (with basic or advanced settings) may help for that in most cases.

You may also use tJavaRow.

In this case consider to add a field in the output flow in which you'll indicate the reject code if any. 

Then you'll be able to filter (tFilterRow again) rows to be rejected.

Also, if you want to centralize the validation code, consider to use routines.

Hope this helps.


TRF

What’s New for Talend Spring ’19

Watch the recorded webinar!

Watch Now

Tutorial

Introduction to Talend Open Studio for Data Integration.

Watch

Downloads and Trials

Test drive Talend's enterprise products.

Downloads

Definitive Guide to Data Integration

Practical steps to developing your data integration strategy.

Download