<?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: Check for null value tMap in tJavaRow to end tLoop in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Check-for-null-value-tMap-in-tJavaRow-to-end-tLoop/m-p/2268807#M47260</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Sabrina&lt;/SPAN&gt;,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks for replying on my question.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Since I have posted my question I have been busy finding out a solution. And I found it. Every time I retrieve the data from the webservice, I request 10.000 rows. Now I just count in tJavaFlex1 if I have received 10.000 rows.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Now it looks like this . . . .&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="Talend1.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M2Px.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/140721i0EDF4EBF9CA3B87A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M2Px.png" alt="0683p000009M2Px.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;and it works !&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks again for replying.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Jacco&lt;/P&gt;</description>
    <pubDate>Thu, 24 Jan 2019 09:47:33 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-01-24T09:47:33Z</dc:date>
    <item>
      <title>Check for null value tMap in tJavaRow to end tLoop</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Check-for-null-value-tMap-in-tJavaRow-to-end-tLoop/m-p/2268805#M47258</link>
      <description>&lt;P&gt;&amp;nbsp;Hi there,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have a flow as show here below. First I query a table which holds a list of parameters. These parameters are used in the loop. This loop sends out soap requests to a webservice to retrieve data.&lt;/P&gt; 
&lt;P&gt;This all works fine.&lt;/P&gt; 
&lt;P&gt;I want to end the tLoop with the code : if ( input_row.Medewerker.isEmpty() )&amp;nbsp;&amp;nbsp;&amp;nbsp; globalMap.put("done", true) ; which is in component tJavaRow_1. This is because I don't know on forehand how many rows the webservice call will deliver.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;But somehow this doesn't work. I can stop de tLoop_1 is I check on a real value that is containt in the input_row.Medewerker field. But I want it to stop when there is no more data in de input_row.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;What am I doing wrong ??&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks in advance&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&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="TalendFlow.png" style="width: 811px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M2Ag.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152670i2DD4C2281F312B50/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M2Ag.png" alt="0683p000009M2Ag.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jan 2019 08:15:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Check-for-null-value-tMap-in-tJavaRow-to-end-tLoop/m-p/2268805#M47258</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-03T08:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: Check for null value tMap in tJavaRow to end tLoop</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Check-for-null-value-tMap-in-tJavaRow-to-end-tLoop/m-p/2268806#M47259</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Have you tried to use RunIf trigger instead of Iterate connection type to &lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #444444; font-family: 'source sans pro',sans-serif; font-size: 15.33px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;trigger your tLoop component in case the condition defined is met?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #444444; font-family: 'source sans pro',sans-serif; font-size: 15.33px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;Best regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #444444; font-family: 'source sans pro',sans-serif; font-size: 15.33px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;Sabrina&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 09:17:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Check-for-null-value-tMap-in-tJavaRow-to-end-tLoop/m-p/2268806#M47259</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-24T09:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: Check for null value tMap in tJavaRow to end tLoop</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Check-for-null-value-tMap-in-tJavaRow-to-end-tLoop/m-p/2268807#M47260</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Sabrina&lt;/SPAN&gt;,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks for replying on my question.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Since I have posted my question I have been busy finding out a solution. And I found it. Every time I retrieve the data from the webservice, I request 10.000 rows. Now I just count in tJavaFlex1 if I have received 10.000 rows.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Now it looks like this . . . .&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="Talend1.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M2Px.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/140721i0EDF4EBF9CA3B87A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M2Px.png" alt="0683p000009M2Px.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;and it works !&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks again for replying.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Jacco&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 09:47:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Check-for-null-value-tMap-in-tJavaRow-to-end-tLoop/m-p/2268807#M47260</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-24T09:47:33Z</dc:date>
    </item>
  </channel>
</rss>

