User Object Cheat Sheet

By |2021-06-23T07:02:21-05:00June 23rd, 2021|Categories: Scripting|Tags: , , , |

N o matter what system you’re working in, it is always critical to be able to identify information about the user who is accessing that system. Being able to identify who the user is, what their groups and/or roles are, and what other attributes their user record has are all important pieces of information that allow [...]

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 [...]

Adding Icons to UI Action Buttons in ServiceNow

By |2019-08-22T14:07:31-05:00April 17th, 2017|Categories: Client scripts|Tags: |

It’s hard to believe that it’s been seven years since I wrote a post showing how you can use client scripts to manipulate the appearance of form UI action buttons. This solution has been used in countless ServiceNow instances to help add more clarity to form buttons and processes in the system. A few months ago, [...]

Client Side Dates in ServiceNow

By |2017-02-24T10:53:07-06:00February 22nd, 2017|Categories: Client scripts|Tags: , |

Dates on the client side in ServiceNow have always been challenging. Javascript has its own complexities in this regard and mixing this with ServiceNow’s date formats and user preferences can make it a nightmare. Here we walk through some of the methods of working with client side dates that make it MUCH simpler and allow us [...]

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 [...]

Go to Top