<?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: How to filter out elements in a tHMap SimpleLoop in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-filter-out-elements-in-a-tHMap-SimpleLoop/m-p/2315446#M86101</link>
    <description>&lt;P&gt;In this video you will find examples:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=rC7O2-u9pGc" target="_self" rel="nofollow noopener noreferrer"&gt;https://www.youtube.com/watch?v=rC7O2-u9pGc&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 07 Jul 2017 07:51:55 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-07-07T07:51:55Z</dc:date>
    <item>
      <title>How to filter out elements in a tHMap SimpleLoop</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-filter-out-elements-in-a-tHMap-SimpleLoop/m-p/2315443#M86098</link>
      <description>&lt;P&gt;I'm fairly new to Talend. I have a Job that convert JSON to XML using a tHMap. In the mapper, under each JSON record I have an sub array of "providers" as input that output to&lt;BR /&gt;"xml_providers". I'm using a SimpleLoop to iterate over "providers" specified by a sort. All works ok so far.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The challenge is to not emit (or filter out) some of the "providers" based on certain criteria in a Java function:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public&amp;nbsp;static&amp;nbsp;boolean includeProvider(currentProviderInLoop, providers) {&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;some criteria returning a Boolean&amp;gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have looked at Filter -&amp;gt; isValid and ValidateGroup but nothing is working.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I couldn't find any working example or online (with images) on how to accomplish that.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2017 23:11:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-filter-out-elements-in-a-tHMap-SimpleLoop/m-p/2315443#M86098</guid>
      <dc:creator>kknoon</dc:creator>
      <dc:date>2017-07-05T23:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter out elements in a tHMap SimpleLoop</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-filter-out-elements-in-a-tHMap-SimpleLoop/m-p/2315444#M86099</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You could use the filter of your simple loop.&lt;/P&gt;&lt;P&gt;Eric&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2017 13:23:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-filter-out-elements-in-a-tHMap-SimpleLoop/m-p/2315444#M86099</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-06T13:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter out elements in a tHMap SimpleLoop</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-filter-out-elements-in-a-tHMap-SimpleLoop/m-p/2315445#M86100</link>
      <description>&lt;P&gt;That's what I've been trying to use. But isn't any good example anywhere, something with step by step screenshots.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2017 15:06:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-filter-out-elements-in-a-tHMap-SimpleLoop/m-p/2315445#M86100</guid>
      <dc:creator>kknoon</dc:creator>
      <dc:date>2017-07-06T15:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter out elements in a tHMap SimpleLoop</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-filter-out-elements-in-a-tHMap-SimpleLoop/m-p/2315446#M86101</link>
      <description>&lt;P&gt;In this video you will find examples:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=rC7O2-u9pGc" target="_self" rel="nofollow noopener noreferrer"&gt;https://www.youtube.com/watch?v=rC7O2-u9pGc&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2017 07:51:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-filter-out-elements-in-a-tHMap-SimpleLoop/m-p/2315446#M86101</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-07T07:51:55Z</dc:date>
    </item>
  </channel>
</rss>

