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

15TH OCTOBER, COUNTY HALL, LONDON

Join us at the Community Lounge.

Register Now

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

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch 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