- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2023 03:18 AM
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.
Solved! Go to Solution.
- Labels:
-
Platform and Cloud Security
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2023 11:58 AM
And here an example of a Scan Check which could find newer store application versions.
(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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2025 02:50 AM
Hi @an261998
sys_approval is used for approvals; it’s not a plugin.
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]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2023 03:40 AM
Thanks for this. Although I'm looking for a table view of the data presented on this particular UI.
I want to receive a notification when an update is available on a plugin rather than have to check it manually each time.
Anyone have any suggestions?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2023 05:08 AM - edited 10-04-2023 05:10 AM
1. Create a Scheduled Job:
Go to System Definition > Scheduled Jobs.
Click on New to create a new job.
Fill in the necessary details like Name, Description, and choose the appropriate script (JavaScript) that checks for updates.
2. Write a Script:
In the script, you'll want to write logic that checks for updates to the plugin. This may involve querying the ServiceNow instance or making API calls to check for updates.
3. Add Logic for Notification:
Within the script, you can include logic to send a notification when an update is available. This could be through email notifications or using ServiceNow's notification system.
4. Set the Schedule:
Specify how often you want this job to run. This could be daily, weekly, or at any interval that suits your needs.
5. Activate the Scheduled Job:
Make sure to activate the scheduled job once it's set up.
6. Monitor Notifications:
Now, you should receive notifications whenever the scheduled job detects an update.
Remember to tailor the script and notification mechanism according to your specific requirements and the nature of the plugin updates. Additionally, this process may vary depending on the specifics of your ServiceNow instance, so consult your admin or documentation if you encounter any issues.
Thanks & Regards,
Sayali Gurav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2023 08:27 AM
Thanks - that was the approach I was planning. Do you know which table or API to query?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2023 05:11 AM
Hi there,
You mean like store plugins which have a newer version? I haven't looked into a list or scheduled report. I'm using Instance Scan for this and scheduled Scan Findings are generated (which also create Stories for this).
Would a Scan Check also be an option for you?
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
