Skip to main content
Announcements
Defect acknowledgement with Nprinting Engine May 2022 SR2, please READ HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
waterscg
Creator
Creator

Can't suppress emails from being generated when no data in accompanying QS app matches the criteria

The Qlik NPrinting > Conditions online help page states: "The possibility to send reports on a conditional basis has many advantages. For example, you can be informed when key events in the data happen or you can save computational resources by avoiding distribution of unnecessary reports."

I need to suppress distribution of unnecessary reports; in particular, I don't want a given user to receive an email (which contains an Excel document) when there are no recent entries (i.e., within the last three days) for him/her in an associated Qlik Sense app. I've defined a filter and assigned it to the user. I've defined a condition that limits a chart in the QS app from displaying data if there are no recent entries. But when the report is run and there are no recent entries for the user, the user still receives an email -- with an embedded message stating that "Some reports failed to generate".

I've been able to accomplish my goal by adding the user filter to the report; when there are no recent entries for the user, no email is generated. But I have dozens of users and cannot add all the user filters to the report because then *none* of the users receive an email.

What am I missing?

3 Replies
Daniel_Jenkins
Specialist III
Specialist III

Hi,

This is addressed in the soon to be released February 2019 version. You can access the Technical Preview here: https://community.qlik.com/t5/Qlik-NPrinting-Discussions/Qlik-NPrinting-February-2019-Technical-Prev...

You will be able to tell the Scheduler what to do in case a report is not generated for any reason by un-commenting an entry in the scheduler settings.ini file. [ <add key="disable-failure-email-sending" />]

From the help:

For example:

You have 3 users in a single task. The task has 2 reports for each user, which are sent via e-mail.

  • User A: report generation successful.
  • User B: one report fails to generate.
  • User C: all reports fail to generate.

In this case:

  • User A receives the email with the two attachments.
  • User B receives the email with a single attachment. There will be no mention of the report that failed.
  • User C will not receive any email.

HTH - Daniel.

waterscg
Creator
Creator
Author

Thanks for the information. In the interim, is there no way to suppress emails from being sent to particular users?

Daniel_Jenkins
Specialist III
Specialist III

Hi,

NPrinting February 2019 is now available for download. Here is the help topic relevant to this discussion:
https://help.qlik.com/en-US/nprinting/February2019/Content/NPrinting/DistributionSchedulesAutomation...

You can see the release announcement and download the release notes here: https://community.qlik.com/t5/Qlik-Support-Updates-Blog/Qlik-February-2019-New-Feature-Releases-for-...

HTH - Daniel.