Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
My requirement is as follows -
Check file server folder at 10:00 AM every day. If no filename containing “TEST*.XML” is received in file server folder then send mail to an email id.
Can you please let me know how to develop it in Talend studio.
Regards
Hi Vijay
There is a component tFileExist, using this you can check whether the file exists in the folder or not. After tFileExist component link to tSendEmail component with the runif expression as
!((Boolean)globalMap.get("tFileExist_1_EXISTS")). Hope this should work.
Regards
Krishu
Hi,
Thanks for your reply. It works to check file available or not.
My requirement is to check whether any file came between 11:15 to 14:15 or not. If file did not come, then send the email. Can you suggest how to achieve this
Hi Vijay,
we can do this scenario in two ways.
One process is through TAC(Talend Administration Center) through triggers.
And another way is through "Task Scheduler " .
Please try any one process then you can have any idea to do it.
Thanks,
Jagan.
Hi Vijay,
You can create your job design like this...
Tfilelist------->titeratetoflow-------->tfileoutputdelimited
runif
Tsendmail
(In tsendmail component you have provide code in message box to get filename and in basic settings
you have change to plain text .)
Thanks,
Jagan.