Reports
You can schedule reports to be sent after a JAMS Job runs. The Execution Method that the Job is based on creates the report, and a Report Schedule Item on the Job's Schedule tab sends the report to the appropriate place. The following Report Schedule Items are available:
- Email Report: Send the report as an email.
- SSRS Print Report: Send an SQL Server Reporting Services (SSRS) report to a printer.
Report Schedule Items are available only at the Job level. They cannot be set on a Folder.
Send a Report as an Email
You can use JAMS to create and send a report as an email. Use the JAMS Reports Execution Method to create a Job that creates a report. You can then add the Schedule Item below to have the report sent as an email.
Depending on the type of mail server you are using, ensure one of the following is set up:
- An SMTP Connection Store item and a Credential to use with the SMTP Connection.
- A Graph API Connection Store item and a Credential to use with the Graph API Connection.
See Connections to Mail Servers and Credentials for more information.
- Click Jobs from the main menu.
- In the Folder Navigator, click a Folder.
- Click a Job, and then click Properties.
- Click the Schedules tab.
- Expand Send a report.
- Click ADD.
- Select as an email.
- In the Mail Server field, select the Connection Store item for the mail server.
- In the To Address field, enter the email address where the email will be sent.
- In the Subject field, add a subject line for the email.
- In the Message Body field, click in the field to add the email message and click OK.
- (Optional) In the CC Address field, enter a comma-separated list of email addresses to copy on the email.
- Click Save. The Report is listed under the Send a report section on the Schedule tab.
Email Report Properties
| Status | Description |
|---|---|
| Enabled | Select or clear the checkbox to enable or disable the report from being sent. |
| Description | |
|---|---|
| Mail Server | This property specifies the mail server used to send the email. Select a mail server Connection from the Connection Store. |
| To Address | Enter a comma-separated list of email addresses that the email will be sent to. |
| Subject | This property specifies the subject of the email. |
| Message Body | This property specifies the body of the email message. You may enter Markdown language in the Message Body. |
| CC Address | Enter a comma-separated list of email addresses that will be cc'd on the email. |
Send a Report as an SSRS Print Report
You can use JAMS to create an SSRS report and send it to a printer. Use the SSRS Execution Method to create a Job that creates a report. You can then add the Schedule Item below to have the report sent to a printer. See Execution Methods for more information.
- Click Jobs from the main menu.
- In the Folder Navigator, click a Folder.
- Click a Job, and then click Properties.
- Click the Schedules tab.
- Expand Send a report.
- Click ADD.
- Select as an SSRS Print Report.
- In the Printer Name field, enter the name of the printer that will be used.
- In the Start Page field, enter the first page of the report that will be printed.
- In the End Page field, enter the last page of the report that will be printed.
- (Optional) Set the page size and print resolution. See the table below for more information.
- Click Save. The Report is listed under the Send a report section on the Schedule tab.
SSRS Print Report Properties
| Status | Description |
|---|---|
| Enabled | Select or clear the checkbox to enable or disable the report from being printed. |
| Execute | Description |
|---|---|
| Printer Name | This property specifies the name of the printer used. |
| Start Page | This property specifies the first page of the report. |
| End Page | This property specifies the last page of the report. |
| Page Width | This property specifies the width of the printed page. |
| Page Height | This property specifies the height of the printed page. |
| Print DPI X | This property specifies the horizontal resolution of the printout in dots per inch. |
| Print DPI Y | This property specifies the vertical resolution of the printout in dots per inch. |