Previous  Next          Contents  Index  Glossary

Example 'Respond' Message Attributes

Following are examples of how the Notification System generates the Response section of an e-mail notification using a sample set of 'Respond' message attributes that have no default values.

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.

For the templated response method, the following boilerplate text is used to generate the Response template section of an e-mail notification:

<Description>
<Display Name>: " "
<list of lookup codes>

Portion of Resulting Response Template as Shown in a Templated Response E-mail Notification
Do you approve?
Action: " "
Approve
Reject
 
Review Comments: " "
 
If there is no required date, leave this blank.
Required Date: " "
 
This is the maximum approved amount.
Maximum Amount: " "

For the direct response method, the following boilerplate text is used to generate the Response section of an e-mail notification:

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.

Portion of Resulting Response Section as Shown in a Direct Response 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.


         Previous  Next          Contents  Index  Glossary