<?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: Avoid &amp;quot;Failed&amp;quot; task status in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/Avoid-quot-Failed-quot-task-status/m-p/1804268#M32116</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/8422"&gt;@girard_ben&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This error is expected when you use the same dimension for a user, report, task, image or table object.&lt;/P&gt;&lt;P&gt;Trying to union a report filter and a task filter using the same dimension cause a rule break.&lt;/P&gt;&lt;P&gt;So use the dimension as a filter once as a user filter or report filter or task or image/table object filter&lt;/P&gt;&lt;P&gt;For more information about Filter rules:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;See example 4:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/nprinting/February2021/Content/NPrinting/ReportsDevelopment/Static-dynamic-filters.htm#anchor-4" target="_blank"&gt;https://help.qlik.com/en-US/nprinting/February2021/Content/NPrinting/ReportsDevelopment/Static-dynamic-filters.htm#anchor-4&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 30 Apr 2021 17:20:37 GMT</pubDate>
    <dc:creator>Frank_S</dc:creator>
    <dc:date>2021-04-30T17:20:37Z</dc:date>
    <item>
      <title>Avoid "Failed" task status</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Avoid-quot-Failed-quot-task-status/m-p/1804154#M32103</link>
      <description>&lt;P&gt;Hi Guys&lt;/P&gt;&lt;P&gt;how I can have a "warn" message and not a "failed" status when I run a task with a condition .&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="girard_ben_0-1619779555107.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/54032i4ACD7D236239FFC9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="girard_ben_0-1619779555107.png" alt="girard_ben_0-1619779555107.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I just want to trigger email when the "table" has value (so I setuped a condition based on that")&lt;/P&gt;&lt;P&gt;when the report run I have a "failed" error&amp;nbsp; status but&amp;nbsp; I'm looking for a "warn" message, it's not an error at all, it's what I'm expecting. (like I have in the details logs )&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="girard_ben_1-1619779811720.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/54033i863EAAC46529EA04/image-size/medium?v=v2&amp;amp;px=400" role="button" title="girard_ben_1-1619779811720.png" alt="girard_ben_1-1619779811720.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So maybe I put the conditions at the wronge place , I tested several cases, and all of them generated a "failed" status.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In NP16, I have what I want for ex : I have a warning message (no Error or failed message)&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Warning Warning (verify filter): filter created empty result: Date {=date(today()-1): 27/04/2021}&lt;/LI-CODE&gt;&lt;P&gt;so I someone has an idea, he is welcome.&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Benoît&lt;/P&gt;</description>
      <pubDate>Fri, 30 Apr 2021 11:10:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Avoid-quot-Failed-quot-task-status/m-p/1804154#M32103</guid>
      <dc:creator>girard_ben</dc:creator>
      <dc:date>2021-04-30T11:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid "Failed" task status</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Avoid-quot-Failed-quot-task-status/m-p/1804268#M32116</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/8422"&gt;@girard_ben&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This error is expected when you use the same dimension for a user, report, task, image or table object.&lt;/P&gt;&lt;P&gt;Trying to union a report filter and a task filter using the same dimension cause a rule break.&lt;/P&gt;&lt;P&gt;So use the dimension as a filter once as a user filter or report filter or task or image/table object filter&lt;/P&gt;&lt;P&gt;For more information about Filter rules:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;See example 4:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/nprinting/February2021/Content/NPrinting/ReportsDevelopment/Static-dynamic-filters.htm#anchor-4" target="_blank"&gt;https://help.qlik.com/en-US/nprinting/February2021/Content/NPrinting/ReportsDevelopment/Static-dynamic-filters.htm#anchor-4&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Apr 2021 17:20:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Avoid-quot-Failed-quot-task-status/m-p/1804268#M32116</guid>
      <dc:creator>Frank_S</dc:creator>
      <dc:date>2021-04-30T17:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid "Failed" task status</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Avoid-quot-Failed-quot-task-status/m-p/1804554#M32133</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/48712"&gt;@Frank_S&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;thanks a lot for your help on this topic. Sorry I did not get you when you say "Trying to union a report filter and a task filter using the same dimension cause a rule break."&lt;/P&gt;&lt;P&gt;I did not use the same dimension in the report and task definition.&amp;nbsp; Or maybe it's due to the "conditions" rule&amp;nbsp; ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my scenario, it's very simple. I did an inline statement&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;LOAD * INLINE [
Product, Quantity
A, 10
B, 20
];&lt;/LI-CODE&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And after I create a conditions on the table in my case "TB01" should have values.&lt;/P&gt;&lt;P&gt;And I create&amp;nbsp; Publish task with a filter on Product = C&amp;nbsp; -&amp;gt; in that scenerio I'm assuming I did not want to receive a report because the report will be empty.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If i did the same, without any filter on the published task and I load the table with nothing to have an empty table.. the conditions is correctly evaluated&lt;/P&gt;&lt;P&gt;May 3, 2021 11:31:13 AM Info Conditions evaluated to false for report d21f94ba-ce6b-430c-a96e-15d54cd9364b user 696e565a-a275-4028-8207-3b9bee3fc9eb&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;So the conclusion for me to avoid "failed" status message in the log&lt;/STRONG&gt; , I need to trigger a nprinting sent only and only when it's needed. (I know only at least one report will be generated)&lt;/P&gt;&lt;P&gt;I explain, I have some tables to check&amp;nbsp;discrepancies, and they are populated only when I have error/issues- &amp;gt; they are sent to the rigth people.&lt;/P&gt;&lt;P&gt;I did a new test, with exactly the same table, with a new user based filter on the "product A" and I runed the task with the 2 user selected.&lt;/P&gt;&lt;P&gt;The result : I have the desired "status" information -&amp;gt; "Warn" message.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My final conclusion :&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;assign a variable in the QlikView app, evaluated at the end of the reload&amp;nbsp; and made a condition in NP17 assign to it&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;or trigger the report generation with the NP API once it's needed.&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Mon, 03 May 2021 10:20:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Avoid-quot-Failed-quot-task-status/m-p/1804554#M32133</guid>
      <dc:creator>girard_ben</dc:creator>
      <dc:date>2021-05-03T10:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid "Failed" task status</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Avoid-quot-Failed-quot-task-status/m-p/1804645#M32138</link>
      <description>&lt;P&gt;I am pleased to learn that you were able to work it out on your own!&lt;/P&gt;&lt;P&gt;Best regards...&lt;/P&gt;</description>
      <pubDate>Mon, 03 May 2021 14:31:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Avoid-quot-Failed-quot-task-status/m-p/1804645#M32138</guid>
      <dc:creator>Frank_S</dc:creator>
      <dc:date>2021-05-03T14:31:59Z</dc:date>
    </item>
  </channel>
</rss>

