Environment
ZENworks Configuration Management 2017 Update 2
Situation
Scheduled inventory reports sending email with attachment fail to add the attachment when the report name contains characters invalid to the primary server file system. For example on Windows, "<", ">", "/"
ERROR (from inventory-servlet.log):
[Inventory Servlet] [] [QueryJob exception4: ] [java.io.FileNotFoundException: C:\Program Files (x86)\Novell\ZENworks\share\tomcat\webapps\zenworks\report name / test.xls (The filename, directory name, or volume label syntax is incorrect)
Resolution
Workaround: Don't use characters in the custom report name that are invalid on the primary server file system as filename.