Configure the TimeBasedReviewReport job in the schedule.xml file
To configure time-based review notifications, you first configure the job in the schedule.xml file.
About this task
You have two options to configure the connection to
the Content Store:
- Use the default connection settings configured in the
<configuration>
element. - Configure a Content Store that is specific to a Scheduler job.
This option is recommended only if you want to run a Scheduler job using a
Content Store other than the one defined in the
<configuration>
element. If the Content Store is the same you do not need to additionally configure the connection to the Content Store within a specific Scheduler job. The configuration will fall back to the default Content Store connection.
To configure the time-based review notifications job:
Procedure
Additional optional fields
You can also add the following properties in the <configuration>
element of the TimeBasedReviewReport
job:
Property name | Value to enter |
---|---|
default.percentage |
If a person is assigned to review the map, but this
person's role is not specified in a notification, this person will receive
an email when the default threshold is reached. For example, if an editor is
also assigned to review the map, but the "editor" role is not specified in
one of the <notification_name>.role
properties, this person will be notified when the default threshold is
reached. This field is optional. |
email.subject |
Subject of the email sent. This field is optional. If not specified, it defaults to: |
email.xsl |
Path to XSL template for the email. The path is
relative to the /%SchedulerDir%/templates/
directory. This field is optional. If not
specified, it defaults to |
email.from |
Email address put in the From: field when the email is sent.This
field is optional. If not specified, it defaults to |
For example, to change the default percentage to 80, and to change the
details of the email sent, you would add the following
code:
...
<property name="default.percentage" value="80"/>
<property name="email.subject" value="Map Review Report"/>
<property name="email.xsl" value="timebasedreport_acme.xsl"/>
<property name="email.from" value="admin@acme.com"/>
</configuration>
</job>