<?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: Loop for job and output data usage in expression fields. in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Loop-for-job-and-output-data-usage-in-expression-fields/m-p/2345726#M113209</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;Sorry i want to mean tloop can't be itirate to twebservice.&lt;BR /&gt;I am using open talend studio data integration.Could it be related to this?&lt;/P&gt;&lt;P&gt;Edit:&lt;/P&gt;&lt;P&gt;When i try to itirate them, its not complete.I can't use itirate feature on tloop to twebservice.Because its not allowed.Open talend studio data integration not allow this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 24 Jul 2017 10:16:19 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-07-24T10:16:19Z</dc:date>
    <item>
      <title>Loop for job and output data usage in expression fields.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Loop-for-job-and-output-data-usage-in-expression-fields/m-p/2345722#M113205</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;I need to collect data from api.But its have&amp;nbsp;row limit.I want to mean&amp;nbsp;i can't collect all data in single operation.Its have pages and every page have row limit.I need to loop this job (totalpagecount) times for collect all data.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;TWebservice &amp;gt; TNormalize &amp;gt; TMap &amp;gt; TFileOutputExcel&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;1.&amp;nbsp;image : Current page value for input&lt;/P&gt; 
&lt;P&gt;2.&amp;nbsp;image : Current page and total page values for output&lt;/P&gt; 
&lt;P&gt;Requirements:&lt;/P&gt; 
&lt;P&gt;My job need to run&amp;nbsp;(Total Page Count) times.&lt;/P&gt; 
&lt;P&gt;currentpage value need to &amp;nbsp;increase in every one loop&lt;/P&gt; 
&lt;P&gt;Loop need to be stop ^^&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Example:&lt;/P&gt; 
&lt;P&gt;Input currentpage field will be start from 0.So its need to increase in every run.&lt;/P&gt; 
&lt;P&gt;Loop need to stop when currentpage = totalpagecount.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Loop run up to currentpage = totalpage&lt;/P&gt; 
&lt;P&gt;{&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;TWebservice &amp;gt; TNormalize &amp;gt; TMap &amp;gt; TFileOutputExcel&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;^&amp;lt;Tbufferoutput &amp;lt; (currentpage value???? with increasing every one loop)&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;How can i do it ?I hope for solution.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;One more question :&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;how can i use mysql queries in expression&amp;nbsp;fields ?I check this too much times but i can't found any topic.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Looking for help.&lt;/P&gt; 
&lt;P&gt;Thanks &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2017 08:16:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Loop-for-job-and-output-data-usage-in-expression-fields/m-p/2345722#M113205</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-24T08:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: Loop for job and output data usage in expression fields.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Loop-for-job-and-output-data-usage-in-expression-fields/m-p/2345723#M113206</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;First of all, get the value of total page and store it to a context variable, this variable will be the To value on tLoop component which is used to loop each page, eg:&lt;BR /&gt;twebserice1--main--tJavaRow&lt;BR /&gt; |&lt;BR /&gt;onsubjobok&lt;BR /&gt; |&lt;BR /&gt;tLoop1--iterate--tWebservice2--main....&lt;BR /&gt;&lt;BR /&gt;twebservice1: get the value of total page if this value comes from a webservice.&lt;BR /&gt;&lt;BR /&gt;twebservice2: pass the current page as input parameter with this expression:&lt;BR /&gt;((Integer)globalMap.get("tLoop_1_CURRENT_VALUE"))&lt;BR /&gt;&lt;BR /&gt;Why do you ask 'use mysql queries'? What value do you need to execute a query to get?&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Shong&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2017 08:26:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Loop-for-job-and-output-data-usage-in-expression-fields/m-p/2345723#M113206</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-24T08:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: Loop for job and output data usage in expression fields.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Loop-for-job-and-output-data-usage-in-expression-fields/m-p/2345724#M113207</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Thanks for this but i can't itirete tloop to twebservice.&lt;BR /&gt;Mysql queries for other jobs.Not important for now.</description>
      <pubDate>Mon, 24 Jul 2017 09:44:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Loop-for-job-and-output-data-usage-in-expression-fields/m-p/2345724#M113207</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-24T09:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: Loop for job and output data usage in expression fields.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Loop-for-job-and-output-data-usage-in-expression-fields/m-p/2345725#M113208</link>
      <description>Hi burakbb&lt;BR /&gt;What's the issue? Why you said you can't iterate tloop to twebservice? Maybe I don't understand your problem well? &lt;BR /&gt;</description>
      <pubDate>Mon, 24 Jul 2017 10:00:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Loop-for-job-and-output-data-usage-in-expression-fields/m-p/2345725#M113208</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-24T10:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: Loop for job and output data usage in expression fields.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Loop-for-job-and-output-data-usage-in-expression-fields/m-p/2345726#M113209</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;Sorry i want to mean tloop can't be itirate to twebservice.&lt;BR /&gt;I am using open talend studio data integration.Could it be related to this?&lt;/P&gt;&lt;P&gt;Edit:&lt;/P&gt;&lt;P&gt;When i try to itirate them, its not complete.I can't use itirate feature on tloop to twebservice.Because its not allowed.Open talend studio data integration not allow this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2017 10:16:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Loop-for-job-and-output-data-usage-in-expression-fields/m-p/2345726#M113209</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-24T10:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: Loop for job and output data usage in expression fields.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Loop-for-job-and-output-data-usage-in-expression-fields/m-p/2345727#M113210</link>
      <description>Hi 
&lt;BR /&gt;Just realize that twebservice don't accept an iterate link, need to redesign the job as below: 
&lt;BR /&gt;main job: 
&lt;BR /&gt;twebserice1--main--tJavaRow 
&lt;BR /&gt;| 
&lt;BR /&gt;onsubjobok 
&lt;BR /&gt;| 
&lt;BR /&gt;tLoop1--iterate--trunJob 
&lt;BR /&gt; 
&lt;BR /&gt;trunJob: call the child job and pass the current loop value to child job. To do it, select the context variable which is defined in child job from the Context param table on tRunjob, and set its value as: 
&lt;BR /&gt;((Integer)globalMap.get("tLoop_1_CURRENT_VALUE")) 
&lt;BR /&gt; 
&lt;BR /&gt;child job: 
&lt;BR /&gt;tWebservice2--main--tLogRow 
&lt;BR /&gt; 
&lt;BR /&gt;Define a context variable let's called it current_value with int type in the Context viewer. 
&lt;BR /&gt; 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Shong 
&lt;BR /&gt;</description>
      <pubDate>Tue, 25 Jul 2017 11:34:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Loop-for-job-and-output-data-usage-in-expression-fields/m-p/2345727#M113210</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-25T11:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: Loop for job and output data usage in expression fields.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Loop-for-job-and-output-data-usage-in-expression-fields/m-p/2345728#M113211</link>
      <description>&lt;P&gt;Hello Shong,&lt;BR /&gt;&lt;BR /&gt;Ty so much.Already i fix that but its more better.I will apply your design.(I used uneffected component(Trest) for itirete them ^^)&lt;BR /&gt;&lt;BR /&gt;But i am still not done.I need to put webservice_1 total page value to tloop_1 "To" field.I tried somethings but every time i got error.I can't set global variable in tjavarow.&lt;BR /&gt;&lt;BR /&gt;Can you help me for this ?&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LrxV"&gt;tjavarow.png&lt;/A&gt;</description>
      <pubDate>Tue, 25 Jul 2017 12:36:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Loop-for-job-and-output-data-usage-in-expression-fields/m-p/2345728#M113211</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-25T12:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: Loop for job and output data usage in expression fields.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Loop-for-job-and-output-data-usage-in-expression-fields/m-p/2345729#M113212</link>
      <description>What's the error message? To assign the page value to a context variable or global variable like this:
&lt;BR /&gt;context.page_value=input_row.columnName;
&lt;BR /&gt;//context variable page_value is defined as int type.
&lt;BR /&gt;Then, you can use this variable as To field: context.page_value
&lt;BR /&gt;
&lt;BR /&gt;Regards
&lt;BR /&gt;Shong
&lt;BR /&gt;</description>
      <pubDate>Tue, 25 Jul 2017 16:01:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Loop-for-job-and-output-data-usage-in-expression-fields/m-p/2345729#M113212</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-25T16:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: Loop for job and output data usage in expression fields.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Loop-for-job-and-output-data-usage-in-expression-fields/m-p/2345730#M113213</link>
      <description>&lt;P&gt;Thank you so much.Its done &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; Everything working correctly.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2017 03:04:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Loop-for-job-and-output-data-usage-in-expression-fields/m-p/2345730#M113213</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-26T03:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: Loop for job and output data usage in expression fields.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Loop-for-job-and-output-data-usage-in-expression-fields/m-p/2345731#M113214</link>
      <description>Great, thanks for your feedback!&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Jul 2017 03:07:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Loop-for-job-and-output-data-usage-in-expression-fields/m-p/2345731#M113214</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-26T03:07:33Z</dc:date>
    </item>
  </channel>
</rss>

