Jump to content
  • 5.4 - SCOPE_GLOBAL

    5.4 - SCOPE_GLOBAL

    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.

     

     


    Tom Wellige
     Share


     Share




×
×
  • 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.