Passing data over if condition

Five Stars

Passing data over if condition

Hello ,

I am parsing file and it produces valid and invalid output.I want to store the data if there is no "Invalid parser output". If any parser error found i am setting(context variable X) flag value as true else false in "tJavaflex_3" . Based on this context variable(X) i want to store the final output to postgres Sql. If condition between tJavaflex_4 and tJavaflex_5 is validating the context variable (X). But the problem is how to pass main data between t_Javaflex component over if condition.  In this case i dont want to use context variables to because i have to parse more than 100000 records.


Accepted Solutions
Highlighted
Fifteen Stars TRF
Fifteen Stars

Re: Passing data over if condition

Consider this design:

Capture.PNG


TRF
Fifteen Stars TRF
Fifteen Stars

Re: Passing data over if condition

Did this help?
If so, thank's to mark your case as solved (Kudo also accepted).

TRF

All Replies
Highlighted
Fifteen Stars TRF
Fifteen Stars

Re: Passing data over if condition

Consider this design:

Capture.PNG


TRF
Fifteen Stars TRF
Fifteen Stars

Re: Passing data over if condition

Did this help?
If so, thank's to mark your case as solved (Kudo also accepted).

TRF
Five Stars

Re: Passing data over if condition

Thank you so much Smiley Happy 

Cloud Free Trial

Try Talend Cloud free for 30 days.

Tutorial

Introduction to Talend Open Studio for Data Integration.

Definitive Guide to Data Integration

Practical steps to developing your data integration strategy.

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.