---
original_url: "https://jace.pro/blog/how-to-activate-plugins-via-script/"
format: markdown
ai_optimized: true
---

How to activate plugins via script# How to activate plugins via script

July 21, 2019 [servicenow](/tags/servicenow/)

  Enable AI AnimationSometimes you have a whole bunch of plugins to install. No reason to keep your screen busy, you can script it, here’s how.

Some smart person named Ashby posted about this. I haven’t tested it out, but this seems promising and likely undocumented.

`//Partial Version
//you can check following URL to see if the work is finished. It is finished when the completion time is set and the percent complete is 100.
//<instance>/sys_execution_tracker_list.do?sysparm_query=name%3DPlugin%20Installer
var plugins = [];
plugins.push('com.snc.pa.change');
plugins.push('com.snc.pa.problem');
plugins.push('com.snc.pa.premium');
plugins.push('com.snc.pa.solution.library');
var main = new GlideMultiPluginManagerWorker();
main.setPluginIds(plugins);
main.setProgressName("Plugin Installer");
main.setBackground(true);
main.start();`Source: [https://community.servicenow.com/community?id=community_question&sys_id=e6db5e4bdb47ab002e8c2183ca9619a2#answer_a8ddb159db407388feb1a851ca9619fa](https://community.servicenow.com/community?id=community_question&sys_id=e6db5e4bdb47ab002e8c2183ca9619a2#answer_a8ddb159db407388feb1a851ca9619fa)

---
[View this page on GitHub](https://github.com/jacebenson/jace.pro/tree/main/./src/posts/2019/2019-07-21-how-to-activate-plugins-via-script.md).

[How to activate plugins via script](https://jace.pro/blog/how-to-activate-plugins-via-script/) [Jace Benson](https://jace.pro) ![Jace Benson](https://jace.pro/icon-512x512.png)

---

*This content is from Jace Benson's ServiceNow and tech blog at jace.pro*
*Original post: https://jace.pro/blog/how-to-activate-plugins-via-script/*
