Setting Up Notifications
On the Notifications page, you can set up email notifications to the report recipients and to administrators.
| Notifications are sent to all users with the organization ROLE_ADMINISTRATOR role, who belong to thesame organization as the user who creates the report job. |
Send report when scheduler runs:
Enter one or more email addresses to send the report to recipients after the job has run. You can configure the following:
| • | To – One or more email addresses separated by commas for sending email notification. |
| By default, the mail server is not configured by the JasperReports Server installer. To send email notifications, the administrator must configure the mail server, as described in the JasperReports Server Installation Guide. |
| • | CC – One or more email addresses separated by commas for sending email notification on the CC line. |
| • | BCC – One or more email addresses separated by commas for sending blind carbon-copy email notification; the addresses in this field are not revealed to the other recipients. |
| • | Subject – The subject line of the notification email. |
| • | Message – Content of the notification email. |
| • | Choose one of the radio buttons to specify how email recipients access the report: |
| • | Include reports as repository links in email body – Sends a link to the report output in the repository. Not available unless Output to Repository is selected on the Output Options tab. |
| • | Include report files as attachments – Sends the report output as attachments to the notification email. If you have selected multiple output formats, each output is attached as a separate file to the email notification. |
| • | Include report files as ZIP attachment – Zips all report outputs into a single archive file before attaching to the email. |
| • | Include HTML report in email body – Displays the report directly in the email body. This option is available only when Include report files as attachments or Include report files as ZIP attachment is checked and HTML is selected as one of the options on the Output File Options page. When this option is selected, you cannot include a message in the email body. |
| Be careful when sending reports containing sensitive data by email, either in the email body or as an attachment. |
| • | Do not send emails for empty reports – A check box option that, if checked, prevents the server from attaching empty report output files to email notifications. This applies to parametrized reports where there is no data that matches the parameters. |
Send job status notifications:
Enter one or more email addresses to send notification of job success or failure to administrators:
| • | To – One or more email addresses separated by commas for sending email notification. |
| By default, the mail server is not configured by the JasperReports Server installer. To send email notifications, the administrator must configure the mail server, as described in the JasperReports Server Installation Guide. |
| • | Subject – The subject line of the notification email. |
| • | Send success notification – Check box option that, when checked, sends a notification when the scheduled report runs. |
| • | Success Message – The message in the body of the notification email sent on success. |
| • | Send failure notification – Check box option that, when checked, sends a notification when the scheduled report fails to run. |
| • | Failure Message – The message in the body of the notification email sent on failure. |
| • | Include report job information – A check box option that, if selected, includes the report label, ID, description, and report job status in the notification email. |
| • | Include stack trace – A check box option that, if selected, includes the stack trace for failed jobs in the body of the email. |
|
Notifications Page for Scheduling a Report |
Recommended Comments
There are no comments to display.