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 do I call for a document with different name?and how do I check existence of the file in the tFileList?

What the "document" with different name looks like?
You can select check box "Generate Error if no file found" to generate an error message if no files or directories are found. Is it what you are looking for? If not, could you please elaborate an example with an example with input result and expected output result.
Best regards
Sabrina
Anonymous
Not applicable
Author

Hi,
It is an excel file of document. For example customer_2011.xlsx and the one is customer_2012.xlsx.
Can I know which one of the components that I can select the check box as what you have stated earlier?
Can I send an email notification if I select the check box of "Generate Error if no file found"?
Regards,
fadh
Anonymous
Not applicable
Author

Hi,

The option "Generate Error if no file found" exists in TalendHelpCenter:tFileList component.
Please have a look at my screenshots
Best regards
Sabrina
0683p000009MDSp.png 0683p000009MDZj.png
Anonymous
Not applicable
Author

Hi Sabrina,

Thank you for your suggestion. Your suggestion is very helpful.
By the way, I am just wondering what actually has happened when I used the IF expression which it did not work at all in TOS 5.3.1. Is it because of bug?
Regards,
fadh
Anonymous
Not applicable
Author

Hi,
I cannot repro this issue on Talend Open Studio 5.3.1. You'd better take a testing on another build version to see if it repro.(It seems "!" operator is not working for you?)
Best regards
Sabrina
Bhagwati1
Contributor II
Contributor II

Please ignore.