Create an outbound notification
Create an Enhanced Notifications (v2) record that emails the right people when a record is created or updated.
Create an outbound notification when people need a message about a record change that no shipped notification covers. This task is for administrators and builds an Enhanced Notifications (v2) notification with an email provider.
Before you begin
- You need the
administratorrole. - An active outbound messaging account exists. See Create a messaging account.
- The table has a trigger that calls the notification engine. Work, Workflow task, SLA, Interaction and Knowledge have one. See Outbound notifications.
- Have the condition and recipients script ready. Notification recipients and content has patterns to copy.
Steps
-
Go to Administration → Messaging → Outbound notifications and select New.

The Outbound notifications item under Administration, Messaging in the menu. -
Enter a Name, select the Table, and set Version to Enhanced Notifications (v2).
-
Set Type to Create, Update, Create/Update or Scripted. Set Priority order, Send to initiator and Process auto replies as the table below describes.
-
On the Condition tab, write a script that sets
answerto true when the notification should send. For example,answer = current.ClientJournal.hasChanged();. Leave it empty to send on every matching operation. -
On the Recipients tab, write a script that sets
answerto the recipients. For example,answer = [current.Requestor(), current.RequestedFor()];. Save the record. -
On the Providers tab, select New under Provider configurations. Set Provider type to Email.

The Create Outbound notification provider dialog with Provider type Email, an empty Messaging template and the Messaging account and Context script tabs. -
Select a Messaging template, or select + in the field to create one. In the new template, enter a Name, keep Provider Type as Email, and fill in Subject and HTML Template. Select Create.

The Create Messaging Template dialog with Name, Provider Type, Subject and HTML Template fields. -
Leave Messaging account and From empty to use the default outbound account and its address. Set Send individually to Yes to send each recipient a separate email. Select Create.
-
Set Active to Yes on the notification and save it.
| Field | Behaviour |
|---|---|
| Priority order | The lowest matching value wins for each recipient. Notifications with equal values all send. |
| Send to initiator | Yes includes the user whose change fired the notification. |
| Process auto replies | Yes lets updates from auto-reply emails fire the notification. They are ignored by default. |
| Send individually | Yes sends one email per recipient and ignores CC and BCC recipients. |
Result
The next create or update that matches the table, type and condition creates an outbound email record in Administration → Messaging → System emails with status Ready. The Outbound email processing job sends it within a minute. To try a notification without emailing real people, redirect outbound email first.