NotificationAddress method: notification classes class
Syntax
NotificationAddress(Oprid, Description, Language, EmailId, Channel)
Description
Use NotificationAddress to instantiate a notification address.
This address is used to build a notification using the Notification class. This class is required if you want to use the Notification data type.
Parameters
| Parameter | Description |
|---|---|
|
Oprid |
Specify the user ID of the person receiving the notification, as a string. |
|
Description |
Specify the description of the entity receiving the notification (distribution group names, people's names, and so on) as a string. |
|
Language |
Specify the language code of the entity to be notified as a string. |
|
EmailId |
Specify the email address as a string. |
|
Channel |
Specify the 'channel' used for the notification, as a string. The values are: |
| Value | Description |
|---|---|
|
|
Notification is sent as email |
|
Worklist |
Notification is sent as a worklist |
Returns
None.
Example
import PT_WF_NOTIFICATION:*;
import PT_WF_WORKLIST:*;
Local NotificationAddress &MyNotify_Addy;
&MyNotify_Addy = Create NotificationAddress(%UserID, &Description, %Language,⇒
&EmailID, &Channel);
Related Topics