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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

run if condition

Hi guys,

i have a little problem with run if condition.

for example i want to send email if MTT_TTC < MTT_MAX

But i don't know how to take MTT_TTC and MTT_MAX to my tjavaRow

can you help me please

 0683p000009M15h.png

 

Labels (2)
1 Solution

Accepted Solutions
ankit7359
Creator II
Creator II

Hi @Mialy,

Can you pls specify your scenario more specifically such that Talend Community Members can help you...

Also as you have hinted ""TT_TTC < MTT_MAX"... try using row1.TT_TTC < row1.MTT_MAX.... 

Pls check your tjavarow code... and pls.. be aware of what you would like to achieve..

Pls reach out to the community,if necessary.

Thanks,

Ankit

 

View solution in original post

6 Replies
ankit7359
Creator II
Creator II

Hi @Mialy,

Can you pls specify your scenario more specifically such that Talend Community Members can help you...

Also as you have hinted ""TT_TTC < MTT_MAX"... try using row1.TT_TTC < row1.MTT_MAX.... 

Pls check your tjavarow code... and pls.. be aware of what you would like to achieve..

Pls reach out to the community,if necessary.

Thanks,

Ankit

 

vapukov
Master II
Master II

Hi,

 

your construction will not work as expected, in this case RunIf will work only for last row

 

you need convert flow to iterate for trigger event for each row, something like:

0683p000009M1Nb.png

 

tJavaFlex - empty

Anonymous
Not applicable
Author

@vapukov and it's the same for tjavaRow?

vapukov
Master II
Master II

not sure - what a re you mean, but in my sample it just used for proper connect subjob (nothing inside)

Anonymous
Not applicable
Author

ok, thanks i'm going to try it

Anonymous
Not applicable
Author

@ankit7359 0683p000009M1MM.png