Notifications
Notifications can be scheduled to be autodelivered or sent when an event occurs. When an event is triggered, the GlideRecord
object of the record that triggered the event is sent to the notification. This GlideRecord
object is an important aspect of the event as it provides notification access to data fields available in the record, thus enabling developers to create dynamic e-mails with custom data fields. Before we create an e-mail action (notification), we will create an e-mail template.
The following steps show you how to create a new e-mail template:
- Open
Studio
and in theCreate Application File
wizard selectNotifications
|Email Template
, as shown here, and click on theCreate
button:
- Fill in the new
Email Template
form with the following values:Name
:Booking Request Template
Travel
:Booking Request
Subject
:Travel Booking Request - ${number}
Message HTML
: (As mentioned in the screenshot)
- Enter the following text in the
Message
HTML
field:
Travel Booking Request ...