Define Templates
Templates enable you to define the format for alert notifications.
To define templates for a Resource alert:
-
On the Add Resource Alert page, click the Templates tab and then click Add Template.
-
Enter a name for the template and select the default language. The character limit for template name is 80.
By default, the template is enabled.
-
Click Edit and select Manage Recipients and Message.
-
On the Edit Template page, click Add Recipient.
-
In the Communication Method column, select email or worklist from the list of values.
-
In the Expression field:
-
Add the expression for the email address or user name of the recipient.
-
Add comma-delimited expressions for email addresses or user names of multiple recipients.
or
-
Click the Expression icon to build the expression.
-
In the Edit Expression dialog box, follow one of these steps:
-
In the Literal field, enter the expression directly, for example, john.smith@oracle.com.
-
Select the parameters to build the expression, for example,
${workers.emails.EmailAddress}
. See Functions and Groovy Expressionsfor more examples.
-
-
Click Apply. The expression appears on the Edit Template page.
-
-
-
In the Message section, set up the notification format.
-
Select the HTML or Text format for the message text.
-
Enter the message subject. You can also insert expressions in the subject using the Expression icon.
-
In the Group By field, specify an expression for the attribute that the message should be grouped by.
-
Use the rich text editor to format the message text. You can select options such as font, size, style, and so on.
-
Enter the message text. You can also include expressions in the text.
Use the Insert Expression option to build expressions and insert them into the message text.
-
-
Click Apply to save the changes and return to the Add Resource Alert page.