<?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 [resolved] Use if from tFileCompare to only send mail if boolean is false in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Use-if-from-tFileCompare-to-only-send-mail-if-boolean/m-p/2264918#M44614</link>
    <description>Hi 
&lt;BR /&gt;I have a routine which uses a tMySQLInput to tFileOutputDelimited to tFileCompare. 
&lt;BR /&gt;I am using the tFileCompare to check the file produced against the one produced yesterday. I then only want to send an email if the file is different. 
&lt;BR /&gt;So i used an IF trigger to a tsendmail. But i can't get the IF to work. 
&lt;BR /&gt;I'm not very good at Java, so i tried using the&amp;nbsp;(Boolean)globalMap.get("tFileCompare_1_DIFFERENCE") parameter - but i couldn't get it to send anything. 
&lt;BR /&gt;Can anyone help?</description>
    <pubDate>Tue, 15 Dec 2015 16:40:24 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-12-15T16:40:24Z</dc:date>
    <item>
      <title>[resolved] Use if from tFileCompare to only send mail if boolean is false</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Use-if-from-tFileCompare-to-only-send-mail-if-boolean/m-p/2264918#M44614</link>
      <description>Hi 
&lt;BR /&gt;I have a routine which uses a tMySQLInput to tFileOutputDelimited to tFileCompare. 
&lt;BR /&gt;I am using the tFileCompare to check the file produced against the one produced yesterday. I then only want to send an email if the file is different. 
&lt;BR /&gt;So i used an IF trigger to a tsendmail. But i can't get the IF to work. 
&lt;BR /&gt;I'm not very good at Java, so i tried using the&amp;nbsp;(Boolean)globalMap.get("tFileCompare_1_DIFFERENCE") parameter - but i couldn't get it to send anything. 
&lt;BR /&gt;Can anyone help?</description>
      <pubDate>Tue, 15 Dec 2015 16:40:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Use-if-from-tFileCompare-to-only-send-mail-if-boolean/m-p/2264918#M44614</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-15T16:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Use if from tFileCompare to only send mail if boolean is false</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Use-if-from-tFileCompare-to-only-send-mail-if-boolean/m-p/2264919#M44615</link>
      <description>Hi&lt;BR /&gt;Maybe it sounds wierd but the ((Boolean)globalMap.get("tFileCompare_1_DIFFERENCE")) returns:&lt;BR /&gt;- true - if files are the same&lt;BR /&gt;- false - if file are different&lt;BR /&gt;at least in ver.5.4.1. So use&amp;nbsp;&lt;BR /&gt;&lt;PRE&gt;!((Boolean)globalMap.get("tFileCompare_1_DIFFERENCE"))&lt;/PRE&gt;&lt;BR /&gt;in your IF link, if you want to send mail when files are different</description>
      <pubDate>Wed, 16 Dec 2015 10:54:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Use-if-from-tFileCompare-to-only-send-mail-if-boolean/m-p/2264919#M44615</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-16T10:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Use if from tFileCompare to only send mail if boolean is false</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Use-if-from-tFileCompare-to-only-send-mail-if-boolean/m-p/2264920#M44616</link>
      <description>@ xto&lt;BR /&gt;Many thanks - worked a charm &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Thu, 17 Dec 2015 15:03:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Use-if-from-tFileCompare-to-only-send-mail-if-boolean/m-p/2264920#M44616</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-17T15:03:46Z</dc:date>
    </item>
  </channel>
</rss>

