<?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: While condition on tLoop with context variables in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/While-condition-on-tLoop-with-context-variables/m-p/2364393#M128136</link>
    <description>I can't see what you loop says...
&lt;BR /&gt;You're incrementing page_number but say "user count side is &amp;gt;= page size"...it sounds a bit back to front...
&lt;BR /&gt;I'd select the code tab in the design window so that you can actually see the while loop that has been constructed.
&lt;BR /&gt;Maybe things will become clearer. Post that piece of code.</description>
    <pubDate>Tue, 20 Aug 2013 21:49:27 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-08-20T21:49:27Z</dc:date>
    <item>
      <title>While condition on tLoop with context variables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/While-condition-on-tLoop-with-context-variables/m-p/2364389#M128132</link>
      <description>I am creating a job that needs to run a subjob if a specific condition exists between two context variable. Basically, if context.local_user_count &amp;gt;= context.local_page_size, then I need the subjob to get called. 
&lt;BR /&gt;This is my first attempt using a tLoop like this. I am newer to Talend and need some help on how to set the parameters for the loop condition. I have tried a few things but nothing has worked. 
&lt;BR /&gt;I will attach an image of the job and the tLoop settings. 
&lt;BR /&gt; 
&lt;BR /&gt;Thank you 
&lt;BR /&gt;Amy McGreal 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAWM.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154951i4C7EC907E804B6F3/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAWM.png" alt="0683p000009MAWM.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAtN.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145562i184DE3974B2487A2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAtN.png" alt="0683p000009MAtN.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Fri, 16 Aug 2013 17:30:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/While-condition-on-tLoop-with-context-variables/m-p/2364389#M128132</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-16T17:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: While condition on tLoop with context variables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/While-condition-on-tLoop-with-context-variables/m-p/2364390#M128133</link>
      <description>I think you need a little more explanation of the problem.
&lt;BR /&gt;You've said "&amp;gt;=" but your screen shot is "&amp;lt;=".
&lt;BR /&gt;So you're modifying one or both of these variables in your tJava?</description>
      <pubDate>Sat, 17 Aug 2013 08:14:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/While-condition-on-tLoop-with-context-variables/m-p/2364390#M128133</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-17T08:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: While condition on tLoop with context variables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/While-condition-on-tLoop-with-context-variables/m-p/2364391#M128134</link>
      <description>I had been testing a few things and grabbed the screen shot with the wrong condition. I actually want to have it run if the user count side is &amp;gt;= page size. Then I have more data to pull.</description>
      <pubDate>Tue, 20 Aug 2013 19:21:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/While-condition-on-tLoop-with-context-variables/m-p/2364391#M128134</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-20T19:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: While condition on tLoop with context variables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/While-condition-on-tLoop-with-context-variables/m-p/2364392#M128135</link>
      <description>Attached is the code for the tJava. I increment the page number each time the subjob is called with a subjob value that is passed back. I have also attached the overall job. 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAbp.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146667i0339190A2CDAF1BC/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAbp.png" alt="0683p000009MAbp.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAtS.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129603i3DD82C4E599F1629/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAtS.png" alt="0683p000009MAtS.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Tue, 20 Aug 2013 19:26:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/While-condition-on-tLoop-with-context-variables/m-p/2364392#M128135</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-20T19:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: While condition on tLoop with context variables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/While-condition-on-tLoop-with-context-variables/m-p/2364393#M128136</link>
      <description>I can't see what you loop says...
&lt;BR /&gt;You're incrementing page_number but say "user count side is &amp;gt;= page size"...it sounds a bit back to front...
&lt;BR /&gt;I'd select the code tab in the design window so that you can actually see the while loop that has been constructed.
&lt;BR /&gt;Maybe things will become clearer. Post that piece of code.</description>
      <pubDate>Tue, 20 Aug 2013 21:49:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/While-condition-on-tLoop-with-context-variables/m-p/2364393#M128136</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-20T21:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: While condition on tLoop with context variables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/While-condition-on-tLoop-with-context-variables/m-p/2364394#M128137</link>
      <description>I was able to get it figured out.  I'm very new to using many of these operators and know little about java so I apologize if my post was confusing.  Thank you for trying.</description>
      <pubDate>Tue, 20 Aug 2013 21:53:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/While-condition-on-tLoop-with-context-variables/m-p/2364394#M128137</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-20T21:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: While condition on tLoop with context variables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/While-condition-on-tLoop-with-context-variables/m-p/2364395#M128138</link>
      <description>Hi,&lt;BR /&gt;  I am trying to achieve similar what you were trying to. Can you post the solution?</description>
      <pubDate>Wed, 18 Sep 2013 23:58:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/While-condition-on-tLoop-with-context-variables/m-p/2364395#M128138</guid>
      <dc:creator>anut</dc:creator>
      <dc:date>2013-09-18T23:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: While condition on tLoop with context variables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/While-condition-on-tLoop-with-context-variables/m-p/2364396#M128139</link>
      <description>Hey I'm able to use the tLoop without any issue...&lt;BR /&gt;Thanks&lt;BR /&gt;Sreenivasa</description>
      <pubDate>Thu, 25 Sep 2014 14:25:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/While-condition-on-tLoop-with-context-variables/m-p/2364396#M128139</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-25T14:25:29Z</dc:date>
    </item>
  </channel>
</rss>

