<?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: Condition Not Preventing Distribution in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/Condition-Not-Preventing-Distribution/m-p/1901423#M35341</link>
    <description>&lt;P&gt;The problem was unfortunately simple.&amp;nbsp; I had to set the Condition on the &lt;STRONG&gt;REPORT&lt;/STRONG&gt; of the task, and not the task itself.&amp;nbsp; I assume when a user doesn't have any reports evaluate as true, then no email is sent.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry to waste time.&lt;/P&gt;</description>
    <pubDate>Fri, 04 Mar 2022 19:34:06 GMT</pubDate>
    <dc:creator>JustinDallas</dc:creator>
    <dc:date>2022-03-04T19:34:06Z</dc:date>
    <item>
      <title>Condition Not Preventing Distribution</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Condition-Not-Preventing-Distribution/m-p/1900758#M35307</link>
      <description>&lt;P&gt;TL;DR Condition variable evaluates to not distribute for a particular user, user however still receives a report&lt;/P&gt;
&lt;P&gt;Hello Folks,&lt;/P&gt;
&lt;P&gt;I have a Condition (variable based) attached to a Task that I'm expecting to be evaluated for every user.&amp;nbsp; In my script, my variable looks like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vSomethinEqualCondition.PNG" style="width: 982px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/73531i222D58FA0D306AD6/image-size/large?v=v2&amp;amp;px=999" role="button" title="vSomethinEqualCondition.PNG" alt="vSomethinEqualCondition.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The &lt;EM&gt;DIST&lt;/EM&gt; and &lt;EM&gt;NODIST&lt;/EM&gt; are for Distribute and No Distribute.&lt;/P&gt;
&lt;P&gt;When I look at the variable in the dashboard, I see the following which is expected&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vSomethinEqualDashboard.PNG" style="width: 228px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/73532iF5614B29F4D1538B/image-size/large?v=v2&amp;amp;px=999" role="button" title="vSomethinEqualDashboard.PNG" alt="vSomethinEqualDashboard.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My NPrinting Condition looks like this and I've verified that it's attached to the Task&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vSomethingNPrintingConditions.PNG" style="width: 924px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/73533iC6489112D2D283EF/image-size/large?v=v2&amp;amp;px=999" role="button" title="vSomethingNPrintingConditions.PNG" alt="vSomethingNPrintingConditions.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ConditionAttached.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/73537iE5A765DFC07D550D/image-size/large?v=v2&amp;amp;px=999" role="button" title="ConditionAttached.PNG" alt="ConditionAttached.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;However, when I run the task, the user still receives a report.&amp;nbsp; And I have the variable listed in the report which evaluates to NODIST.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vSomethingNPrintingEmailMessage.PNG" style="width: 694px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/73539i13B677E6D96050D3/image-size/large?v=v2&amp;amp;px=999" role="button" title="vSomethingNPrintingEmailMessage.PNG" alt="vSomethingNPrintingEmailMessage.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vSomethingNPrintingEmail.PNG" style="width: 394px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/73535i643FFBF9396A41AB/image-size/large?v=v2&amp;amp;px=999" role="button" title="vSomethingNPrintingEmail.PNG" alt="vSomethingNPrintingEmail.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What concept am I missing ?&lt;/P&gt;
&lt;P&gt;Any help is greatly appreciated&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 16:54:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Condition-Not-Preventing-Distribution/m-p/1900758#M35307</guid>
      <dc:creator>JustinDallas</dc:creator>
      <dc:date>2022-03-03T16:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: Condition Not Preventing Distribution</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Condition-Not-Preventing-Distribution/m-p/1900841#M35316</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/42707"&gt;@JustinDallas&lt;/a&gt;&lt;/P&gt; 
&lt;P&gt;As an initial test, reload your NPrinting connection and try again and let us know the result.&lt;/P&gt; 
&lt;P&gt;Kind regards...&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 20:07:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Condition-Not-Preventing-Distribution/m-p/1900841#M35316</guid>
      <dc:creator>Frank_S</dc:creator>
      <dc:date>2022-03-03T20:07:33Z</dc:date>
    </item>
    <item>
      <title>Re: Condition Not Preventing Distribution</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Condition-Not-Preventing-Distribution/m-p/1900913#M35318</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/42707"&gt;@JustinDallas&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you put your variable in InputBox in Qlik Sense (Variable input extension object) what do you see? Do you see the result of calculation or formula?&lt;/P&gt;
&lt;P&gt;If you see formula then the issue is as described here:&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/nprinting/May2021/Content/NPrinting/Troubleshooting/Variables-dont-expand-before-calculating.htm" target="_blank"&gt;https://help.qlik.com/en-US/nprinting/May2021/Content/NPrinting/Troubleshooting/Variables-dont-expand-before-calculating.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 02:08:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Condition-Not-Preventing-Distribution/m-p/1900913#M35318</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2022-03-04T02:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: Condition Not Preventing Distribution</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Condition-Not-Preventing-Distribution/m-p/1901423#M35341</link>
      <description>&lt;P&gt;The problem was unfortunately simple.&amp;nbsp; I had to set the Condition on the &lt;STRONG&gt;REPORT&lt;/STRONG&gt; of the task, and not the task itself.&amp;nbsp; I assume when a user doesn't have any reports evaluate as true, then no email is sent.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry to waste time.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 19:34:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Condition-Not-Preventing-Distribution/m-p/1901423#M35341</guid>
      <dc:creator>JustinDallas</dc:creator>
      <dc:date>2022-03-04T19:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: Condition Not Preventing Distribution</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Condition-Not-Preventing-Distribution/m-p/1901427#M35342</link>
      <description>&lt;P&gt;Thanks for sharing the solution!&lt;/P&gt; 
&lt;P&gt;This will be helpful to all who encounter similar behavior.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Your observations appear to be inline with the docs.&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;&lt;A href="https://help.qlik.com/en-US/nprinting/May2021/Content/NPrinting/ReportsDevelopment/Conditions.htm#anchor-9" target="_blank"&gt;https://help.qlik.com/en-US/nprinting/May2021/Content/NPrinting/ReportsDevelopment/Conditions.htm#anchor-9&lt;/A&gt;&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Kind regards...&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 19:42:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Condition-Not-Preventing-Distribution/m-p/1901427#M35342</guid>
      <dc:creator>Frank_S</dc:creator>
      <dc:date>2022-03-04T19:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: Condition Not Preventing Distribution</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Condition-Not-Preventing-Distribution/m-p/1901440#M35343</link>
      <description>&lt;P&gt;Great that it is working now for your setup.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just for others awareness there is an option in Settings&amp;gt;Task that could impact the email delivery depending on the number of reports in a task.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;____________________________________________________________________________________________&lt;/P&gt;
&lt;P&gt;Email distribution errors&lt;/P&gt;
&lt;DIV class="form-group"&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;LABEL class="column-label col-sm-8 col-sm-offset-2 ng-scope" translate="SETTINGS.TASK.REPORT.ERROR.TITLE"&gt;&lt;STRONG&gt;When a publish task cannot generate one or more reports:&lt;/STRONG&gt;&lt;/LABEL&gt;
&lt;DIV class="col-sm-8 col-sm-offset-2"&gt;
&lt;DIV class="m-b-1"&gt;
&lt;UL&gt;
&lt;LI class="radio qr-radio"&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;LABEL class="ng-binding"&gt;&lt;STRONG&gt;Recipients will receive successful reports, with a message listing reports that failed&lt;/STRONG&gt;&lt;/LABEL&gt;&lt;/LI&gt;
&lt;LI class="radio qr-radio"&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;LABEL class="ng-binding"&gt;&lt;STRONG&gt;Recipients will receive successful reports, with no error message&lt;/STRONG&gt;&lt;/LABEL&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/DIV&gt;
&lt;DIV&gt;
&lt;P class="alert alert-warning"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="ng-scope"&gt;If all reports fail, recipients will not receive an email.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 04 Mar 2022 20:09:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Condition-Not-Preventing-Distribution/m-p/1901440#M35343</guid>
      <dc:creator>Jacob_Poole</dc:creator>
      <dc:date>2022-03-04T20:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: Condition Not Preventing Distribution</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Condition-Not-Preventing-Distribution/m-p/1901462#M35344</link>
      <description>&lt;P&gt;Good to know it works for you&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/42707"&gt;@JustinDallas&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I should have picked this up when you wrote that &lt;EM&gt;"Condition variable evaluates to not distribute for a particular user"&amp;nbsp;&lt;/EM&gt;and I should assume that this means additional filtering... hence report level condition...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;cheers&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 21:59:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Condition-Not-Preventing-Distribution/m-p/1901462#M35344</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2022-03-04T21:59:30Z</dc:date>
    </item>
  </channel>
</rss>

