Format and content for Subscription Manager email notifications

You can customize the content and format of email notifications that you receive from the Subscription Manager when events that you subscribe to are generated.

Default email notification

The default email header contains the name of the event type and the date and time that the event was generated, for example:

NEW_EXCEPTIONS_EVENT: Tue Apr 07 07:13:30 EDT 2015

By default, the body of the email contains the following elements:
  • Event type
  • Name of the subscription
  • Date and time that the event was generated
  • Values for each property of the event
For example, notification for an exceptions event might contain the following text:

EVENT [ Type: NEW_EXCEPTIONS_EVENT, Subscription Name: email_subscription1, Created on:

2015-04-07 07:13:30, Properties: [ projectName=dstage1, exceptionSummaryName=Exceptions_36,

exceptionSummaryUID=ES506140601, applicationType=Exception Stage ] ]

Customizing email notification

To provide different format and content than the default, you can download and customize sample template files for the subject line and body of the email notifications, or you can create your own template files.

The template file for the subject line is a TXT file. The template file for the body of the email is HTML. You can use your own text in both the subject template file and the body template file. You can use images, links, and formatting in the body template file.

You can use the following variables in both files to display information for all types of events:
$eventTypeName$
The type of event that was generated.
$subscriptionName$
The name of the subscription that caused the email notification to occur when the event was generated.
$createdOn$
The date and time that the event was generated.
You can use the following variables to display the property values for exception events:
$applicationType$
The name of the product or tool that generated the exception, either Information Analyzer or Exception Stage.
$projectName$
The name of the project where the exception was generated in InfoSphere® Information Analyzer, InfoSphere DataStage® orInfoSphere QualityStage®.
$exceptionDescriptorUID$
For use with the NEW_MANAGED_SET_EVENT event type only. The unique ID of the data rule or the unique ID of the exception descriptor in a stage that generated the exception.
$exceptionDescriptorName$
For use with the NEW_MANAGED_SET_EVENT event type only. The name of the data rule or the name of the exception descriptor in a stage that generated the exception.
$exceptionSummaryUID$
For use with the NEW_EXCEPTIONS_EVENT event type only. The unique ID of the data rule or the unique ID of the exception descriptor in a stage that generated the exception.
$exceptionSummaryName$
For use with the NEW_EXCEPTIONS_EVENT event type only. The name of the data rule or the name of the exception descriptor in a stage that generated the exception.
You can use the following variables to display information for governance events:
$ASSET_RID$
The unique ID of the asset that is associated with the event. For example, the unique ID of a term or category that was modified.
$ACTION$
The action that you specified as a property of the event type when you created the subscription. For example, a CREATE or SEND_FOR_APPROVAL action.