GlideRecord

Home/Tag:GlideRecord

GlideRecord Query Cheat Sheet

By |2021-05-20T10:57:45-05:00May 20th, 2021|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 [...]

Generate a GlideRecord Query for a List

By |2018-07-09T14:59:52-05:00August 14th, 2014|Categories: Scripting, System UI|Tags: , |

Have you ever wanted to get a quick GlideRecord Query for a list you’re looking at? I’ve wanted to do that many times. Sometimes it’s because I’m writing a business rule and sometimes I’ve got to run a background script to update some values. I ran into this yesterday when I was working on a scripted [...]

Checking for Modified or Changed Fields in Script

By |2018-07-09T15:00:01-05:00January 20th, 2011|Categories: Business rules, Client scripts|Tags: , , , , , , |

Working in Service-now, you’ll find that a lot of scripting tasks come down to identifying which fields changed on a form (client-side) or record (server-side). In this post, I’ll show you some different techniques to identify changed fields in both client-side, and server-side scripts. I’ll also show you a way that you can capture changed fields [...]

Distinct GlideRecord Query

By |2018-07-09T15:00:02-05:00January 19th, 2011|Categories: Scripting|Tags: , |

Here’s a cool tip that I’ve actually wanted to know how to do for a long time. I can’t take credit for it though. I got the idea from a post of a Service-now customer admin, Garrett Griffin. So, thanks to Garrett for the inspiration. I think this is worth sharing with a larger group of [...]

Go to Top