Reports
A report is a CSV file sent in a scheduled email. The CSV content is managed by:
-
HCQL query (certificates), HRQL query (requests)
-
CSV fields shown
Prerequisites
You may need Teams.
How to configure Reports
1. Log in to Horizon Administration Interface.
2. Access Reports from the drawer or card: Reports.
3. Click on .
4. Fill in the mandatory fields.
Details
-
Enable (boolean):
Tells whether the reporting task should be enabled. Set by default at true. -
Name* (string input):
Enter a meaningful report name. It must be unique. -
Cron scheduling expression in Quartz format* (cron expression):
Enter a Cron scheduling expression (in Quartz format). The default expression is built to run the task every hour.
Common fields
-
From* (string input):
Enter the email address that will appear in the "From" field of the email. -
Subject* (string input):
Enter the subject of the email. -
Body (string input):
Enter the body of the email. -
Is HTML (boolean): (boolean):
Sets whether the email body contains HTML code (true) or plain text (false). The default value is set to false.
ReportType
The report type determines how the CSV report will be sent. Depending on the user’s choice, a set of parameters may appear.
If set to link_email, a temporary link will be made available in the email notification dictionary. In this case, the user must set a retention period to specify how long the CSV can be downloaded for.
|
-
Retention Period* (finite duration):
Specify the period during which the report can be downloaded after generation. Using long periods is not recommended.
If set to attachment_email, then the report CSV will be attached to the email.
In this case, the user can specify whether or not to compress the file.
-
CSV file name (string input):
Enter the name that will be given to the attached csv file. -
Compress file (boolean): (boolean):
Sets whether the CSV must be compressed using gzip and adds the.csv.gzextension to the file.