Working with E-mail → E-mail Templates → E-mail Template Tags → Scheduled Report Template Tags
Scheduled report template tags can only be used with templates used for success and failure confirmation messages sent for scheduled reports. For details on this feature, refer to the "Scheduling Reports" topic in the Work Center help.
Returns the name of the project that contains the report.
Include this tag to display the project name.
None.
The $PROJECT_NAME() report <b>[$REPORT_NAME()]</b> that was generated on <b>$REPORT_DATE() is attached to this message</b>.
Result:
The Animation Pro report [All Issues I Own] that was generated on Fri Dec 14 13:02:23 PST 2012 is attached to this message.
Returns the date and time at which the report was initially executed.
Include this tag to display the date and time.
None.
$REPORT_DATE()
Result:
Fri Dec 14 13:02:23 PST 2012
Returns the name of the report that was executed.
Include this tag to display the report name.
None.
$REPORT_NAME()
Result:
[All Issues I Own]
Returns the URL of the report that was executed.
Include this tag to display the report URL.
None.
For the latest results of this report, click <a href="$REPORT_URL()">HERE</a>.
Result:
For the latest results of this report, click HERE.
Returns an external URL of the report that was executed.
Include this tag to display the report URL for external access. This tag was added in version 11.4, which means that you may need to manually add this tag to your scheduled report templates if it is not already included.
None.
For the latest results of this report, click <a href="$REPORT_URL_EXTERNAL()">HERE</a>.
Result:
For the latest results of this report, click HERE.
Returns a success message in the subject part of the e-mail when a report is successfully executed.
The markers cannot be changed but they must be present.
None.
%BEGIN_SUCCESS_SUBJECT% Report [$REPORT_NAME()] was created on $REPORT_DATE(). %END_SUCCESS_SUBJECT%
Result:
Report [All Issues I Own] was created on Fri Dec 14 13:02:23 PST 2012
Returns an error message in the subject part of the e-mail when a report fails.
The markers cannot be changed but they must be present.
None.
%BEGIN_ERROR_SUBJECT% ERROR: Report [$REPORT_NAME()] failed to run on $REPORT_DATE(). %END_ERROR_SUBJECT%
Result:
ERROR: Report [All Issues I Own] failed to run on Fri Dec 14 13:02:23 PST 2012.
Contains the content of the From field.
The markers cannot be changed but they must be present. By default the From address that is set at the project level in Application Administrator is used. If it is not set there, the value in the Notification Settings section of SBM Configurator is used. If not set there, the default value in the %BEGIN_EMAIL_FROM% and %END_EMAIL_FROM% tags is used. If you clear that value, the e-mail address of the author of the scheduled report is used.
None.
%BEGIN_EMAIL_FROM% NotificationServer@serena.com %END_EMAIL_FROM%
Result in the From field of the e-mail message:
NotificationServer@serena.com
Returns a success message in the body part of the e-mail when a report is successfully executed.
The markers cannot be changed but they must be present.
None.
%BEGIN_SUCCESS_CONTENT% Hello, </br> </br> The SBM report <b>[$REPORT_NAME()]</b> that was generated on <b>$REPORT_DATE() is attached to this message</b>. </br> </br> Note that if the report contains drill-down options, you can click them in the PDF. The drill-down links launch the report and display the current results, and not necessarily the results that appeared when the report was initially generated. This means there may be a difference between the results listed in the report and the results that appear when you click the drill-down option. </br> </br> For the latest results of this report, click <a href="$REPORT_URL()">HERE</a>. %END_SUCCESS_CONTENT%
Result:
Hello, The SBM report [All Issues I Own] that was generated on Fri Dec 14 13:02:23 PST 2012 is attached to this message. Note that if the report contains drill-down options, you can click them in the PDF. The drill-down links launch the report and display the current results, and not necessarily the results that appeared when the report was initially generated. This means there may be a difference between the results listed in the report and the results that appear when you click the drill-down option. For the latest results of this report, click HERE.
Returns an error message in the body part of the e-mail when a report fails.
The markers cannot be changed but they must be present.
None.
%BEGIN_ERROR_CONTENT% Hello, </br> </br> Your SBM report <b>[$REPORT_NAME()]</b> failed to run on <b>$REPORT_DATE()</b>. </br> </br> The report might have failed for any of the following reasons: </br> 1) - The report does not exist. </br> 2) - The user lacks sufficient privileges to run the report. </br> 3) - The report encountered a system exception. </br> </br> To verify that you can access and run the report, click <a href="$REPORT_URL()">HERE</a>. </br> </br> If the scheduled report fails to run, contact your SBM administrator. %END_ERROR_CONTENT%
Result:
Hello, Your SBM report [All Issues I Own] failed to run on Fri Dec 14 13:02:23 PST 2012. The report might have failed for any of the following reasons: 1) - The report does not exist. 2) - The user lacks sufficient privileges to run the report. 3) - The report encountered a system exception. To verify that you can access and run the report, click HERE. If the scheduled report fails to run, contact your SBM administrator.
Copyright © 2007–2019 Micro Focus or one of its affiliates. All rights reserved.