Previous  Next          Contents  Index  Glossary  Library

To Define a Message Attribute

Attention: You cannot update the internal name for an attribute once it is defined.

Caution: Do not include colons ":" or spaces in your internal name.

Text Specify the maximum length of the text attribute.
Number Optionally provide a format mask for your number.
Date Optionally supply a format mask for the date.
Lookup Choose the name of a predefined Lookup Type from which to draw values.
URL Specify a Universal Resource Locator (URL) to a network location in the Default Value field.
Form This attribute is relevant only with the version of Oracle Workflow embedded in Oracle Applications.
Specify the developer function name of a form and any optional form parameters in the Default Value field. See: Overview of Menus and Function Security, Oracle Applications Developer's Guide. The default value must be entered using the following format:
function_name:parameter1=value1 parameter2=value2 ... parameterN=valueN
valueN can be a text string, enclosed in quotes (" ") or can be token substituted with the value from another predefined item type or message attribute in any of the following ways:

Document Enter the name of the document management system and a document reference. In the future, you can specify any one of the following document types in the default value field:

Attention: Currently, only the PL/SQL document type is supported.

Role Specify a role name. You must initially load the roles from the database to display a list of roles to choose from. See: Roles.
Attribute Specify the name of an item type attribute that you want to maintain references to in a process by choosing from the list of existing item type attributes.

Attention: Do not specify a message attribute's data type as Attribute, as it serves no purpose in a notification message and is also not supported by the Workflow Notification System.

Note: A message attribute type of 'Text' is compatible with any item attribute type, but all other message attribute types must match the item attribute type exactly.

Attention: The order that you list 'Respond' message attributes in the navigator tree correlate to the order in which they appear in the response section of the notification message. You can use the drag and drop feature of the navigator tree to reorder a set of attributes, or select an attribute and choose Move Attribute Up or Move Attribute Down from the Edit menu.

Sample 'Respond' Message Attributes
Internal Name Type Format/Lookup Type Display Name Description
RESULT lookup WFSTD_APPROVAL Action Do you approve?
COMMENT text 2000 Review Comments  
REQDATE date DD-MON-YYYY Required Date If there is no required date, leave this blank.
MAXAMT number   Maximum Amount This is the maximum approved amount.

This boilerplate text is used to generate the Response section:

Enter the <Display Name> on line <Sequence>. <Description> <Type_Hint>

<Display Name> is replaced with the Display Name of the message attribute. <Sequence> is replaced with the relative sequence number of the 'Respond' message attribute as it appears in the Navigator tree among all 'Respond' message attributes (that is, the presence of 'Send' message attributes is ignored when determining the sequence). <Description> is replaced with the Description of the message attribute. In addition, <Type_Hint> is replaced with one of the following statements, if the message attribute matches one of these data types:

Type		Type_Hint
Lookup	Value must be one of the following:
			<list of lookup codes>
Date		Value must be a date [in the form "<format>"].
Number	Value must be a number [in the form "<format>"].
Text		Value must be <format> bytes or less.

Resulting Response Section in an E-mail Notification
Enter the Action on line 1. Do you approve? Value must be one of the following:
Approve
Reject
 
Enter the Review Comments on line 2. Value must be 2000 bytes or less.
 
Enter the Required Date on line 3. If there is no required date, leave this blank. Value must be a date in the form "DD-MON-YYYY".
 
Enter the Maximum Amount on line 4. This is the maximum approved amount. Value must be a number.

See Also

Using the Edit Button in a Property Page

To Copy an Attribute

To Respond to a Notification by E-mail


         Previous  Next          Contents  Index  Glossary  Library