ALAndy Lordinlordy.hashnode.dev·Aug 23, 2025 · 2 min readValidating Arbitrary GlideRecord Queries in scripts [ ServiceNow]One thing I often find myself doing is writing wrapper functions around GlideRecord to connect the application and the data model to the GlideRecord in a constant and reusable way. These wrapper functions (or ‘convenience’ functions) often take some ...00
ALAndy Lordinlordy.hashnode.dev·Aug 23, 2025 · 3 min readgs.getProperty() - avoiding Lost Property [ServiceNow]Personally, there are a couple of things I don’t like about gs.getProperty() .... The ServiceNow GlideSystem method gs.getProperty() is a frequently used function to store configurations outside of the code. This is best practice. It returns null i...00
ALAndy Lordinlordy.hashnode.dev·Aug 15, 2025 · 2 min readTruthy/Falsy behaviour in ServiceNow JavascriptI had a strange issue the other day - I was reviewing some Javascript code in a Script Include I had written some time before. I was convinced it should have a bug, but it passed extensive testing with flying colours. The code was something like: va...00