Skip Headers
Oracle Workflow Developer's Guide
Release 2.6.3
Part Number B10284-02 |
|
|
|
|
|
|
|
|
Previous |
Next |
|
Contents |
Index |
Glossary |
Notify Activity
The Notify function activity lets you send a notification, where the message being sent is determined dynamically at runtime by a prior function activity. To use the Notify activity, you must model a prerequisite function activity into the process that selects one of several predefined messages for the Notify activity to send.
Attention: Since the Notify activity is locked against modifications at access level 0, you cannot change the result type from its value of <None>. Therefore, the message that the function activity dynamically selects must not have a result type, that is, it can only be an informative message that does not solicit a response.
Attention: If you want the Notify activity to send a message that requires a response, then you must copy and create your own version of the Notify activity. Since any one of several messages (with response attributes) can be sent by your version of the Notify activity, you must model into your process all the possible notification results that can be returned.
Note: If you want to define an activity that always sends the same message, you should define a notification activity and not use this Notify function activity.
The Notify activity calls a PL/SQL procedure named WF_STANDARD.NOTIFY.
Activity Attributes
The Notify activity has two activity attributes:
- Message Name--the name of the predefined message to send. The prerequisite function activity that determines which message to send should store the name of that message in an item attribute. The Message Name activity attribute should reference that item attribute to determine the name of the message to send.
- Performer--the name of the role to which to send the notification message. If you load the roles from your database, you can select a constant role as the performer. Alternatively, you can set the performer to an item attribute that returns the name of a role at runtime.
- Expand Roles--takes as its value, the lookup codes "Yes" or "No". Set Expand Roles to Yes if you wish to send an individual copy of the notification message to every user in the role. See: To Define Activity Attribute Values.
Copyright © 2003 Oracle Corporation.
All rights reserved.