Pro-Tips Blog

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

Using .addJoinQuery() & How to Query Records with Attachments in ServiceNow

Here’s a common question: > “How do I use a scripted GlideRecord query to get all records in a given table that have attachments?” Often, people in the Community Forums will suggest querying the table, iterating through every single record, running .hasAttachment() on every single one, and add

Tim Woodruff ·

Free, Simple URL Shortener for ServiceNow Nerds (snc.guru)

🛠️That’s right folks, it's yet another FREE ServiceNow tool on SN Pro Tips!🔧 This one is a URL Shortener that uses the fancy-fun-fresh "snc.guru" domain, so you can look like a really heckin' hoopy frood when you share a link to your blog

Tim Woodruff ·

New tool: Get Latest Version of ServiceNow Docs Page

Imagine you’re searching for an issue you’re researching in ServiceNow, and the first result you find on Google is a ServiceNow documentation page… from the Jakarta version of ServiceNow. It’s totally out of date. How do you make sure that you’re getting the latest version of this same page in

Tim Woodruff ·

How to return a CSV file from a Scripted REST API (SRAPI) in ServiceNow

I recently dealt with a requirement whereby I needed to export only certain columns from records on a given table that match a given query, to a CSV file. No problem, I said; that's easy. You just add ?CSV to the end of the table URL. Oh, but it's never that easy, is it?

Tim Woodruff ·

Adding a Guided Setup to Your ServiceNow Application

Very often, we’ll find ourselves writing a custom application (whether scoped or global) that requires some “setup” by the admin who installs it. Maybe we’re writing the app to be distributed to multiple ServiceNow customers, each with their own environments and needs; or maybe the app just requires

Tim Woodruff ·

Use Automated Tests to Validate "Guided Setup" Completion & Functionality.

Here's a Quick Pro-Tip: If you have an application which requires some setup or initial configuration, write ATF tests specifically to validate that the application is set up properly. Add executing the tests as a final step in your application's Guided Setup, and provide some m

Tim Woodruff ·

SN Guys is now part of Jahnel Group!

It’s finally here! We’re thrilled to announce that The SN Guys (which runs SN Pro Tips)will be joining forces with our new parent company, Jahnel Group! The Jahnel Group team is a passionate and dedicated group of over 100 software engineers with 20+ years of experience in the industry.

Jon Keller ·

Search