Is there a way of getting a list of plugins which require an update in LIST view?

Chaz_
Tera Guru

Hi,

 

I am hoping to have some sort of alert which can alert me when a plugin is available for an update. I know that this can be viewed from the plugins page, but this UI means that you have to visit this page manually.

 

Is there a list view of the same page which shows which plugins require an update? I am hoping to build a scheduled report to alert me when there are updates available? Or is there some better way of tracking when updates to plugins are available?

 

Thanks.

1 ACCEPTED SOLUTION

And here an example of a Scan Check which could find newer store application versions.

 

MarkRoethof_0-1696445864101.png

(function (engine) {

	// Define variables
	var table_name = 'sys_store_app',
		encoded_query = 'active=true';

	// Query record
	var grRecord = new GlideRecord(table_name);
	grRecord.addEncodedQuery(encoded_query);
	grRecord._query();

	// Create scan finding
	while(grRecord._next()) {
		if(grRecord.version != grRecord.latest_version) {
			engine.finding.setCurrentSource(grRecord);
			engine.finding.increment();
		}
	}

})(engine);

 

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

View solution in original post

15 REPLIES 15

Sayali Gurav
Tera Guru
Tera Guru

Hello @Chaz_ ,

1. Navigate to the Application Navigator.

2. Search for and select the "Plugins" module.

3. In the Plugins list view, you can apply a filter to display only the plugins that require an update.

    a. Click on the filter icon (funnel-shaped) on the top-right corner of the list view.

    b. In the filter conditions, you can add a condition like "Update Available" is true or "Status" is "Update Available".

    c. Apply the filter.

This will display a list of plugins that require an update in LIST view.

Please note that the exact steps might vary slightly depending on your specific instance's configuration or any customizations that have been made.

 

Mark helpful or correct if applicable.

Thanks & Regards,

Sayali Gurav

Update available is not present at sys_plugin table

so, it's not correct

It is under sys_approval_table

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

their is no table wit sys_approval

or sys_approval_table

 

can you ping me table name?