To Define a Rule for Automatic Notification Routing
1. Use a web browser to connect to one of two URLs.
<webagent>/wf_route.list[?user=<rolename>]
This URL can include an optional argument, as denoted by the square brackets []. You should omit the square brackets to pass the optional argument.
Replace the bracketed italicized text in the above URL as follows:
- <rolename> represents an internal role name that you want to query routing rules for. Note, however, that you can query for roles other than your current role only if your current role has workflow administrator privileges. See: Identifying the Oracle Workflow Administration Role.
<webagent>/wf_route.find
Note: You can also access the Find Notification Routing Rules web pages from the Oracle Workflow home page. See: Accessing the Oracle Workflow Home Page.
Attention: Both of these URLs access secured pages, so if you have not yet logged on as valid user in the current web session, you will be prompted to do so before the page appears. See: Secure the Workflow Database Connection Descriptor.
2. The Notification Routing Rules page for the role appears, listing all existing rules for the current role. Choose Create Rule.
3. In the Type poplist field, choose the item type to which this rule applies or choose Default if you want this rule to apply to notifications associated with any item type.
4. In the Message field, enter the internal name or display name of the message to which this rule applies. If Type is specified, but Message is blank, this rule applies to all notifications of the indicated item type. If Type is set as Default and Message is blank, this rule applies to all notification messages.
Note: If the intent of this rule is to automatically respond to a set of messages, then you must specify the name of the item type and message to which this rule applies, as different notification messages require different response values.
5. In the Action poplist field, choose the action that you want this rule to perform:
- Forward--forward the notification to a designated role.
- Respond--respond to the message with a set of predefined response values.
6. Choose Create Rule to display the Update Routing Rule page. The fields in this page vary depending on your rule's action.
7. Enter values in the Begin Date Active and End Date Active fields to specify the period that this rule should be active. Specify the date, using the default date format of your database. If you leave Begin Date Active blank, the rule is effective immediately. If you leave End Date Active blank, the rule is effective indefinitely.
Warning: Since you can define different rules for the same notification(s) to be effective at different times, the Notifications Routing Rules web page does not prevent you from defining multiple rules for the same notification(s). You should be careful to ensure that rules for the same notification(s) do not overlap in their effective dates. If multiple rules are effective for the same notification, the Automatic Notification Handler picks one rule at random to apply.
8. In the Comments field, enter any text that you want to append to the notification when the rule is applied. The comments appear in a special "Prior comments" field.
9. If your rule action is "Forward", enter the role display name that you want to forward the notifications to in the Forward To field that appears.
If your rule action is "Respond", set the response values that you want to automatically reply with in the Response section that appears for that message.
10. Choose Update Rule when you finish defining your rule.
11. Once the rule is processed, choose the Return to Notification Routing Rules link to display an updated list of your role's routing rules.