<?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 put a conditional check on data flow/row connector in TOS job? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-put-a-conditional-check-on-data-flow-row-connector-in-TOS/m-p/2338146#M106414</link>
    <description>Hi&amp;nbsp;&lt;BR /&gt;The main problem now is how to the check the message is for which table? Is there any indentify code to distinguish the message type? Ideally, read the message and parse it, use runIf link to fire corresponding child job based on the message type.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;</description>
    <pubDate>Fri, 05 Feb 2016 06:52:44 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-02-05T06:52:44Z</dc:date>
    <item>
      <title>How to put a conditional check on data flow/row connector in TOS job?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-put-a-conditional-check-on-data-flow-row-connector-in-TOS/m-p/2338143#M106411</link>
      <description>&lt;P&gt;Hi Team,&lt;BR /&gt;&lt;BR /&gt;In a job, say data is flowing from tFilterRow to tFlowToIterate component, then how can i put a condition ON THE DATA FLOW OR ROW CONNECTOR to check ( if rowcount &amp;gt; 0) then only pass data to tFlowToIterate otherwise stop the process.&lt;BR /&gt;&lt;BR /&gt;Thanks for your help and time!&lt;BR /&gt;&lt;BR /&gt;Rera&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 10:49:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-put-a-conditional-check-on-data-flow-row-connector-in-TOS/m-p/2338143#M106411</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T10:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to put a conditional check on data flow/row connector in TOS job?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-put-a-conditional-check-on-data-flow-row-connector-in-TOS/m-p/2338144#M106412</link>
      <description>The components linked from tFlowToiterate will not work if no rows. What's your data source? Usually, &amp;nbsp;there is a global variable that counts the total number of lines are read from the data source, you can use this global variable to check if it need to continue to process next subjob.&amp;nbsp;</description>
      <pubDate>Fri, 05 Feb 2016 02:58:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-put-a-conditional-check-on-data-flow-row-connector-in-TOS/m-p/2338144#M106412</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-05T02:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to put a conditional check on data flow/row connector in TOS job?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-put-a-conditional-check-on-data-flow-row-connector-in-TOS/m-p/2338145#M106413</link>
      <description>Hi Shong, 
&lt;BR /&gt; 
&lt;BR /&gt;Thanks so much for your response. I will try to test if tFlowToIterate with no rows output works for my scenario.&amp;nbsp; 
&lt;BR /&gt; 
&lt;BR /&gt;But, currently my source is a continuous stream of json messages read by tKafkaInputComponent which has timeout set to "-1". In this scenario, i plan to replicate the tKafkainnput component output to multiple branches say approx. 20+ in a single job. These 20+ branches represents 20 different DB tables child jobs. Single tKafkaInput component will read data for any of the tables with different json schema. 
&lt;BR /&gt; 
&lt;BR /&gt;Say, i recieve JSON1 message for Table 1, JSON2 for Table 2, Json3 for Table 1 likewise messages can come for any of the 20+tables. I would like, when my job receives JSON1 message, then only BRANCH1 which is for TABLE 1 child job should run and call child job1 to extract JSON1 message and populate data in TABLE 1. Likewise, if i receive JSON2 message which is for Table 2, then i want all the branches to remain idle EXCEPT BRANCH 2 and it should be active &amp;amp; should call child job2 which will load Table 2. 
&lt;BR /&gt; 
&lt;BR /&gt;Please suggest/guide me which components will help me to: 
&lt;BR /&gt;A. allow only selective branch to be active and call child job for which JSON message has arrived&amp;nbsp; 
&lt;BR /&gt; 
&lt;BR /&gt;B. pass json message(data stream) to child job and then extract it and process it to load the data into DB tables 
&lt;BR /&gt;Thanks so much for your great support and time. 
&lt;BR /&gt;Rera</description>
      <pubDate>Fri, 05 Feb 2016 04:17:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-put-a-conditional-check-on-data-flow-row-connector-in-TOS/m-p/2338145#M106413</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-05T04:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to put a conditional check on data flow/row connector in TOS job?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-put-a-conditional-check-on-data-flow-row-connector-in-TOS/m-p/2338146#M106414</link>
      <description>Hi&amp;nbsp;&lt;BR /&gt;The main problem now is how to the check the message is for which table? Is there any indentify code to distinguish the message type? Ideally, read the message and parse it, use runIf link to fire corresponding child job based on the message type.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;</description>
      <pubDate>Fri, 05 Feb 2016 06:52:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-put-a-conditional-check-on-data-flow-row-connector-in-TOS/m-p/2338146#M106414</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-05T06:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to put a conditional check on data flow/row connector in TOS job?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-put-a-conditional-check-on-data-flow-row-connector-in-TOS/m-p/2338147#M106415</link>
      <description>Thanks, Shong! 
&lt;BR /&gt; 
&lt;BR /&gt;Yes, there is an identifier (metadata for tablename) in the json message that we receive from kafka.</description>
      <pubDate>Fri, 05 Feb 2016 15:41:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-put-a-conditional-check-on-data-flow-row-connector-in-TOS/m-p/2338147#M106415</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-05T15:41:18Z</dc:date>
    </item>
  </channel>
</rss>

