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…
JavaScript
Bite #15: Using SAMEAS in GlideRecord Queries
A few versions ago, ServiceNow added the ability in filters to query for records where one field was “the same as” another field. Here’s how to do this in a GlideRecord.
Bite #14: Display Business Rules & g_scratchpad
One of the core principles to maintain optimal performance in ServiceNow is: Minimize round trip server calls from client scripts. Let’s explore one method of eliminating the need for such occurrences.
Live Feed – Person Tagging
Live Feed has a serious flaw compared to social networks like Yammer, and Facebook. You cannot currently use the @ symbol to “tag” someone. This update set is a first attempt at building this functionality into Dublin/Eureka.
Bite #4: Workflows should never contain current.update()
Can using current.update() within a workflow’s script activity cause harm?
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 ›
Service-Now JavaScript Library Resource
Something that is missing when you get started with Service-Now development: a package of tools to make a developer’s life easier. A good part of the reasoning behind this, is that Service-Now intends for you to do all development directly… 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 ›