Scoped GlidePluginManager - isActive(String pluginID)

Determines if the specified plugin has been activated.

Table 1. Parameters
Name Type Description
pluginID String The plugin ID
Table 2. Returns
Type Description
Boolean True if the plugin has been activated.
var gr = new GlideRecord('sys_plugins');
var queryString = "active=0^ORactive=1";
pMgr = new GlidePluginManager();
while ( {
   var name = gr.getValue('name');
   var pID = gr.getValue('source');
   isActive = pMgr.isActive(pID);
   if (isActive)'The plugin ' + name + " is  active"  );


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