Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

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

That sounds really good. I will look into this. Can you select which scan results should trigger stories? I am assuming instance scan may create stories for various types of findings and not just plugins which need to be updated.

Creating a story is not out-of-the-box Instance Scan, although its a 5 minute task to create a Flow to do so. You could indeed have a flow which runs on every Scan Finding generated, though you could also choose to have a Flow on individual Scan Checks or grouped Scan Checks. Personally I wouldn't go for one flow which rund on every Scan Finding.

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

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

LinkedIn

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

Excellent - Thanks Mark.

Chris Walker1
ServiceNow Employee
ServiceNow Employee

Chaz,

 

In addition, there is an Admin Workspace that consolidates instance updates - see screenshot below:

ChrisWalker1_0-1699019962440.png

Located under the Admin tab

ChrisWalker1_1-1699020003274.png

From there it will drill you down to the Plugins page.