There’s two types of password fields in ServiceNow — this goes both for creating a new field, and creating a new system property. Here’s the skinny on how they’re different and how to use them…
Scripting
Bite #4: Workflows should never contain current.update()
Can using current.update() within a workflow’s script activity cause harm?
Bite #3: Store Sys IDs in User Preferences
Learn the best way to point to a particular group record from a script.
Bite #1: Global Business Rules are Bad News
What is a Global Business Rule? These are business rules that are created with “Global” in the Table field. In the past these were used to define functions and other useful code that the developer wanted to use throughout the… Read More ›
How to Use Background Scripts
What? Background Scripts are Service-Now’s most direct method to run JavaScript directly against the server. This makes them an excellent way to test out the code intended for use in Script Includes, Scheduled Jobs, and Business Rules. Additionally, this is… Read More ›
GlideAggregate Examples
Previously, I posted an example of how to get distinct records using GlideAggregate. Today I want to share some further powerful examples of GlideAggregate. First off, you can grab the JavaScript file for GlideAggregate showing all the functions you can… Read More ›
Getting Distinct Records
Every once in a while, I run into a situation where I need a list of distinct values from a table. The latest situation I ran into for this, I needed to get a distinct list of every user that… Read More ›