<?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 Send mails to particular users based on condition. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Send-mails-to-particular-users-based-on-condition/m-p/890459#M310241</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently am scheduled my batch file through windows scheduler and mails are delivering to users finely.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i need to send mails to users when the Data is updated then only else to our development team.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scenario : I have the fields like Date , Country. Am sending mails to users related to the country data 'France'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Daily around 11.00 am i scheduled my task and its working fine mostly. &lt;STRONG&gt;But when the data is not available for the 'France' then also its going to users with blank data'. &lt;/STRONG&gt; I want to avoid this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the &lt;STRONG&gt;variable varTO logic and the VarTO is used in the macro.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(match(Country,'France') and Date=Date(today())),'mailidsofallusers','development team mailids');&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the above logic in the chart but its working fine &lt;STRONG&gt; But when i run the schedular its always giving second result &lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;STRONG&gt;'development team mailids'.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need help how to avoid this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More Thanks,&lt;/P&gt;&lt;P&gt;Dhanu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Apr 2015 07:08:24 GMT</pubDate>
    <dc:creator>dhanu_today</dc:creator>
    <dc:date>2015-04-10T07:08:24Z</dc:date>
    <item>
      <title>Send mails to particular users based on condition.</title>
      <link>https://community.qlik.com/t5/QlikView/Send-mails-to-particular-users-based-on-condition/m-p/890459#M310241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently am scheduled my batch file through windows scheduler and mails are delivering to users finely.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i need to send mails to users when the Data is updated then only else to our development team.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scenario : I have the fields like Date , Country. Am sending mails to users related to the country data 'France'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Daily around 11.00 am i scheduled my task and its working fine mostly. &lt;STRONG&gt;But when the data is not available for the 'France' then also its going to users with blank data'. &lt;/STRONG&gt; I want to avoid this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the &lt;STRONG&gt;variable varTO logic and the VarTO is used in the macro.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(match(Country,'France') and Date=Date(today())),'mailidsofallusers','development team mailids');&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the above logic in the chart but its working fine &lt;STRONG&gt; But when i run the schedular its always giving second result &lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;STRONG&gt;'development team mailids'.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need help how to avoid this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More Thanks,&lt;/P&gt;&lt;P&gt;Dhanu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2015 07:08:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Send-mails-to-particular-users-based-on-condition/m-p/890459#M310241</guid>
      <dc:creator>dhanu_today</dc:creator>
      <dc:date>2015-04-10T07:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: Send mails to particular users based on condition.</title>
      <link>https://community.qlik.com/t5/QlikView/Send-mails-to-particular-users-based-on-condition/m-p/890460#M310242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help Hints anyone?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dhanu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2015 09:09:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Send-mails-to-particular-users-based-on-condition/m-p/890460#M310242</guid>
      <dc:creator>dhanu_today</dc:creator>
      <dc:date>2015-04-10T09:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: Send mails to particular users based on condition.</title>
      <link>https://community.qlik.com/t5/QlikView/Send-mails-to-particular-users-based-on-condition/m-p/890461#M310243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you atach your expamle?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2015 09:42:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Send-mails-to-particular-users-based-on-condition/m-p/890461#M310243</guid>
      <dc:creator>pokassov</dc:creator>
      <dc:date>2015-04-10T09:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: Send mails to particular users based on condition.</title>
      <link>https://community.qlik.com/t5/QlikView/Send-mails-to-particular-users-based-on-condition/m-p/890462#M310244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any help from someone.Unable to attach the application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dhanu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2015 05:27:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Send-mails-to-particular-users-based-on-condition/m-p/890462#M310244</guid>
      <dc:creator>ajaykumar1</dc:creator>
      <dc:date>2015-10-23T05:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: Send mails to particular users based on condition.</title>
      <link>https://community.qlik.com/t5/QlikView/Send-mails-to-particular-users-based-on-condition/m-p/890463#M310245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The expression works in your chart because the chart dimensions limit the possible values of Country and Date to a single value each.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure exactly how you are using the expression/variable in a macro, but in that context, Country and/or Date can take on multiple values and the use of the naked* field names will return null -- so the if() will always evaluate to false. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you post your qvw file, or a representative sample, someone may be able to give you specific help on how to correct this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;* This means the use of a field name outside an aggregation function like Sum(), Min(), Count(),....&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2015 05:42:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Send-mails-to-particular-users-based-on-condition/m-p/890463#M310245</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-10-23T05:42:59Z</dc:date>
    </item>
  </channel>
</rss>

