<?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: Reg. data compare and conditional flow in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Reg-data-compare-and-conditional-flow/m-p/2295692#M68438</link>
    <description>&lt;P&gt;That's cool.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Please test this with more number of records in the file.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Please mark my previous comment as solution and give Kudos where ever necessary&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Cheers!&lt;/P&gt; 
&lt;P&gt;Gatha&lt;/P&gt;</description>
    <pubDate>Mon, 26 Jun 2017 13:38:58 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-06-26T13:38:58Z</dc:date>
    <item>
      <title>Reg. data compare and conditional flow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reg-data-compare-and-conditional-flow/m-p/2295685#M68431</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have below scenario, I want to compare the output of tUniqueRow and accordingly either run A or B. Any suggestion how should I go about it.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Brgds,&lt;/P&gt; 
&lt;P&gt;Sudhir&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ConditionalFlow.png" style="width: 819px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LvCO.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134069i809C08A998292B8A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LvCO.png" alt="0683p000009LvCO.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2017 07:54:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reg-data-compare-and-conditional-flow/m-p/2295685#M68431</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-26T07:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: Reg. data compare and conditional flow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reg-data-compare-and-conditional-flow/m-p/2295686#M68432</link>
      <description>Hello 
&lt;BR /&gt;Basically, we will use runIf connector to fire a subjob base on a condition, but now I don't know what your data comparison logic. Please give us some example data out of tUniqRow1 and tUniqRow2 to explain your logic. 
&lt;BR /&gt; 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Mon, 26 Jun 2017 08:53:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reg-data-compare-and-conditional-flow/m-p/2295686#M68432</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-26T08:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: Reg. data compare and conditional flow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reg-data-compare-and-conditional-flow/m-p/2295687#M68433</link>
      <description>I need to get count of rows in both tUnique and compare it, if both count&lt;BR /&gt;matches it should trigger A or else B&lt;BR /&gt;</description>
      <pubDate>Mon, 26 Jun 2017 08:58:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reg-data-compare-and-conditional-flow/m-p/2295687#M68433</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-26T08:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: Reg. data compare and conditional flow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reg-data-compare-and-conditional-flow/m-p/2295688#M68434</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;HR /&gt; 
 &lt;A href="https://community.qlik.com/s/profile/00539000004XsnJAAS"&gt;@shong&lt;/A&gt; wrote: 
 &lt;BR /&gt;Hello 
 &lt;BR /&gt;Basically, we will use runIf connector to fire a subjob base on a condition, but now I don't know what your data comparison logic. Please give us some example data out of tUniqRow1 and tUniqRow2 to explain your logic. 
 &lt;BR /&gt; 
 &lt;BR /&gt;Regards 
 &lt;BR /&gt;Shong 
 &lt;HR /&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;P&gt;something like this, though I am not sure if this is the best way to implement this. If you can let me know how to compare o/p of two tfilerowcounts&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ConditionalFlow.png" style="width: 819px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LvCY.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/127835i274F5BC10D672A90/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LvCY.png" alt="0683p000009LvCY.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2017 09:52:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reg-data-compare-and-conditional-flow/m-p/2295688#M68434</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-26T09:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: Reg. data compare and conditional flow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reg-data-compare-and-conditional-flow/m-p/2295689#M68435</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;tfilecount is not necessary as the tuniquerow&amp;nbsp;gives you the number of unique rows by a global variable.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am able to see a tfilelist&amp;nbsp;component at the front.&lt;/P&gt; 
&lt;P&gt;Are you going to use multiple files?&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;If just one file it is simple.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;1. Create a tjava&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;2. Take a subjob&amp;nbsp;ok from tfilelist&amp;nbsp;component and connect to tjava. Nothing required inside tjava&lt;/P&gt; 
&lt;P&gt;3. From tjava&amp;nbsp;create 2 runif&amp;nbsp;connector and connect to process a and b&lt;/P&gt; 
&lt;P&gt;4.&amp;nbsp;((Integer)globalMap.get("tUniqRow_1_NB_UNIQUES")) &amp;nbsp;and &lt;SPAN&gt;((Integer)globalMap.get("tUniqRow_2_NB_UNIQUES"))&lt;/SPAN&gt;is the global variable to get the unique number of rows &amp;nbsp;from both the filters&lt;/P&gt; 
&lt;P&gt;5. each run if you can use the above variables to do a comparison&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;For multiple files, I am still thinking how we can go about it. give it a try by following&amp;nbsp;all steps above and taking componentok from tfileinput delimited.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Cheers!&lt;BR /&gt;Gatha&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2017 10:40:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reg-data-compare-and-conditional-flow/m-p/2295689#M68435</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-26T10:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: Reg. data compare and conditional flow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reg-data-compare-and-conditional-flow/m-p/2295690#M68436</link>
      <description>&lt;P&gt;Thanks, I will try this option.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2017 11:12:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reg-data-compare-and-conditional-flow/m-p/2295690#M68436</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-26T11:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: Reg. data compare and conditional flow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reg-data-compare-and-conditional-flow/m-p/2295691#M68437</link>
      <description>&lt;P&gt;Thanks Gatha ! I could do it and its working for multiple files too. Have a look.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ConditionalFlow.png" style="width: 965px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lv75.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146780i9BECC9984C0DFE70/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lv75.png" alt="0683p000009Lv75.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2017 13:36:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reg-data-compare-and-conditional-flow/m-p/2295691#M68437</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-26T13:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: Reg. data compare and conditional flow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reg-data-compare-and-conditional-flow/m-p/2295692#M68438</link>
      <description>&lt;P&gt;That's cool.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Please test this with more number of records in the file.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Please mark my previous comment as solution and give Kudos where ever necessary&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Cheers!&lt;/P&gt; 
&lt;P&gt;Gatha&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2017 13:38:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reg-data-compare-and-conditional-flow/m-p/2295692#M68438</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-26T13:38:58Z</dc:date>
    </item>
  </channel>
</rss>

