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
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
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 

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