Configure notification templates
You can configure notification templates to quickly construct the body of a message sent to predefined users.
Overview of notification templates
Notification templates are preconfigured notifications that you can use to quickly construct the body of a message. You can use notification templates with the following PPM entities:
-
Tasks
-
Projects
-
Requests
-
Packages
-
Releases
-
Workflows
-
Reports
Configure notification templates
You can create, edit, copy, and delete notification templates from the PPM Workbench.
To create a new notification template:
-
From the PPM menu, click Open > Administration > Open Workbench.
-
On the shortcut bar, click Configuration > Notification Templates.
-
Click New Notification Template.
-
In the Template Name field, enter a name for the template.
-
To indicate the range of use for this new notification, from the Notification Scope list, select a PPM product area.
Note: The default notification scope is Packages. Selecting a different scope changes the notification template format.
-
From the Notification Format list, specify the message format:
- Select Plain text or HTML if the notifications are to be sent via email.
-
Select YAML if the notifications are to be sent by PPM Chatbot.
Note: For Chatbot to send notifications, you should enable PPM Chatbot. For details, see PPM Chatbot.
-
To make this template available in PPM, select Yes for the Enabled option.
-
To make this template the default notification template for PPM, select Yes for the Default option.
-
Specify the email address from which the notification is sent:
-
In the From row, click Choose.
-
From the list at the top of the Email Header Field window, select the sender category.
The context-sensitive required field is dynamically updated to gather the necessary information for that category. For example, if you select Enter an Email Address from the list, then it is necessary to specify an email address. If you select User Defined Token, click Tokens to select a token from the list or enter a specific token in the field.
-
Complete the required field.
-
If you select User Defined Token, select the token type that corresponds to the evaluated token value.
-
In the Email Header Field window, click OK.
-
-
In the Notification Template window, provide a reply-to address:
-
Next to From, click Choose.
-
In the Email Header Field window, select the recipient category.
The context-sensitive required field is dynamically updated to gather the necessary information for that category. For example, if you select Enter an Email Address, then you should provide an email address. If you select User Defined Token, click Tokens to select a token from the list or provide a specific token in the field. .
-
Complete the required fields.
-
If User Defined Token is specified, select the token type that corresponds with the evaluated token value.
-
In the Email Header Field window, click OK.
-
-
In the Body field, type the notification content.
Ensure that the message body format is the same as that specified in Notification Format.
Note: If you use HTML as the notification format, make sure the there is only one dot (.) in the front of each css class, so that PPM email client can follow the RFC.
-
In the Body field, add tokens to the body of the text:
-
Click Tokens.
-
In the Token Builder window, select a token.
-
In the Token field, copy the token name and then paste it in the Body field.
-
Click Close.
-
-
Configure the ownership of the notification template.
For detailed information about how to configure the ownership of the notification template, see Configure ownership for notification templates.
-
Click OK.
To edit, copy, or delete a notification template:
- Open the PPM Workbench.
- On the shortcut bar, click Configuration > Notification Templates.
-
Select the target notification template and perform the following actions:
- To edit the notification template, click Open and make required changes.
- To copy the notification template, click Copy and provide a name for the template.
-
To delete the notification template, click Remove and click Yes in the confirmation dialog box.
Note: You cannot delete notification templates that are referenced from an existing notification. To delete such a notification template, you must first remove these references. For information about how to check if a notification template is referenced, see Check notification template usage.
Configure ownership for notification templates
You can configure ownership for custom notification templates, and not for the preconfigured templates.
To configure the ownership for a custom notification template:
-
On the PPM Workbench shortcut bar, click Configuration > Notification Templates.
-
Open a custom notification template from the Notification Template Workbench.
-
At the bottom of the Notification Template window, click Ownership.
-
In the Ownership window, select one of the following ownership options:
-
All users with the Edit Notification Template Access Grant
-
Only groups listed below that have the Edit Notification Template Access Grant
-
-
If you select Only groups listed below that have the Edit Notification Template Access Grant, do the following:
-
Click Add.
-
In the Add Security Groups window, use the Security Groups auto-complete to select one or more security groups.
-
Click OK.
The Ownership tab lists the selected security groups.
-
-
Click OK.
The changes to the notification template are saved.
Ownership groups are defined by adding security groups to the Ownership window. If no ownership groups are associated with a particular notification template, the template is considered global and any user who has the edit access grant for the template can edit, copy, or delete it. For detailed information about access grants, see the Security Model Guide and Reference.
If a security group is disabled or loses the edit access grant, members of that group can no longer edit the entity.
Configure notification intervals
You can configure how long it lasts before another notification is sent.
To configure notification intervals:
-
Open the PPM Workbench.
-
On the PPM Workbench shortcut bar, click Configuration > Notification Templates > Intervals.
-
In the Notification Intervals window, click New.
The Notification Interval: New window opens to the Interval tab.
-
Provide the information described in the following table.
Field Name
(*Required)
Description
*Interval Name
Name of the interval.
Description
(Optional) Description of the interval.
*Interval Type
For internal use. This is always set to Periodic, unless Immediate Interval is used.
*Start Time
Time to start sending out notifications and to start counting down the time interval until the next batch.
*End Time
Time to stop sending out notifications.
*Time Interval (Hours)
Number of hours to wait after the start time or the last batch sent, before sending out the next batch of notifications.
*Days
Select on which days the interval is to execute.
*Enabled
Click Yes to enable the interval or No to disable the interval.
-
Click OK.
-
Click Close.
The new notification interval can now be used in any workflow step notification.
If notifications are sent at an hourly or daily interval, there are sometimes several notifications pending for a particular user. In this case, all notifications are grouped together in one email message. The subject of each notification is displayed in the Summary section at the top of the message.
Check notification template usage
You can check the usage of a notification template.
To check the usage of a notification template:
-
On the PPM Workbench shortcut bar, click Configuration > Notification Templates.
-
Open the target notification template.
-
Click Used By.
The Used By window opens and lists all references to the notification template.
-
Click OK.
-
In the Notification Template window, click OK.