Passing data over if condition

Highlighted
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
Sixteen Stars
Sixteen Stars

Re: Passing data over if condition

Consider this design:

Capture.PNG


TRF

View solution in original post

Highlighted
Sixteen Stars
Sixteen Stars

Re: Passing data over if condition

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

TRF

View solution in original post


All Replies
Highlighted
Sixteen Stars
Sixteen Stars

Re: Passing data over if condition

Consider this design:

Capture.PNG


TRF

View solution in original post

Highlighted
Sixteen Stars
Sixteen Stars

Re: Passing data over if condition

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

TRF

View solution in original post

Highlighted
Five Stars

Re: Passing data over if condition

Thank you so much Smiley Happy 

2019 GARTNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

An API-First Approach to Modernizing Applications

Learn how to use an API-First Approach to Modernize your Applications

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

Talend API Designer – Technical Overview

Take a look at this technical overview video of Talend API Designer

Watch Now