Create an outbound notification
Create an outbound notification that emails the people you choose when a record is created or updated.
Create an outbound notification when people need an email about a record change that no default notification covers. You get an Enhanced Notifications (v2) notification with one Email provider configuration.
Before you begin
- You need the
administratorrole. - Switch to the Administration workspace with the Workspace selector at the foot of the menu.
- An active outbound messaging account exists and the Outbound email processing job is active. 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 scripts ready. Notification recipients and content has examples.
- Know which messaging template the email uses, for example the default “Work - with Summary & Client Journal”.
Steps
-
Go to Messaging & notifications → Notifications & templates → Outbound notifications.

The Outbound notifications item in the Messaging & notifications menu. -
Select New. The Create Outbound notification form opens.

The empty Create Outbound notification form, with Name, Priority order, Active, Version, Table, Related journals, Type, Send to initiator and Process auto replies. -
Enter a Name and select the Table whose records the notification watches.
-
Set Version to Enhanced Notifications (v2). The Providers tab replaces the Email provider tab.
-
Set Type to Create, Update or Create/Update, for the change that sends the notification.
-
On the Condition tab, enter a script that sets
answerto true when the notification is to send. To send on every change of the chosen type, enteranswer = true;. A notification with an empty condition does not send.answer = current.ClientJournal.hasChanged(); -
On the Recipients tab, enter a script that sets
answerto the recipients.answer = [current.Requestor(), current.RequestedFor()]; -
Select Create. Servicely saves the notification, which is inactive.
-
On the notification’s Providers tab, select New under Provider configurations. The Create Outbound notification provider dialog opens.

The Create Outbound notification provider dialog with Provider type Email, Messaging template, Send individually, and the Messaging account and Context script tabs. -
Set Provider type to Email and select the Messaging template.
-
Select Create in the dialog.
-
Set Active to Yes on the notification and select Save.
Result
The next create or update on the table that meets the condition creates an outbound email with the status Ready. It is listed under Messaging & notifications → Message logs → System emails. The Outbound email processing job sends it within a minute. On an instance that redirects outbound email, the email goes to the redirect address or is not sent.
Options
| Setting | Effect |
|---|---|
| Priority order | When several notifications match, those with the lowest value send to all their recipients. One with a higher value sends only to addresses not yet notified. Default: 0. |
| Send to initiator | Yes also sends to the user who made the change, when they are a recipient. Default: No. |
| Process auto replies | Yes lets a change made by an inbound auto-reply email send the notification. Default: No. |
| Send individually, on the provider configuration | Yes sends each recipient a separate email. Default: No. |
| Messaging account and From, on the provider configuration | Scripts that choose another account and sender address. Empty uses the default Email messaging account and its address. |
| Context script, on the notification or the provider configuration | A script that passes named values to the template. |
Variations
Send the notification from a script
Set Type to Scripted. The notification then sends only when a script calls it, and its condition is not tested. Notification recipients and content shows the call.
Create the messaging template from the provider dialog
-
In the Create Outbound notification provider dialog, select + in Messaging template. The Create Messaging Template dialog opens.

The Create Messaging Template dialog with Name, Active, Provider Type, Table, Outbound notification template, Email client template, Subject and HTML Template. -
Enter a Name and keep Provider Type as Email.
-
Enter the Subject and the HTML Template.
-
Select Create in the Create Messaging Template dialog.