Pro-Tips Blog

Deep dives, tutorials, and practical guides for ServiceNow developers and admins.

We have a new book!

Introducing The ServiceNow Development Handbook, a concise guide to best practices for ServiceNow development and administration.

Tim Woodruff ·

Requiring Attachments (& Other Miracles) in Service Portal

Unless you're somehow still rocking UI15 and do most of your development on a Commodore 64, there's a good chance that by now you're at least vaguely familiar with ServiceNow's new(-ish) Angularized end-user front-end feature: the Service Portal. If you've tried to implement your Service catalog in

Tim Woodruff ·

Handling TimeZones in ServiceNow (TimeZoneUtil)

Dealing with Time Zones in ServiceNow can be a real nightmare. The only documented way to set the time-zone of a GlideDateTime object, is the setTZ() method. Unfortunately, this method requires a "TimeZone" object be pa

Tim Woodruff ·

What's New in ServiceNow: Jakarta (Pt. 1)

I don't know about you guys, but having worked with ServiceNow since the pre-Fuji days, I can hardly believe how far the platform has come in just a few short years.

Tim Woodruff ·

Powerful Scripted Text Search in ServiceNow

If you've ever searched from the list view of a given table, you may have seen the "for text" option next to the search box in the list header. This search box can be configured to directly search in any field which is displayed in the list view, but you can accomplish that just by clicking the

Tim Woodruff ·

Avoiding Pass-By-Reference Using getValue() & setValue()

Server-side GlideRecord objects contain an element for each field in the table that the record is in. These elements are not primitive values (strings, numbers, booleans), but Objects. The type of object is GlideElement, and the [GlideElement API](https://developer.servicenow.com/app.do#!/ap

Tim Woodruff ·

reCAPTCHA in ServiceNow CMS/Service Portal

There are a multitude of reasons that one might want to verify that the person submitting a form, is indeed a person, and not a robot. Perhaps you've got a public-facing CMS or portal page, or perhaps you just want to verify that users can't just script their way through auto-ordering loads of compu

Tim Woodruff ·

Pro Tip: Use updateMultiple() for Maximum Efficiency!

Although most of our free time has been spent focusing on writing the Learning ServiceNow book, we wanted to post a quick Pro-Tip to address an issue we've seen impact performance on nearly every instance we've worked on: The use of loop

Tim Woodruff ·

Search