<?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 use global variable in runif condition in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/how-to-use-global-variable-in-runif-condition/m-p/2257523#M39592</link>
    <description>&lt;P&gt;I used the below line in runif and it worked:&lt;/P&gt;&lt;P&gt;!globalMap.get("globalvar").equals(2)&lt;/P&gt;</description>
    <pubDate>Thu, 19 Mar 2020 17:42:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-03-19T17:42:28Z</dc:date>
    <item>
      <title>how to use global variable in runif condition</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-use-global-variable-in-runif-condition/m-p/2257521#M39590</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt; 
&lt;P&gt;I have a challenge&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACs.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141919i6FF43AE03ADE78A1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACs.png" alt="0683p000009MACs.png" /&gt;&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;I have a task to check the count of Mysqlinput query is 2. If the count is 2 then only trigger the email, otherwise no need to trigger email.&lt;/P&gt; 
&lt;P&gt;Please find the screenshot of my job flow below:&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 830px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9lr.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128852i4B452240FB40ACFF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9lr.png" alt="0683p000009M9lr.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;I used to tjavarow to capture the out from tmap and store it in global varibale, see below:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9io.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/158252i5B525191C3B0480C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9io.png" alt="0683p000009M9io.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;How to check the global variable value for 2 in runif condition.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Please help me anyone as I am new to Talend.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:56:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-use-global-variable-in-runif-condition/m-p/2257521#M39590</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T02:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: how to use global variable in runif condition</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-use-global-variable-in-runif-condition/m-p/2257522#M39591</link>
      <description>&lt;P&gt;Here is the expression for the "If" trigger:&lt;/P&gt;
&lt;PRE&gt;((Integer)globalMap.get("tDBInput_1_NB_LINE")) == 2&lt;/PRE&gt;
&lt;P&gt;If you want to print the value:&lt;/P&gt;
&lt;PRE&gt;System.out.println("Value is " + ((Integer)globalMap.get("tDBInput_1_NB_LINE")));&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2020 15:37:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-use-global-variable-in-runif-condition/m-p/2257522#M39591</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2020-03-19T15:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: how to use global variable in runif condition</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-use-global-variable-in-runif-condition/m-p/2257523#M39592</link>
      <description>&lt;P&gt;I used the below line in runif and it worked:&lt;/P&gt;&lt;P&gt;!globalMap.get("globalvar").equals(2)&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2020 17:42:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-use-global-variable-in-runif-condition/m-p/2257523#M39592</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-19T17:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: how to use global variable in runif condition</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-use-global-variable-in-runif-condition/m-p/2257524#M39593</link>
      <description>&lt;P&gt;Did you try for an input table with just 2 lines?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2020 18:29:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-use-global-variable-in-runif-condition/m-p/2257524#M39593</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2020-03-19T18:29:56Z</dc:date>
    </item>
  </channel>
</rss>

