Notifications

8 views

Overview


Plugins are software components that provide specific features and functionalities within a ServiceNow instance. This knowledge base article will explain how to view the list of records and changes performed by the plugin activation. 

What occurs during a plugin activation


During a plugin activation a table schema change (new tables, new columns, etc.) may be performed performed followed by the loading of new and/or updated configurations such as scripts, forms, ACLs, etc. Since some plugins depend on other plugins, in many cases, additional plugins will be activated. More information on how plugins are activated and dependent plugins can be found here.

ServiceNow plugins

Test Case


In this example, we'll show how to view what was loaded by the following plugin:

Agent Workspace [com.agent_workspace]

/nav_to.do?uri=v_plugin.do?sys_id=com.agent_workspace

 

Links to plugin contents and configurations:


These are all the additional plugins (aka. dependent plugins) which were also activated:
/sys_plugin_log_list.do?sysparm_query=plugin%3Dcom.agent_workspace%5ElogLIKEdependent

These are all the records loaded by the plugin Agent Workspace [com.agent_workspace]:
/sys_plugin_log_list.do?sysparm_query=logLIKEcom.agent_workspace%5ElogNOT%20LIKEdependent%5ElogNOT%20LIKEUsing%20plugin%20path

These are all the records loaded by all plugins activated when Agent Workspace [com.agent_workspace] was activated: 
/sys_plugin_log_list.do?sysparm_query=plugin%3Dcom.agent_workspace%5Elog!%3DLoading%20sys_db_object%20updates%5Elog!%3DLoading%20dictionary%20info%5Elog!%3DLoading%20unloaded%20data%5Elog!%3DLoading%20before%20fixes%5Elog!%3DLoading%20updates%5Elog!%3DLoading%20after%20fixes%5Elog!%3DLoading%20conditional%20content%5Elog!%3DPlugin%20activated/upgraded%20successfulyonONYesterday%40javascript%3Ags.beginningOfYesterday()%40javascript%3Ags.endOfYesterday()

If you know the date of the plugin activation and the name of the plugin, you can view the same information using the Application Files [sys_metadata] table. Use the 'Updated' column to narrow your search, then do a 'Group by' on the column 'Package':
/sys_metadata_list.do?sysparm_query=sys_created_onONYesterday%40javascript%3Ags.beginningOfYesterday()%40javascript%3Ags.endOfYesterday()

To view the tables that were added, you can use the Tables [sys_db_object] table. You can also use the 'Updated' column then perform a 'Group by' on the column 'Package':
/sys_db_object_list.do?sysparm_query=sys_updated_onONYesterday%40javascript%3Ags.beginningOfYesterday()%40javascript%3Ags.endOfYesterday()

 

Article Information

Last Updated:2018-10-31 14:27:37
Published:2018-10-31