Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi, I have the above job, the component ListSourceFolder is a tfilelist, the filemask of this component retrieves files from a folder this folder contains this files: File1.txt, File2.txt, File3.txt and File4.txt.
I have a context variable "cVariable".
When I run the job, if cVariable contains the value 'y' then the ListSourceFolder retrieves the following files : File1.txt, File2.txt, File3.txt.
If cVariable contains the values 'n' the the ListSourceFolder retrieves File4.txt, File2.txt, File3.txt.
How can I do this without having to duplicate all the section "Transfer file from source folder to Input folder" that you see in the above image? I'm using and older version of talend: 3.1