| Previous | Next |  | Contents | Index | Glossary

## Workflow Open Mail (Templated) Message

If you select the templated response method, the Notification system uses the Workflow Open Mail (Templated) message as a template for e-mail notifications that require a response. The notification template includes generic instructions on how to respond to a notification. It also includes the following information about a message: message priority, date that a response is due, and any comments from the sender of the message or, if the notification is forwarded from another user, any comments from the forwarder.

> Note: To select the templated response method, set DIRECT_RESPONSE=N in the configuration file for the Notification Mailer. See: To Create a Configuration File for the Notification Mailer.

The response instructions in the plain text message body describe how to reply manually using the templated response method. This message is used for notifications sent to performers with a notification preference of MAILTEXT or MAILATTH. The response instructions in the HTML-formatted message body describe how to reply using the automatically generated response template. This message is used for notifications sent to performers with a notification preference of MAILHTML, and is also attached to notifications sent to performers with a notification preference of MAILATTH.

The Workflow Open Mail (Templated) message has the following message attributes. The values are drawn from the message definition associated with a notification activity.

START_DATE | The date the message is sent.
TO | The role the notification is sent to; the performer.
SUBJECT | The subject line defined in the message.
BODY | The text of the body defined in the message.
COMMENT | Comments added by the sender or the forwarder.
PRIORITY | The priority of the notification message.
DUE_DATE | The date by which a response is required, specified in the notification activity.
NOTIFICATION | Required notification code used to identify the information in the notification.
RESPONSE | The user response section as defined by the Respond message attributes in the actual notification message definition.
MAILTO | The content of the HTML tag that a recipient would click on to respond to a notification. This attribute is used only for HTML e-mail notifications.

You can customize the boilerplate text that appears in the body of the Workflow Open Mail (Templated) message, where attributes preceded by an ampersand (&) are token substituted with runtime values when the notification is sent.

The boilerplate text for a plain text message body is as follows:

    Oracle Workflow Notification

    &COMMENT

    ____________Start of Response Template____________

    Response Template for &NOTIFICATION

    To submit your response, reply to this message, including this response template with your reply.  Copy and paste from this message if necessary to obtain an editable copy of the template. Insert your response value between the quotes following each response prompt.

    &RESPONSE

    ____________End of Response Template_____________

    Notification Details:

    &BODY

    Due Date: &DUE_DATE

The boilerplate text for a HTML-formatted message body is as follows:

    <HTML> <HEAD> <TITLE> Oracle Workflow Notification </TITLE> </HEAD>

    <BODY BGCOLOR="#FFFFFF" >

    <P><B><FONT SIZE=+1>&COMMENT</FONT> </B>

    <P>&BODY

    <P><B>Please click on one of the following choices to automatically generate an E-mail response.  Before sending the E-mail response to close this notification, ensure all response prompts include a desired response value within quotes.</B>

    <P>&MAILTO

    </BODY>

    </HTML>

See: Modifying Your Message Templates

| Previous | Next |  | Contents | Index | Glossary