[resolved] Run if example in Talend ETL [How to write condition }
I am using tfileexist tool to find whether file exist or not , if exist than job should send the message saying that " File Exist " else it should through "File doesnot Exist"
You just need to set the condition with the global variable which stores the return result of tFileExist, if exists: ((Boolean)globalMap.get("tFileExist_1_EXISTS")) if not exists: !((Boolean)globalMap.get("tFileExist_1_EXISTS"))
You just need to set the condition with the global variable which stores the return result of tFileExist, if exists: ((Boolean)globalMap.get("tFileExist_1_EXISTS")) if not exists: !((Boolean)globalMap.get("tFileExist_1_EXISTS"))