SCOPE Function (Notification)
Specifies the context in which the notification appears in the client.
[CurrSCOPE := ]SCOPE([NewSCOPE])
The parameter has the following values:
|LocalScope||The notification appears in context of the user's current task, on the page the user is currently working on. This is the default value.|
|GlobalScope||The notifications are not directly related to the user's current task. Note: GlobalScope is currently not supported, so do not use this value.|
The scope of the current notification.
For more information and a detailed example, see Notifications.
The following code creates a notification and sends it in the local scope.
MyNotification.MESSAGE := 'This is a notification'; MyNotification.SCOPE := NOTIFICATIONSCOPE::LocalScope; MyNotification.SEND;