GlideRecord

/Tag: GlideRecord

Copying a Variable Set

By | 2018-07-09T15:00:10-06:00 May 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 [...]

GlideRecord Query Cheat Sheet

By | 2018-07-09T15:00:12-06:00 February 23rd, 2010|Categories: Scripting|Tags: , , , |

Idoubt if there’s a single concept in Service-now that is more valuable to understand than how to use GlideRecord methods to query, insert, update, and delete records in your system. These methods have a wide variety of uses and are found at the heart of many of the business rules, UI actions, and scheduled job scripts [...]