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: 
suzaanbarnard
Partner - Contributor
Partner - Contributor

Some reports failed to generate due to no data being available

Hi,

I have a report with a filter but in some cases, there are no data available. The following message then appears:

Some reports failed to generate:

  • Report "Test" with output format DOC

Please contact your administrator for further details

Is there a way to change this error message?

3 Replies
JustinDallas
Specialist III
Specialist III

I think you can tell NPrinting to swallow the error and the report.  But I'm not entirely sure. 

NPrintingSwallow.png

 

Because I find that error message to be relatively embarrassing as a developer, I generally create an NPrinting condition so that the task won't run unless the report has data. 

 

NPrintingReportConditions.png

 

In the above example, my filters get applied, and then I test the table in question to see if it has any values.  No values, no task completion and no report gets sent out.

suzaanbarnard
Partner - Contributor
Partner - Contributor
Author

Hi, so the main thing is I still want the report to run/send whether there is data or not, I just want the message to be changed  

JustinDallas
Specialist III
Specialist III

Not sure how to do that. Wish I could be of more help.