- Post History
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
03-15-2024 05:02 AM - edited 08-13-2024 11:37 AM
var UpgradeMonitorUtilAjax = Class.create();
UpgradeMonitorUtilAjax.prototype = Object.extendsObject(AbstractAjaxProcessor, {
getListDeactivatedNotifications: function() {
var TableName = 'sysevent_mail_action',
EncodedQuery = 'active=false^sys_updated_by!=admin^sys_updated_by!=fred.luddy';
var grRecord = new GlideRecord(TableName);
grRecord.addEncodedQuery(EncodedQuery);
grRecord._query();
var recordArr = [];
while(grRecord._next()) {
recordArr.push(TableName + '_' + grRecord.getUniqueValue());
}
return recordArr;
},
});---
That's it. Hope you like it. If any questions or remarks, let me know!
| C |
If this content helped you, I would appreciate it if you hit bookmark or mark it as helpful.
Interested in more Articles, Blogs, Videos, Podcasts, Share projects I shared/participated in? |
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
9x ServiceNow MVP
---
- 12,217 Views
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Skipped Record Rules in action… a week ago one of my customers upgraded their ServiceNow dev environment from Washington DC Patch 1 Hotfix 2 to Patch 2.
- 136 Skipped Records in total
- 132 were automatically tagged
- 130 were automatically reviewed and taken action on
Leaving only a few Skipped Records to manually review. Huge time-saver, less repetitive manual tasks, less error-prone.
Skipped Record Rules was also one of the topics covered in last week's CJ & The Duke episode.
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Great article @Mark as always! Thank you!
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Hello Mark,
Great article as always.
QQ: I created a rule to test one Notification as below however system shows no record exists that match condition when there is one. What am I missing here ?
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Hi @Mark Roethof, thanks for the article.
It looks like one of the images in it is duplicated, however- the image for showing how to use a script include as a condition instead shows the picture for how to manually run a skipped rule.
What's the appropriate way of applying a script include as the condition?
Thanks!
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Hi @Mark Roethof, Great article. Thank you!
Concerning the possible resolution actions, will the "Revert and Keep Inactive" inactivate the reverted version, only if it's already inactive, or will it inactivate an active object reverted?
We are considering using this for all sp_widget but I wouldn't want to deactivate any of them if they are not already deactivated.
Thank you
Alain
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
That's a great article thanks for your insights on skipped record rules. If a record is on its OOTB version and never customized before, why did SerivceNow report a skipped record instead of directly patching them.
Regards,
Sai
