PostRank

2007/04/12

workflow 邮件内容修改求教

解决办法如下:
1、此邮件是 workflow 系统发出的邮件。邮件的内容默认是按照系统的模版来进行发送的。
2、 workflow 系统默认是用此邮件的模版发送邮件的,如果你不想使用系统的模版,自己定义模版,你需要
用erp oracle database 用户登录,
sqlplus @afsvcpup.sql
运行此脚本,需要设置三个参数
第一个 component ID 你需要登陆 OAM 到workflow manager 去Workflow Notification Mailer 查找一下就知道了。
第二个 parameter ID 你需要填入 Y
第三个 我没有填写。
3、知道了系统发送邮件的模版格式之后,我用 workflow clinets 登陆之后,打开 “系统:邮件程序”,找到messages,然后找到 打开的邮件工作流 修改其属性保存即可。

oracle 模版文件格式如下:
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.
CLICK_HERE_ RESPONSE The content of the HTML tag that a recipient would click on to access the Notification Details page to respond to a notification. This attribute is not currently used.
SENDER The name of the sender of the message, as displayed in the From column in the Worklist. This attribute is not currently used.
HEADER Standard header attributes and any custom header attributes defined to hold key information for the message. See: Header Attributes, Oracle Workflow Developer's Guide.
HISTORY The history of actions on the notification.
TIMEZONE The time zone of the dates and times displayed in the notification, based on the time zone of the server from which the notification was sent. This attribute is not currently used.
You can customize the boilerplate text that appears in the body of the Workflow Open Mail (Direct) 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
&TIMEZONE
____________________________________________________
Response Instructions for &NOTIFICATION
To submit your response, reply to this message, including this note with your reply. The first lines of your reply must be your responses to the notification questions. Instructions below detail exactly what should be placed on each line of your reply.
&RESPONSE
____________________________________________________
Notification Details:
&HEADER
&BODY
Due Date: &DUE_DATE
&HISTORY
The boilerplate text for a HTML-formatted message body is as follows:

Oracle Workflow Notification

&TIMEZONE

&HEADER

&BODY

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.

&MAILTO

&HISTORY

沒有留言: