<?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: [resolved] How to route data to different targets based on conditions in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-route-data-to-different-targets-based-on/m-p/2302928#M74863</link>
    <description>I also tried it but not giving output as desired. Simply i am reading data from xml file in which i have field Flag and value (Yes or No). I want to load Yes records to one target and No to another target. In tMap component i am giving simple codition like 
&lt;BR /&gt;row1.flag=="Yes" for one target
&lt;BR /&gt;row1.flag=="No" to another target
&lt;BR /&gt;But none of the target is populated. Eventhough I have kept filter expression Activated.
&lt;BR /&gt;Pls help.</description>
    <pubDate>Mon, 11 Mar 2013 07:55:19 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-03-11T07:55:19Z</dc:date>
    <item>
      <title>[resolved] How to route data to different targets based on conditions</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-route-data-to-different-targets-based-on/m-p/2302926#M74861</link>
      <description>Hi,&lt;BR /&gt;Please let me know component name used to divide source data based on given conditions. For example if I have 10 ids in source so I want to route 5 ids to one flow and 5 to another flow based on filter conditions. Means how to route data to different flows based on given condition,&lt;BR /&gt;Thanks,</description>
      <pubDate>Sat, 16 Nov 2024 12:05:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-route-data-to-different-targets-based-on/m-p/2302926#M74861</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to route data to different targets based on conditions</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-route-data-to-different-targets-based-on/m-p/2302927#M74862</link>
      <description>Hi inabi,
&lt;BR /&gt;U can use tMap component to route he data to different flows based on the conditions. On the target side , there is expression filter ( Activate/Unactivate Expression filter). U can give ur condition here on every target flow.
&lt;BR /&gt;
&lt;BR /&gt;Hope this would be helpful to u.
&lt;BR /&gt;Thnx,
&lt;BR /&gt;Saty.</description>
      <pubDate>Mon, 11 Mar 2013 07:12:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-route-data-to-different-targets-based-on/m-p/2302927#M74862</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-11T07:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to route data to different targets based on conditions</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-route-data-to-different-targets-based-on/m-p/2302928#M74863</link>
      <description>I also tried it but not giving output as desired. Simply i am reading data from xml file in which i have field Flag and value (Yes or No). I want to load Yes records to one target and No to another target. In tMap component i am giving simple codition like 
&lt;BR /&gt;row1.flag=="Yes" for one target
&lt;BR /&gt;row1.flag=="No" to another target
&lt;BR /&gt;But none of the target is populated. Eventhough I have kept filter expression Activated.
&lt;BR /&gt;Pls help.</description>
      <pubDate>Mon, 11 Mar 2013 07:55:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-route-data-to-different-targets-based-on/m-p/2302928#M74863</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-11T07:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to route data to different targets based on conditions</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-route-data-to-different-targets-based-on/m-p/2302929#M74864</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;I also tried it but not giving output as desired. Simply i am reading data from xml file in which i have field Flag and value (Yes or No). I want to load Yes records to one target and No to another target. In tMap component i am giving simple codition like &lt;BR /&gt;row1.flag=="Yes" for one target&lt;BR /&gt;row1.flag=="No" to another target&lt;BR /&gt;But none of the target is populated. Eventhough I have kept filter expression Activated.&lt;BR /&gt;Pls help.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;If the datatype is String, you should use the method row1.flag.equals("yes") instead of row1.flag=="Yes". 
&lt;BR /&gt;Shong</description>
      <pubDate>Mon, 11 Mar 2013 08:01:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-route-data-to-different-targets-based-on/m-p/2302929#M74864</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-11T08:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to route data to different targets based on conditions</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-route-data-to-different-targets-based-on/m-p/2302930#M74865</link>
      <description>"yes".equals(row1.flag) is another option 
&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;BR /&gt;I prefer this way, because it avoids an exception if row1.flag was null 
&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;BR /&gt;Regards, 
&lt;BR /&gt;Olivier</description>
      <pubDate>Mon, 11 Mar 2013 15:02:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-route-data-to-different-targets-based-on/m-p/2302930#M74865</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-11T15:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to route data to different targets based on conditions</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-route-data-to-different-targets-based-on/m-p/2302931#M74866</link>
      <description>Thanks to all</description>
      <pubDate>Tue, 12 Mar 2013 07:52:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-route-data-to-different-targets-based-on/m-p/2302931#M74866</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-12T07:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to route data to different targets based on conditions</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-route-data-to-different-targets-based-on/m-p/2302932#M74867</link>
      <description>Hi all,will anybody tell me how can we get cumulative salary result</description>
      <pubDate>Thu, 26 Nov 2015 10:51:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-route-data-to-different-targets-based-on/m-p/2302932#M74867</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-26T10:51:27Z</dc:date>
    </item>
  </channel>
</rss>

