When a Foglight email schedule is created and enabled, the "*.pdf" email attachment is sent as "report.pdf", which is not ideal as it is unclear what schedule this relates to. Is it possible to change the name of the emailed report to reflect the schedule?
The respective email action is performed by an event driven rule called "Email Reports Sample". While this rule works as intended, it can use a little tweaking to solve the following issue.
1. Create a copy of the rule and disable the sample.
2. Change the rule variable format to:
def rptFormat = @event.get("report/reportFormat");
3. Ensure that the report gets its proper name. Change the rule variable (within the "Rule Variables" tab) reportName to:
4. Change the "EmailAction" parameter "mail.attachment.file.name" within "Condition & Actions Tab | Action Tab" to:
5. Save all changes
The emailed reports should now be named as the schedule names.
Please see attached document for screen shots and a more detailed