Jump to content
Tom Wellige

5.3 - Scopes - SCOPE_GLOBAL

Recommended Posts

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.

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 call routing script SCOPE_USER is the default scope.

Dim Welcome
Set Welcome   = new PersistentVariable
Welcome.Name  = "Welcome"
Welcome.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.


Other available scopes:




<< Previous 5.2 - Scopes - SCOPE_USER

>> Next 6.1 - Miscellaneous - Database field definitions


Share this post

Link to post
Share on other sites

  • Create New...

Important Information

By using this site, you agree to our Terms of Use and have taken note of our Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.