<?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: Users receive e-mails despite user filters in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/Users-receive-e-mails-despite-user-filters/m-p/1995266#M37385</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/141061"&gt;@MarcinSwiderski_BPX&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;one more thing could be use of conditions &lt;STRONG&gt;on the Report (not on the task).&lt;/STRONG&gt;&amp;nbsp;You could have a condition with "chart has values" which should evaluate if the report for that user will have data.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are 2 issues here really - one is maintenance of filters and possibility for NPrinting to apply a filter second is the condition for the report to go ahead and be send. In my opinion to have transparency I would make sure filters always can be applied (just like suggested by&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/7316"&gt;@andregas&lt;/a&gt;&amp;nbsp;) and then report condition check to check if report should be sent:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Lech_Miszkiewicz_0-1666303402696.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/91836i1D9AB7CDEE497364/image-size/large?v=v2&amp;amp;px=999" role="button" title="Lech_Miszkiewicz_0-1666303402696.png" alt="Lech_Miszkiewicz_0-1666303402696.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 20 Oct 2022 22:04:17 GMT</pubDate>
    <dc:creator>Lech_Miszkiewicz</dc:creator>
    <dc:date>2022-10-20T22:04:17Z</dc:date>
    <item>
      <title>Users receive e-mails despite user filters</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Users-receive-e-mails-despite-user-filters/m-p/1994960#M37378</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I'm having trouble building a report. The business assumptions of the report are related to sending to the user a report with a list of ending contracts (in excel format) at the end of the contract.&lt;/P&gt;
&lt;P&gt;- Each of the contracts is assigned to a specific user&lt;/P&gt;
&lt;P&gt;- Each user should only see their contracts&lt;/P&gt;
&lt;P&gt;- If the user does not have any contracts ending on a given day, the e-mail should not be sent.&lt;/P&gt;
&lt;P&gt;While the problem with the user's access to only assigned contracts has been solved by means of filters assigned to users, the remaining problem is that when the number of contracts is equal to 0, the e-mail should not be sent. In the absence of contracts, an e-mail with the following message is sent.&lt;/P&gt;
&lt;P&gt;"Some reports failed to generate:&lt;/P&gt;
&lt;P&gt;Report "test" with output format XLSX&lt;/P&gt;
&lt;P&gt;Please contact your administrator for further details "&lt;/P&gt;
&lt;P&gt;From what I noticed, the lack of data is treated as a warning in the logs and it does not affect the sending of the email to the user. In the case of conditions to, according to the documentation, it affects the run of the entire task and the filter on the user has no effect on them.&lt;/P&gt;
&lt;P&gt;"If you have applied a task filter, this filter will be applied when evaluating the condition.&lt;/P&gt;
&lt;P&gt;If you have applied a report filter or user filter, the filter will not be applied when evaluating the condition. "&lt;/P&gt;
&lt;P&gt;Is it possible not to send this email in the absence of data, without the use of radical solutions on the side of the mail server or building tasks assigned to individual users?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="np1.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/91768i09E8DE811977B053/image-size/large?v=v2&amp;amp;px=999" role="button" title="np1.png" alt="np1.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="np2.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/91769iC24D08B5E65E9AC0/image-size/large?v=v2&amp;amp;px=999" role="button" title="np2.png" alt="np2.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="np3.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/91770iE63202E15FB9903A/image-size/large?v=v2&amp;amp;px=999" role="button" title="np3.png" alt="np3.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2022 11:11:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Users-receive-e-mails-despite-user-filters/m-p/1994960#M37378</guid>
      <dc:creator>MarcinSwiderski_BPX</dc:creator>
      <dc:date>2022-10-20T11:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: Users receive e-mails despite user filters</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Users-receive-e-mails-despite-user-filters/m-p/1995062#M37381</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/141061"&gt;@MarcinSwiderski_BPX&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;The users received the errors because nprinting try to filter an inconsistent set of data on Sense/View.&lt;/P&gt;
&lt;P&gt;To solve it you should add a placeholder record with 0/null value for each combination of nprinting filter.&lt;BR /&gt;After that you can use the condition to disable report when it 0.&lt;/P&gt;
&lt;P&gt;Let me know if it solve your problem.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2022 13:42:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Users-receive-e-mails-despite-user-filters/m-p/1995062#M37381</guid>
      <dc:creator>andregas</dc:creator>
      <dc:date>2022-10-20T13:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: Users receive e-mails despite user filters</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Users-receive-e-mails-despite-user-filters/m-p/1995266#M37385</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/141061"&gt;@MarcinSwiderski_BPX&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;one more thing could be use of conditions &lt;STRONG&gt;on the Report (not on the task).&lt;/STRONG&gt;&amp;nbsp;You could have a condition with "chart has values" which should evaluate if the report for that user will have data.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are 2 issues here really - one is maintenance of filters and possibility for NPrinting to apply a filter second is the condition for the report to go ahead and be send. In my opinion to have transparency I would make sure filters always can be applied (just like suggested by&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/7316"&gt;@andregas&lt;/a&gt;&amp;nbsp;) and then report condition check to check if report should be sent:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Lech_Miszkiewicz_0-1666303402696.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/91836i1D9AB7CDEE497364/image-size/large?v=v2&amp;amp;px=999" role="button" title="Lech_Miszkiewicz_0-1666303402696.png" alt="Lech_Miszkiewicz_0-1666303402696.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2022 22:04:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Users-receive-e-mails-despite-user-filters/m-p/1995266#M37385</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2022-10-20T22:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: Users receive e-mails despite user filters</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Users-receive-e-mails-despite-user-filters/m-p/1997032#M37416</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thanks Lech, I did not notice that conditions can be assigned to the report.&amp;nbsp; You solved my problem&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Best Regards Marcin Świderski&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2022 10:46:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Users-receive-e-mails-despite-user-filters/m-p/1997032#M37416</guid>
      <dc:creator>MarcinSwiderski_BPX</dc:creator>
      <dc:date>2022-10-26T10:46:51Z</dc:date>
    </item>
  </channel>
</rss>

