Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I want to check existance of a file based upon which One of my Child Job will trigger. I have already done with tfileexist giving location of the file. Now I want to keep checking in that location untill and unless that file is available and it will be in loop upto file is available.So basically it will be in an infinite loop. I have placed one tloop where I am placing the condition in while Loop like
i=1,
!((boolean)globalMap.get(tfile_exists)) =Condition
i++
But the problem is the loop is not working. I have attached my Job screenshot.
@abhi90 in this scenario,tWaitForFile will be usefull,please check.
@abhi90 in this scenario,tWaitForFile will be usefull,please check.
please try to implement in this way
https://help.talend.com/reader/iYcvdknuprDzYycT3WRU8w/ENb3YdCeu2TceECJ7RAnTg
Hi @manodwhb,
Your solution worked perfectly. But one thing I did was I kept Exit Loop once File will be created. So untill and unless it was gettting file it was iterating in the directory. Marking the psot as Solved . Thanks a lotttttt