<?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] Ignore Subjob if tMysqlInput return 0 rows in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Ignore-Subjob-if-tMysqlInput-return-0-rows/m-p/2317070#M87556</link>
    <description>My way is essentially the same, but doesn't require the second query of the database for each input. If the queries are not complicated and computationally expensive, your way is absolutely fine.</description>
    <pubDate>Tue, 01 Dec 2015 16:56:01 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-12-01T16:56:01Z</dc:date>
    <item>
      <title>[resolved] Ignore Subjob if tMysqlInput return 0 rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Ignore-Subjob-if-tMysqlInput-return-0-rows/m-p/2317067#M87553</link>
      <description>&lt;P&gt;Hey guys&lt;BR /&gt;I have a job that writes me pdf's from the sales on four different Shops.&lt;BR /&gt;If one shop doesnt have any sales that day i want to write an empty pdf or in worst case do nothing. &lt;BR /&gt;&lt;BR /&gt;Now to my Problem. It seems like tFileOutputPDF component cant handle 0 rows and therefor my job crasches.&lt;BR /&gt;&lt;BR /&gt;Can i do some workaround to solve this? For example make a test before each step and if tMysqlInput returns 0 row i just jump to the next subjob?&lt;BR /&gt;&lt;BR /&gt;Thanks&amp;nbsp; &lt;A href="https://community.talend.com/legacyfs/online/214220/t.jpg" target="_blank" rel="noopener"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MGt5.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155194i0D39F931856D33B0/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MGt5.jpg" alt="0683p000009MGt5.jpg" /&gt;&lt;/span&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2015 15:41:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Ignore-Subjob-if-tMysqlInput-return-0-rows/m-p/2317067#M87553</guid>
      <dc:creator>jensej</dc:creator>
      <dc:date>2015-12-01T15:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Ignore Subjob if tMysqlInput return 0 rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Ignore-Subjob-if-tMysqlInput-return-0-rows/m-p/2317068#M87554</link>
      <description>1) Pass the data from your "La Boutique Romaine" component to a tHashOutput.
&lt;BR /&gt;2) Create a subjob starting with a tHashInput linked to the tHashOutput previously mentioned.
&lt;BR /&gt;3) Connect the subjob ending with the tHashOutput to the new subjob starting with the tHashInput using an IF Link. Connect the link between the tHash components. For the IF condition use something based on the number of rows loaded to the tHashOutput</description>
      <pubDate>Tue, 01 Dec 2015 16:09:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Ignore-Subjob-if-tMysqlInput-return-0-rows/m-p/2317068#M87554</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-01T16:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Ignore Subjob if tMysqlInput return 0 rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Ignore-Subjob-if-tMysqlInput-return-0-rows/m-p/2317069#M87555</link>
      <description>Thanks for your help. 
&lt;BR /&gt;I was able to solve it like this.
&lt;BR /&gt;Is your way easier or better in some way or do you like my solution? 
&lt;BR /&gt;If yours is better can you please add a picture how i should bind all components togheter. I didnt get it.
&lt;BR /&gt;
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/214220/2_20151201-1739.jpg" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MGx6.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138109i259B7E61B8A4CC40/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MGx6.jpg" alt="0683p000009MGx6.jpg" /&gt;&lt;/span&gt; &lt;/A&gt;</description>
      <pubDate>Tue, 01 Dec 2015 16:39:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Ignore-Subjob-if-tMysqlInput-return-0-rows/m-p/2317069#M87555</guid>
      <dc:creator>jensej</dc:creator>
      <dc:date>2015-12-01T16:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Ignore Subjob if tMysqlInput return 0 rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Ignore-Subjob-if-tMysqlInput-return-0-rows/m-p/2317070#M87556</link>
      <description>My way is essentially the same, but doesn't require the second query of the database for each input. If the queries are not complicated and computationally expensive, your way is absolutely fine.</description>
      <pubDate>Tue, 01 Dec 2015 16:56:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Ignore-Subjob-if-tMysqlInput-return-0-rows/m-p/2317070#M87556</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-01T16:56:01Z</dc:date>
    </item>
  </channel>
</rss>

