Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Passing data over If condition

 i am using using javaflex. In invalid output, i am setting context variable and checking it on "IF" condition. Now condition is working fine. But i am unable to send main data output to the SqlOutput. After if condition of javaflex i am getting only one row rather than entire parsed data.

Labels (4)
4 Replies
TRF
Champion II
Champion II

Hi,
That's a normal behaviour.
I suggest you to read the documentation regarding the tJava family components.
For your case you need to push the data to a tHashOutput then, depending on your condition, get it from a tHashInput connected to this tHashOutput.
Cannot give more details as I don't know what's in the tJavaFlex components.
Jesperrekuh
Specialist
Specialist

tJavaFlex IF is a trigger, it's not possible... some components allow you to link an IF to a (row) component.

What would you like to achieve, what is your IF based on, specific row.column value?

and based on its value you like to write row output to, in example, a file A and if its not write to file B?

 

 

Anonymous
Not applicable
Author

But i want to store the data if there is no "Invalid parser output". If any parser error 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. If condition between tJavaflex_4 and tJavaflex_5
is validating the context variable (X).
Anonymous
Not applicable
Author

But i want to store the data if there is no "Invalid parser output". If any parser error 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. If condition between tJavaflex_4 and tJavaflex_5
is validating the context variable (X).