---
sourceDocument: Xanadu API Reference
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/api-reference

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu API Reference

ft:clusterId :

    - crapiref

bundleId :

    - crapiref

workflow :

    - Creator


---

# GlidePluginManager - Scoped

# GlidePluginManager - Scoped {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

The scoped GlidePluginManager API provides a method for determining if a plugin has been activated.

## GlidePluginManager - isActive(String pluginID) {#ariaid-title2}

Determines if the specified plugin has been activated.
{#r_ScopedGlidePluginManager-isActive_String__table_vrc_dwv_ht__entry__3}

| Name | Type | Description |
|-|-|-|
| pluginID | String | Unique plugin identifier. |
[Table 1. Parameters]

{#r_ScopedGlidePluginManager-isActive_String__table_vrc_dwv_ht} {#r_ScopedGlidePluginManager-isActive_String__table_wrc_dwv_ht__entry__2}

| Type | Description |
|-|-|
| Boolean | Flag that indicates if the plugin is active. Valid values: * true: Plugin is active. * false: Plugin is inactive. {#r_ScopedGlidePluginManager-isActive_String__ul_lxk_vp2_rmb} |
[Table 2. Returns]

{#r_ScopedGlidePluginManager-isActive_String__table_wrc_dwv_ht}  

    var now_GR = new GlideRecord('sys_plugins');
    var queryString = "active=0^ORactive=1";
    now_GR.addEncodedQuery(queryString);
    now_GR.query();
    var pMgr = new GlidePluginManager();
     
    while (now_GR.next()) {
       var name = now_GR.getValue('name');
       var pID = now_GR.getValue('source');
       var isActive = pMgr.isActive(pID);
       if (isActive) 
           gs.info('The plugin ' + name + ' is active');
    }

Output:

    The plugin Country Lookup Data is active
    The plugin Database Replication is active
    The plugin REST API Provider is active
    The plugin Ten Cool Things is active


