Avoiding the Pass-by-Reference JavaScript Pitfall in ServiceNow

A commonly encountered and potentially difficult to debug issue associated with writing scripts in ServiceNow is the case of unintentionally working with a reference to a javascript object property instead of the property’s value. This is most commonly encountered in instances where you are iterating through the results of a GlideRecord query. Below you will find an […]
Background script for creating choice values quickly

Creating Choice Values via Script Have you ever found yourself performing the tedious activity of manually creating values for a sys_choice field? When only a handful of values need to be created, the process is not much of a burden, but having to create 20, 30, or more values can be a time consuming bear […]
