Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello community,
I have a TDBInput in which I will select FileName that I will store in a context and I will see if this FileName exists in a folder
If yes I will move the file.
My job is working but the problem is that it only selects one file.
Any solution ?
Run If is not part of flow , It will run only once.
tDBINPUT -- tFlowToItrate -- TfileExist -- runif[((Boolean)globalMap.get("tFileExist_1_EXISTS"))] -- tFileCopy
below link will help
https://help.talend.com/reader/q23BCE3W4MjloHD1RvMJ4A/g3tWtZMSyBup4eLk5HdOAg
I only have one context, I want that my job work dynamically with any number of iteration
for this example, i have two values of tFileName but the tFileCopy copy only one file
add the file patterns in the files option in tfilelist, i think you added the pattern , but once check the files, the name of the files may not be in same pattern, so try to add the pattern of files you have in the contexts
C'est Déjà marqué.
Somewhere in your job , You are have used unwanted " in your job.
Go to your Code Tab of job
, in the right side you will have something marked red ,
Click on That , you will reach to the actual error line. You will understand where it is not correct.
the result of run if is false but i'm sure it's not !