Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello
got an NPrinting report (Excel format in template editor)
the publishing task send email to a group of users; each user has his own filter defined
for some users the chart is empty but that user still receives email with empty excel attachment and only headers of the table appear
how can I make NPrinting not to send email to the user when the report is empty?
kindly advise
Hi,
I replicate your scenario in my installation and it works as expected: the user that doesn't met the condition doesn't receive any email. Instead the user that met the condition receive the report.
If I add an unconditioned report the user that doesn't met the condition receives an email with only one report and no error messages.
So I think you have something hidden in the report that cause its generation. Check the Task Executions page and you will see something like:
for users that should not met the condition.
Best Regards,
Ruggero
Hi,
You could use conditions that are explained in details at https://help.qlik.com/en-US/nprinting/May2021/Content/NPrinting/ReportsDevelopment/Conditions.htm. There are also some old conversations about them here in the community.
Best Regards,
Ruggero
I've added the above rule; but this means if the report as a whole contains values then run; am I wrong?
what I want is that if the filters on each user return empty report then do not send the email to that particular user
with this condition added some users still get emails containing an attachment with empty chart
Hi,
So you have to apply the condition to the report in the publish task, not to the publish task:
Then set the email distribution error to:
With this configuration users with empty reports will not receive the email.
Best Regards,
Ruggero
still some users receive emails with reports without data attached
first I created the condition as follows:
then I added the condition to the report in the task->report as you told me
in the settings:
Hi @ali_hijazi
Are you suppressing 0 values in the Qlik Sense table (used for condition evaluation) settings ?
The process is:
Further investigation of your issue would require us to:
cheers
Hello @Lech_Miszkiewicz
yes I suppressed the zero values in the chart;
and users who meeting the filter condition get emails with data in the attached chart
but users whose filters return no data still receive emails with the attached chart empty
following is a screen shot of an attachment with empty rows and the next for an attachment whose user's filter return data
Hi,
I replicate your scenario in my installation and it works as expected: the user that doesn't met the condition doesn't receive any email. Instead the user that met the condition receive the report.
If I add an unconditioned report the user that doesn't met the condition receives an email with only one report and no error messages.
So I think you have something hidden in the report that cause its generation. Check the Task Executions page and you will see something like:
for users that should not met the condition.
Best Regards,
Ruggero