<?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 tSystem in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tSystem/m-p/2356055#M121670</link>
    <description>&lt;P&gt;I am using tSystem to run a Python script.&lt;/P&gt; 
&lt;P&gt;I am trying to use tSystem_1_EXIT_VALUE to know if the script was able to run. In the Python script, i have added a divided by zero which makes the script fails. On the console, I see the error output. I have tried to print the result by using tJavaRow (&amp;nbsp; &amp;nbsp;System.out.println(((Integer)globalMap.get(&lt;SPAN class="s1"&gt;"tSystem_1_EXIT_VALUE"&lt;/SPAN&gt;)));&amp;nbsp; &amp;nbsp; ) but I always get null!&lt;/P&gt; 
&lt;P&gt;I want to do a RunIf with the boolean output of EXIT_VALUE.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;PS In tSystem, I did set up the output to both Console and Global Variable.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks in advance &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; 
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 05:38:51 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T05:38:51Z</dc:date>
    <item>
      <title>tSystem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSystem/m-p/2356055#M121670</link>
      <description>&lt;P&gt;I am using tSystem to run a Python script.&lt;/P&gt; 
&lt;P&gt;I am trying to use tSystem_1_EXIT_VALUE to know if the script was able to run. In the Python script, i have added a divided by zero which makes the script fails. On the console, I see the error output. I have tried to print the result by using tJavaRow (&amp;nbsp; &amp;nbsp;System.out.println(((Integer)globalMap.get(&lt;SPAN class="s1"&gt;"tSystem_1_EXIT_VALUE"&lt;/SPAN&gt;)));&amp;nbsp; &amp;nbsp; ) but I always get null!&lt;/P&gt; 
&lt;P&gt;I want to do a RunIf with the boolean output of EXIT_VALUE.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;PS In tSystem, I did set up the output to both Console and Global Variable.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks in advance &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; 
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:38:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSystem/m-p/2356055#M121670</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T05:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: tSystem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSystem/m-p/2356056#M121671</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tSYstem EXIT VALUE is an after variable an tJavaRow is used in Flow manner. Therefore you will always have null when you print in tJavaRow. Use tSystem -&amp;gt;runIf(true)-&amp;gt;tJava and then Sysout to print the EXIT_VALUE.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Subhadip&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2019 15:38:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSystem/m-p/2356056#M121671</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-06T15:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: tSystem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSystem/m-p/2356057#M121672</link>
      <description>&lt;P&gt;Thank&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LPZoAAO" target="_self"&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;You mean straight from tSystem to do a RunIf with&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;EM&gt;((Integer)globalMap.get(&lt;SPAN class="s1"&gt;"tSystem_1_EXIT_VALUE"&lt;/SPAN&gt;))==1&lt;/EM&gt;&lt;/P&gt;
&lt;P class="p1"&gt;I tried but the condition disappears from the If.&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;Basically, I want to use tSendMail to send an email if the script fails.&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2019 15:44:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSystem/m-p/2356057#M121672</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-06T15:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: tSystem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSystem/m-p/2356058#M121673</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;use like this :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tSystem -&amp;gt; Run IF (condition is : "true") -&amp;gt; tJava -&amp;gt; Run If (Condition is :&amp;nbsp;&lt;EM&gt;((Integer)globalMap.get(&lt;SPAN class="s1"&gt;"tSystem_1_EXIT_VALUE"&lt;/SPAN&gt;))==1) -&amp;gt; &lt;/EM&gt;tSendMail&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Subhadip&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2019 15:54:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSystem/m-p/2356058#M121673</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-06T15:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: tSystem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSystem/m-p/2356059#M121674</link>
      <description>&lt;P&gt;I am not able to do a RunIf on the tJavaRow, I get the 'not' sign. But then again do I really need it? I was just using it for debug purpose.&lt;/P&gt;
&lt;P&gt;When I do the RunIf from tSystem to tSendEmail, I get an error, I am not able to save the condition.&lt;/P&gt;
&lt;P&gt;Is it because I need to declare the variable in tSystem? I didn't do anything since it was a global variable in the description of tSystem.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2019 16:05:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSystem/m-p/2356059#M121674</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-06T16:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: tSystem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSystem/m-p/2356060#M121675</link>
      <description>&lt;P&gt;Hi sboivin,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Do not use tJavaRow, use tJava.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have provided the flow below, please follow as directed.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;tSystem -&amp;gt; Run IF (condition is : "true") -&amp;gt; tJava -&amp;gt; Run If (Condition is :&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;((Integer)globalMap.get(&lt;SPAN class="s1"&gt;"tSystem_1_EXIT_VALUE"&lt;/SPAN&gt;))==1) -&amp;gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN&gt;tSendMail&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture1.JPG" style="width: 553px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M5QH.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151200i36A66CC57CA8267A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M5QH.jpg" alt="0683p000009M5QH.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture2.JPG" style="width: 580px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M5NN.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153094iD9E313715DD81188/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M5NN.jpg" alt="0683p000009M5NN.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture3.JPG" style="width: 596px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M5RP.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133200i831808C267456C9B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M5RP.jpg" alt="0683p000009M5RP.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Thanks and regards,&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Subhadip&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2019 16:11:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSystem/m-p/2356060#M121675</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-06T16:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: tSystem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSystem/m-p/2356061#M121676</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;SPAN&gt;Subhadip, it works &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;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;I didn't see the tJava previously! Thanks for your help.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2019 16:20:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSystem/m-p/2356061#M121676</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-06T16:20:47Z</dc:date>
    </item>
  </channel>
</rss>

