Returning Random Records Using GlideRecord

By |2018-07-09T15:00:07-05:00September 2nd, 2010|Categories: Scripting|Tags: |

I had a request from a client recently to generate a random list of records from a given table (specifically the Configuration Item table). These items would be used as a pool of records for a random audit of the records in that table. I don’t think this will be used all that often but I [...]

Copying a Variable Set

By |2018-07-09T15:00:10-05:00May 19th, 2010|Categories: Scripting, UI actions|Tags: , , |

This script was designed specifically for easily creating a copy of a variable set but it could be easily adapted to create a copy of any other record (and associated records) in ServiceNow. Rather than use a field-by-field copy technique, this script works more like an ‘insert’ on the records it touches. Because of this, you [...]

Go to Top