Skip to content

Instantly share code, notes, and snippets.

View jonnyfiveconsulting's full-sized avatar

JonnyFive jonnyfiveconsulting

View GitHub Profile
@jonnyfiveconsulting
jonnyfiveconsulting / kbpocalypse.js
Created September 6, 2019 12:44
ServiceNow kbpocalypse: This script will find all dictionary entries that are using 2020-01-01 as a default date, and tell you the number of impacted records.
/*
This script will find all dictionary entries that are using 2020-01-01 as a default date, and tell you the number of impacted records.
To actually make changes, you will want to change the update flag to true;
*/
//change this flag to true if you want to update the dictionary entries and affected records
var update = false;