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

tSendMail malfuctioning

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
0683p000009MDZK.png
Labels (2)
25 Replies
Anonymous
Not applicable
Author

Hi,
How did you set tFileExist? Did you use dynamic file path in it?
Best regards
Sabrina
Anonymous
Not applicable
Author

Hi,
Here is the file path in the tFileExist.
Thanks,
fadh
0683p000009MDQ0.png
Anonymous
Not applicable
Author

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
Anonymous
Not applicable
Author

Hi Sabrina,
TQ so much for your concern.
Regards,
fadh
Anonymous
Not applicable
Author

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
Anonymous
Not applicable
Author

Hi Sabrina,
The output is still false.
Regards,
fadh
0683p000009MDXt.png
Anonymous
Not applicable
Author

hi Sabrina,
the above job is the new job that I have tested as what you have suggested.
Regards,
fadh
Anonymous
Not applicable
Author

Hi,
I am quite curious if that I can use dynamic file path. Is it possible to use any?
Regards,
fadh
Anonymous
Not applicable
Author

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
0683p000009MDVO.jpg
Anonymous
Not applicable
Author

Hi,
How do I call for a document with different name?and how do I check existence of the file in the tFileList?
regards,
fadh