Previous Topic: List Notification PhrasesNext Topic: Create a Notification Rule


Use a Notification Phrase in a Message Template

You can use a single notification phrase in one or more message templates. This use lets you standardize plain- or HTML-formatted text in multiple templates—when you update a notification phrase, the phrase is updated automatically in the message templates that use the phrase.

To use a notification phrase in a message template

  1. On the Administration tab, browse to Notifications, Message Templates.

    The Message Template List appears.

  2. Click Create New (or select an existing template).

    The Create New Message Template page appears.

  3. Complete the fields as appropriate, and enter a notification phrase in either of the following fields or in both. For example:
    Notification Message Body
    Thank you for submitting your Development request.
    @{notification_phrase[IncidentURL1].phrase}
    @{notification_phrase[RequestReply].phrase}
    
    HTML Message
    Thank you for submitting your Development request.</p>
    @{notification_phrase[IncidentURL1H].phrase}</p>
    @{notification_phrase[RequestReplyHTML].phrase}</p>
    

    Click Save.

    All references of @{notification_phrase[code].phrase} in the message template are replaced with the appropriate phrase from the usp_notification_phrase table. If the phrase is not found (or if it is inactive) an empty string replaces the reference.