Hai,
I have a job that extract data from tFileList.
Using tFileExist, I am checking the existing of the file.
If there is no file exist in the tFileList, I have to sent notification using tSendMail.
Using the expression of , an email will be sent to the target email address.
In my case, I have tested to put a file in the tFileList. Logically, an email would not be sent to the targeted email address. Unfortunately, it happens the other way round. Do you know why is the email is sent to the email address even there is a file in the tfileList?
Any suggestion are appreciated.
Thanks,
fadh
Hi, From your screenshot, I don't find any error. I will make a testing on talend open studio 5.3.1 to see if this issue repro then come back to you as soon as we can. Best regards Sabrina
Hi,
I have made a testing on Talend Open Studio 5.3.1. It is OK with me. Could you please restart your studio then re-create a new job for your requirement to see if everything is going well?(you can just create a demo job for testing:tFileExist-->RunIf-->tSendMail).
Best regards
Sabrina
Hi Fadh,
I am not sure where is the problem,
In tFilelist you can't use dynamic path, it is the start component, you have to set the path...
Pl check the screenshot which checks Users.csv file and if the file is not available it won't send the mail.
I think you can identify the problem in your job now?
Thanks
Vaibhav