<?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: tSystem return value in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tSystem-return-value/m-p/2263370#M43537</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; I would recommend to use On SubJob Ok compared to On Component Ok as it will make sure that the flow is always linear without any surprises.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Warm Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Nikhil Thampi&lt;/P&gt;</description>
    <pubDate>Tue, 16 Oct 2018 13:36:05 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-10-16T13:36:05Z</dc:date>
    <item>
      <title>tSystem return value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSystem-return-value/m-p/2263366#M43533</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;We are trying to&amp;nbsp;overwrite context variable value (retrieved from config&amp;nbsp; text file) with return value of tSystem component.Following is design.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;tSystem -&amp;gt; tJavaRow&amp;nbsp; -&amp;gt; tJava1&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;We are able to print return value of tSystem&amp;nbsp;In tjavarow and able to overwrite context variable value with following code.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P align="left"&gt;&lt;FONT size="2"&gt;System.out.println(&lt;/FONT&gt;&lt;FONT color="#2a00ff" size="2"&gt;"value 1 :----"&lt;/FONT&gt;&lt;FONT size="2"&gt;+((String)globalMap.get(&lt;/FONT&gt;&lt;FONT color="#2a00ff" size="2"&gt;"tSystem_1_OUTPUT"&lt;/FONT&gt;&lt;FONT size="2"&gt;)));&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;FONT size="2"&gt;context.pct = (String)globalMap.get(&lt;/FONT&gt;&lt;FONT color="#2a00ff" size="2"&gt;"tSystem_1_OUTPUT"&lt;/FONT&gt;&lt;FONT size="2"&gt;);&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;FONT size="2"&gt;System.out.println(&lt;/FONT&gt;&lt;FONT color="#2a00ff" size="2"&gt;"context value print1... : "&lt;/FONT&gt;&lt;FONT size="2"&gt;+ context.pct);&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;So above two values are printing correctly .And it seems context variable value also overwritten.However when we print again same values in tJava component.We are getting NULL value for below first statement and second statement return old value (mentioned in text file)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P align="left"&gt;&lt;FONT size="2"&gt;System.out.println(&lt;/FONT&gt;&lt;FONT color="#2a00ff" size="2"&gt;"value 2 :----"&lt;/FONT&gt;&lt;FONT size="2"&gt;+((String)globalMap.get(&lt;/FONT&gt;&lt;FONT color="#2a00ff" size="2"&gt;"tSystem_1_OUTPUT"&lt;/FONT&gt;&lt;FONT size="2"&gt;)));&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT size="2"&gt;System.out.println(&lt;FONT color="#2a00ff" size="2"&gt;"context value print1... : "&lt;/FONT&gt;+ context.pct);&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;FONT size="2"&gt;Why context variable value is showing old value after changing in tjavarow component?&lt;/FONT&gt;&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; 
&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>Tue, 16 Oct 2018 12:34:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSystem-return-value/m-p/2263366#M43533</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-16T12:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: tSystem return value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSystem-return-value/m-p/2263367#M43534</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Could you please advise whether you are using On SubJob Ok or On Component Ok for linking the components? Could you please share the screen shot of the job?&lt;BR /&gt;&lt;BR /&gt;Warm Regards,&lt;BR /&gt;&lt;BR /&gt;Nikhil Thampi</description>
      <pubDate>Tue, 16 Oct 2018 12:49:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSystem-return-value/m-p/2263367#M43534</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-16T12:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: tSystem return value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSystem-return-value/m-p/2263368#M43535</link>
      <description>&lt;P&gt;All components are connected as row(main).As mentioned there are only three components&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tsystem - &amp;gt; tjavarow&amp;nbsp; -&amp;gt; tjava.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We cannot provide screenshot.please assist asap.&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>Tue, 16 Oct 2018 13:15:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSystem-return-value/m-p/2263368#M43535</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-16T13:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: tSystem return value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSystem-return-value/m-p/2263369#M43536</link>
      <description>&lt;P&gt;You can close this ... after changing component link from "row(main)" to "on component Ok" .it worked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vivek&lt;/P&gt;</description>
      <pubDate>Tue, 16 Oct 2018 13:33:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSystem-return-value/m-p/2263369#M43536</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-16T13:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: tSystem return value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSystem-return-value/m-p/2263370#M43537</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; I would recommend to use On SubJob Ok compared to On Component Ok as it will make sure that the flow is always linear without any surprises.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Warm Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Nikhil Thampi&lt;/P&gt;</description>
      <pubDate>Tue, 16 Oct 2018 13:36:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSystem-return-value/m-p/2263370#M43537</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-16T13:36:05Z</dc:date>
    </item>
  </channel>
</rss>

