Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
sdcosta1983
Contributor
Contributor

How to split based on condition in tMap

Hi,

I want to process the message based on the Type. If the incoming XML is "New" Type then different path and if it is "Delete" then it should go in another path. I am trying to achieve this using tMap but not working.

Can you tell me how to achieve?

Thanks0693p00000BXiJTAA1.png

Thanks,

Sam

Labels (4)
1 Solution

Accepted Solutions
billimmer
Creator III
Creator III

What you are doing is correct. in Talend, but not in java. Lookup how to compare two strings in java and you will have your answer.

 

View solution in original post

2 Replies
billimmer
Creator III
Creator III

What you are doing is correct. in Talend, but not in java. Lookup how to compare two strings in java and you will have your answer.

 

sdcosta1983
Contributor
Contributor
Author

Thank you so much! used .equals() method and solved the issue.

 

 

Many Thanks,

Sam