<?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 Using variable declared in tJava to  next componet in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-Using-variable-declared-in-tJava-to-next-componet/m-p/2264041#M44014</link>
    <description>&lt;P&gt;First&lt;/P&gt;&lt;P&gt;I run this job in linux environment, (.sh file)&lt;/P&gt;&lt;P&gt;but there isn't "D:/FTPTest "(tFileList) things in linux.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Second&lt;/P&gt;&lt;P&gt;as you said.. "Iterate" things between tFileList and tJava could be a problem&lt;/P&gt;&lt;P&gt;but there's a issue if "Iterate" is real problem.&lt;/P&gt;&lt;P&gt;I tested both "Iterate" and "onComponentOK" and Path that I wanted appear when only use "ComponentOK"&amp;nbsp;&lt;/P&gt;&lt;P&gt;ex)&lt;/P&gt;&lt;P&gt;use Iterate&lt;/P&gt;&lt;P&gt;"D:/FTPTest/NAVI"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;use onComponentOK&lt;/P&gt;&lt;P&gt;"D:/FTPTest/NAVI/Barnum"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and I want to below path.. so I used onComponentOK.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 20 May 2020 04:47:41 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-05-20T04:47:41Z</dc:date>
    <item>
      <title>How to Using variable declared in tJava to  next componet</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-Using-variable-declared-in-tJava-to-next-componet/m-p/2264036#M44009</link>
      <description>&lt;P&gt;I want to use variable declared in tJava, so I tried "tMap" and tSetGlobalVar.&lt;/P&gt; 
&lt;P&gt;But It doesn't work&lt;/P&gt; 
&lt;P&gt;I want to use location variable in tSystem&lt;/P&gt; 
&lt;P&gt;Thanks in advance&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tSys.JPG" style="width: 810px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MaAn.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149947i429C3D86DDABFC35/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MaAn.jpg" alt="0683p000009MaAn.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tJava.png" style="width: 834px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MaAs.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134398i008E5B6D3524AE44/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MaAs.png" alt="0683p000009MaAs.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:23:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-Using-variable-declared-in-tJava-to-next-componet/m-p/2264036#M44009</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T02:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to Using variable declared in tJava to  next componet</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-Using-variable-declared-in-tJava-to-next-componet/m-p/2264037#M44010</link>
      <description>Hi 
&lt;BR /&gt;If you want to call tSystem for each iteration, link tjava to tSystem using a OnComponentOK connector. 
&lt;BR /&gt;tFileList--iterate--tJava--Oncomponentok--tSystem. 
&lt;BR /&gt; 
&lt;BR /&gt;If you want to call tSystem after all iterations finishes, link tFileList to tSystem using OnsubjobOK connector. 
&lt;BR /&gt;tFileList--iterate--tJava 
&lt;BR /&gt;|Onsubjobok 
&lt;BR /&gt;tSystem. 
&lt;BR /&gt; 
&lt;BR /&gt;To declare a global variable and put value, use this expression: 
&lt;BR /&gt;globalMap.put("key",value); 
&lt;BR /&gt; 
&lt;BR /&gt;To get the value, use 
&lt;BR /&gt;(String)globalMap.get("key") 
&lt;BR /&gt;//for String type. 
&lt;BR /&gt; 
&lt;BR /&gt;Hope it helps you. 
&lt;BR /&gt; 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Shong 
&lt;BR /&gt;</description>
      <pubDate>Wed, 20 May 2020 03:33:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-Using-variable-declared-in-tJava-to-next-componet/m-p/2264037#M44010</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-20T03:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to Using variable declared in tJava to  next componet</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-Using-variable-declared-in-tJava-to-next-componet/m-p/2264038#M44011</link>
      <description>&lt;P&gt;Thanks for reply, but still doesn't work.&lt;/P&gt; 
&lt;P&gt;I set like your solution except "Iterate" between tFileList_1 and tJava becauseof&amp;nbsp; Path difference&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="q4.JPG" style="width: 788px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Ma98.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137044i7A747995E0600F06/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Ma98.jpg" alt="0683p000009Ma98.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="q3.JPG" style="width: 937px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MaAx.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153250iC647183FB1B7B2D3/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MaAx.jpg" alt="0683p000009MaAx.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="q2.JPG" style="width: 752px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MaAt.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134105iDFCFE2B413B7C9D9/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MaAt.jpg" alt="0683p000009MaAt.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Q1.JPG" style="width: 518px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Ma7G.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145056iDC1BD9F7CF498978/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Ma7G.jpg" alt="0683p000009Ma7G.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;This Error massage&lt;/P&gt; 
&lt;P&gt;&lt;BR /&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="q5.JPG" style="width: 698px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MaB2.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137099i8569753F048FD91A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MaB2.jpg" alt="0683p000009MaB2.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 03:56:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-Using-variable-declared-in-tJava-to-next-componet/m-p/2264038#M44011</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-20T03:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to Using variable declared in tJava to  next componet</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-Using-variable-declared-in-tJava-to-next-componet/m-p/2264039#M44012</link>
      <description>See the Qbicware.java 635 Line&lt;BR /&gt;"String dirName =((String)globalMap.get("tFileList_1_CURRENT_FILEPATH")).replace("\\", "/").substring(2);&lt;BR /&gt;System.out.println(dirName);&lt;BR /&gt;globalMap.put("dirName", dirName);&lt;BR /&gt;"&lt;BR /&gt;I think they can not call ther tFileList_CURRENT_FILEPATH..&lt;BR /&gt;is there another way to recognize it in tSystem?</description>
      <pubDate>Wed, 20 May 2020 04:05:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-Using-variable-declared-in-tJava-to-next-componet/m-p/2264039#M44012</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-20T04:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to Using variable declared in tJava to  next componet</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-Using-variable-declared-in-tJava-to-next-componet/m-p/2264040#M44013</link>
      <description>From the error, I see it is NPE on tJava, it is a design issue, the connector should be iterate rather than onComponnetOK from tFileList to tJava.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 20 May 2020 04:11:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-Using-variable-declared-in-tJava-to-next-componet/m-p/2264040#M44013</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-20T04:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to Using variable declared in tJava to  next componet</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-Using-variable-declared-in-tJava-to-next-componet/m-p/2264041#M44014</link>
      <description>&lt;P&gt;First&lt;/P&gt;&lt;P&gt;I run this job in linux environment, (.sh file)&lt;/P&gt;&lt;P&gt;but there isn't "D:/FTPTest "(tFileList) things in linux.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Second&lt;/P&gt;&lt;P&gt;as you said.. "Iterate" things between tFileList and tJava could be a problem&lt;/P&gt;&lt;P&gt;but there's a issue if "Iterate" is real problem.&lt;/P&gt;&lt;P&gt;I tested both "Iterate" and "onComponentOK" and Path that I wanted appear when only use "ComponentOK"&amp;nbsp;&lt;/P&gt;&lt;P&gt;ex)&lt;/P&gt;&lt;P&gt;use Iterate&lt;/P&gt;&lt;P&gt;"D:/FTPTest/NAVI"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;use onComponentOK&lt;/P&gt;&lt;P&gt;"D:/FTPTest/NAVI/Barnum"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and I want to below path.. so I used onComponentOK.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 04:47:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-Using-variable-declared-in-tJava-to-next-componet/m-p/2264041#M44014</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-20T04:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to Using variable declared in tJava to  next componet</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-Using-variable-declared-in-tJava-to-next-componet/m-p/2264042#M44015</link>
      <description>&lt;P&gt;If you want to iterate each file, you should use Iterate, it depends on your requirement. If you use onComponentOK, it only process the last file.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 06:51:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-Using-variable-declared-in-tJava-to-next-componet/m-p/2264042#M44015</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-20T06:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to Using variable declared in tJava to  next componet</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-Using-variable-declared-in-tJava-to-next-componet/m-p/2264043#M44016</link>
      <description>&lt;P&gt;when I running .sh file on server, I want to check the log.&lt;/P&gt; 
&lt;P&gt;is it okay&amp;nbsp; if&amp;nbsp; I link each component&amp;nbsp; to tWarn?&lt;/P&gt; 
&lt;P&gt;like this&amp;nbsp;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="554.JPG" style="width: 386px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MaBM.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151654iFEABBBA1E80C94F5/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MaBM.jpg" alt="0683p000009MaBM.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 09:43:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-Using-variable-declared-in-tJava-to-next-componet/m-p/2264043#M44016</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-20T09:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to Using variable declared in tJava to  next componet</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-Using-variable-declared-in-tJava-to-next-componet/m-p/2264044#M44017</link>
      <description>yes, you can link the components to a tWarn and customize the log messages if needed.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 20 May 2020 09:58:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-Using-variable-declared-in-tJava-to-next-componet/m-p/2264044#M44017</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-20T09:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to Using variable declared in tJava to  next componet</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-Using-variable-declared-in-tJava-to-next-componet/m-p/2264045#M44018</link>
      <description>&lt;P&gt;Thanks...&lt;/P&gt; 
&lt;P&gt;Last question&lt;/P&gt; 
&lt;P&gt;workflow is looks fine but can't insert it.&lt;/P&gt; 
&lt;P&gt;please let us know if you know&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2323.JPG" style="width: 609px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MaBR.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142728i7E9E3EC7E8B44D4F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MaBR.jpg" alt="0683p000009MaBR.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="122.JPG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Ma3A.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145993iB533F1D21F8B176C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Ma3A.jpg" alt="0683p000009Ma3A.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 10:13:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-Using-variable-declared-in-tJava-to-next-componet/m-p/2264045#M44018</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-20T10:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to Using variable declared in tJava to  next componet</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-Using-variable-declared-in-tJava-to-next-componet/m-p/2264046#M44019</link>
      <description>please describe your issue with more information,what data you want to insert and where? any error?
&lt;BR /&gt;</description>
      <pubDate>Wed, 20 May 2020 10:16:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-Using-variable-declared-in-tJava-to-next-componet/m-p/2264046#M44019</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-20T10:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to Using variable declared in tJava to  next componet</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-Using-variable-declared-in-tJava-to-next-componet/m-p/2264047#M44020</link>
      <description>&lt;P&gt;Sorry, for my poor question.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;and It was kind of mongoDB problem..I guess&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Because when I create a new mongoDB environment, after that It worked.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks again your reply.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 01:28:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-Using-variable-declared-in-tJava-to-next-componet/m-p/2264047#M44020</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-22T01:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to Using variable declared in tJava to  next componet</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-Using-variable-declared-in-tJava-to-next-componet/m-p/2264048#M44021</link>
      <description>great, thanks for your feedback!</description>
      <pubDate>Fri, 22 May 2020 01:36:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-Using-variable-declared-in-tJava-to-next-componet/m-p/2264048#M44021</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-22T01:36:56Z</dc:date>
    </item>
  </channel>
</rss>

