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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Using conditional statement in tmap in Talend

Hi,
Can anyone help on how to use conditional statements in tmap component? As I am new to Talend Open Studio, I am finding it difficult to implement some functionalities.
I need to use unconnected lookup funtionality as in Informatica to compare two different columns in two different tables and return the value of another column if the comparison is true.
When I am using conditional statement, I am facing error as given below:
Condition: (row2.ORGIN_SITE_ABBR == row3.SITE_ABBR) ? row3.MPS_ID : -1
Error Message: row2Struct cannot be resolved to a type.
Can anyone please help on this?
Labels (2)
2 Replies
Anonymous
Not applicable
Author

I think you are missing DOT "." between "row2" and "Struct", probably it should be row2.Struct??
Anonymous
Not applicable
Author