VBScript
This is a VBScript constant defined to the value of 3. This constant will be used to set the Scope of a persistent variable to the global scope.
Variables in the global scope are visible/accessable for all scripts of all users and groups.
This is the default scope of every new persistent variable if being used outside a call routing script (new in v1.1.0). If being used inside of a user call routing SCOPE_USER is the default scope. If being used inside of a group call routing SCOPE_GROUP is the default.
Dim Announcement Set Announcement = new PersistentVariable Announcement.Name = "Welcome" Announcement.Scope = SCOPE_GLOBAL
The above example defines a persistent variable in the global scope. This variable is visible and accessable for all scripts of all users and groups.
By Tom Wellige