<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Read file if file name contains in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Read-file-if-file-name-contains/m-p/2268099#M46771</link>
    <description>&lt;P&gt;If you mean using the filemask to only select certain files to be read? I need to process all the files but I need to process some differently depending on their structure (there is a reason why they are in the same folder). Wouldn't having multiple&amp;nbsp;tFileLists on the same folder open the possibilities of file locks?&lt;/P&gt;</description>
    <pubDate>Fri, 23 Nov 2018 10:45:04 GMT</pubDate>
    <dc:creator>mobmsc2</dc:creator>
    <dc:date>2018-11-23T10:45:04Z</dc:date>
    <item>
      <title>Read file if file name contains</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Read-file-if-file-name-contains/m-p/2268096#M46768</link>
      <description>&lt;P&gt;I have a folder of excel files, there is a common file naming scheme which indicates what schema should apply to the file.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am trying to use this Run If condition to connect the tFileList1 to an appropriate tFileInputExcel&lt;/P&gt; 
&lt;PRE&gt;((String)globalMap.get("tFileList_1_CURRENT_FILE")).contains("FileType1")&lt;/PRE&gt; 
&lt;P&gt;but the contents are not read, the if condition is returned false even though the filename contains the string.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have tried&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;tFileList ------tIterateToFlow --if- tFileInput&lt;/P&gt; 
&lt;P&gt;and&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;tFileList ---if--tFileInput&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Any ideas what I am doing wrong?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Nov 2018 10:41:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Read-file-if-file-name-contains/m-p/2268096#M46768</guid>
      <dc:creator>mobmsc2</dc:creator>
      <dc:date>2018-11-22T10:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: Read file if file name contains</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Read-file-if-file-name-contains/m-p/2268097#M46769</link>
      <description>&lt;P&gt;why You just not use filename pattern for tFileList?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;"*FileType1*"&lt;/PRE&gt;
&lt;P&gt;and then iterate over all matched files&lt;/P&gt;</description>
      <pubDate>Fri, 23 Nov 2018 02:54:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Read-file-if-file-name-contains/m-p/2268097#M46769</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2018-11-23T02:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: Read file if file name contains</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Read-file-if-file-name-contains/m-p/2268098#M46770</link>
      <description>&lt;P&gt;If you mean using the filemask to only select files to be read? I need to process all the files but I need to process some differently depending on their structure (there is a reason why they are in the same folder). Wouldn't having multiple&amp;nbsp;tFileLists on the same folder open the possibilities of file locks?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Nov 2018 10:44:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Read-file-if-file-name-contains/m-p/2268098#M46770</guid>
      <dc:creator>mobmsc2</dc:creator>
      <dc:date>2018-11-23T10:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: Read file if file name contains</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Read-file-if-file-name-contains/m-p/2268099#M46771</link>
      <description>&lt;P&gt;If you mean using the filemask to only select certain files to be read? I need to process all the files but I need to process some differently depending on their structure (there is a reason why they are in the same folder). Wouldn't having multiple&amp;nbsp;tFileLists on the same folder open the possibilities of file locks?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Nov 2018 10:45:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Read-file-if-file-name-contains/m-p/2268099#M46771</guid>
      <dc:creator>mobmsc2</dc:creator>
      <dc:date>2018-11-23T10:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: Read file if file name contains</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Read-file-if-file-name-contains/m-p/2268100#M46772</link>
      <description>&lt;P&gt;ok, in this case:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot from 2018-11-24 00-06-40.png" style="width: 961px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M1bV.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134211i90FDAB386919A94D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M1bV.png" alt="0683p000009M1bV.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;tJavaFlex - empty&lt;/P&gt; 
&lt;P&gt;RunIf - Your condition&lt;/P&gt; 
&lt;P&gt;tFixedFlowInput - replace with tExcelInput&lt;/P&gt;</description>
      <pubDate>Fri, 23 Nov 2018 11:08:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Read-file-if-file-name-contains/m-p/2268100#M46772</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2018-11-23T11:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: Read file if file name contains</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Read-file-if-file-name-contains/m-p/2268101#M46773</link>
      <description>&lt;P&gt;My 1st problem is that my If condition doesn't evaluate to True. Any advice how i debug that?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Nov 2018 11:38:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Read-file-if-file-name-contains/m-p/2268101#M46773</guid>
      <dc:creator>mobmsc2</dc:creator>
      <dc:date>2018-11-23T11:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: Read file if file name contains</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Read-file-if-file-name-contains/m-p/2268102#M46774</link>
      <description>&lt;P&gt;as you can see from screenshot - it work&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;so, check your condition and real filenames pattern,&lt;/P&gt;
&lt;P&gt;is it really contain&amp;nbsp;-&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;FileType1&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Nov 2018 11:44:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Read-file-if-file-name-contains/m-p/2268102#M46774</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2018-11-23T11:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: Read file if file name contains</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Read-file-if-file-name-contains/m-p/2268103#M46775</link>
      <description>&lt;P&gt;What is the purpose of the tJavaFlex? The run if works now (copied from my original process)&amp;nbsp; but I swear it doesn't if you have the tFileList ---RunIf--tFileInputExcel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Nov 2018 17:17:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Read-file-if-file-name-contains/m-p/2268103#M46775</guid>
      <dc:creator>mobmsc2</dc:creator>
      <dc:date>2018-11-23T17:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: Read file if file name contains</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Read-file-if-file-name-contains/m-p/2268104#M46776</link>
      <description>&lt;P&gt;just connection for iterate from tFileList&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;normally RunIf fire when component finish work, so on each iteration when empty tJavaFlex finish it zerro work it fire a trigger for each iteration, but not once when tFileList finish it work&lt;/P&gt;</description>
      <pubDate>Sat, 24 Nov 2018 01:39:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Read-file-if-file-name-contains/m-p/2268104#M46776</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2018-11-24T01:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: Read file if file name contains</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Read-file-if-file-name-contains/m-p/2268105#M46777</link>
      <description>&lt;P&gt;Can I ask a follow up how you could join (Unite) the flows into 1 flow once any custom processing had been completed?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2018 16:29:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Read-file-if-file-name-contains/m-p/2268105#M46777</guid>
      <dc:creator>mobmsc2</dc:creator>
      <dc:date>2018-11-26T16:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: Read file if file name contains</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Read-file-if-file-name-contains/m-p/2268106#M46778</link>
      <description>&lt;P&gt;if data not too big - you could use tHash&amp;nbsp;components for store intermediate result, if data big - better to store in local csv&amp;nbsp;(or staging tables)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;after this - create new subjob for read data from hash or csv/tables and combine them&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2018 22:37:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Read-file-if-file-name-contains/m-p/2268106#M46778</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2018-11-26T22:37:52Z</dc:date>
    </item>
  </channel>
</rss>

