Page History
...
- The send-mail job is based on the JS7 - JITL MailJob template.
- This job is assigned a Job Resource with the name eMailDefault, see JS7 - Job Resources.
- No settings for the SMTP server, port, authentication etc. are used as such settingscome settings come from the Job Resource as described below.
- This job uses a number of parameters which are independent of the content of the report and the report recipients:
to
: is effectively the recipient's mail address.subject
: is mapped to the subject of the mail.content_type
: depends on the content of thebody
. When using HTML for the mail body then thecontent_type
should betext/html
.body
: determines the mail body from a few lines of plain text or HTML code.attachment
: note the assigned value which is the$report_file
variable, which is declared for the workflow holding the resulting report file.
...
- The order carries the following parameters:
report_file
: the path - including the name - of the Excel report file. This parameter is forwarded to all jobs in the job chain which will therefore write to the same Excel report file.report_past period
: a relative date specification for the begin of the reporting period is used. The above value-1d+TZ
translates to a date range starting 1 day ago at midnight in the timezone that is specified by the reporting jobs with the-Timezone
parameter for the respective reporting cmdlet.report_future_period
: a relative date specification for the end of the reporting period is used. The above value+1d+TZ
translates to a date range one day after the current date at midnight in the timezone that is specified by the reporting jobs with the-Timezone
parameter for the respective reporting cmdlet.to
: the recipient of the e-mail. Multiple recipients are separated by commas ",".
- The above order can be added at run-time to specify automated execution, e.g. on a daily basis or more/less frequently.
- Additional orders which use the same job chain workflow can be created with different parameter sets for date range and recipients.
...
Overview
Content Tools