Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all, I'm trying to move files with the same name format, but with 2 sorts of xml data. Based on one xml tag, I want to devide those files into 2 different directories. I found a look a like discussion in the old talendforge:
https://www.talendforge.org/forum/viewtopic.php?id=44297
It looks like what I'm looking for, but I can't get this to work. Is there anyone who can get me in the right direction?
Thanks in advance!
Hello,
Please try this code in tjavarow.
on tJavaRow:
if((input_row.content.toString()).contains("your certain string")){
globalMap.put("isContian", input_row.content);
}
set the condition of runIf as:
(Boolean)globalMap.get("isContian")
Let us know if it works
Best regards
Sabrina