Understanding Attachments in ServiceNow

This article was originally written in February 2016, but was last updated on 4/21/19.

Attachments in ServiceNow are not as straight-forward as email attachments, and it's not always obvious how to do what you want with them.

Recently, I needed to copy some attachments programmatically and otherwise fiddle around with attachments. After finding nothing in the ServiceNow product documentation, and very little through the usual search channels, I figured it was time to write an article about how to programmatically deal with attachments in ServiceNow. 

In this article, we'll learn how attachments really work in ServiceNow, how we can manipulate, copy, and even generate hashes for them (sometimes)! 

Read more

Using Custom Search Engines in Chrome to Quickly Navigate ServiceNow

How often have you wanted to do something like look up a record in a table by sys_id, look up a user by user_name, or jump straight to a table in ServiceNow just so you can run a query on it, but found yourself having to wait for the entire table to load, or having to navigate through several pages, waiting for each to load before you can get to the next?
For me, the answer is “multiple times, every single day”.

To that end, I’ve made this video on how to use custom Google Chrome search engines to make this process incredibly simple! Below the video, you’ll find some examples of useful “custom search engines” I’ve used in Chrome.

Click “Read more” to see the video, and some examples of how you can use this functionality!

Read more

Set Catalog Variables from URL Params (Free tool)

I've had this question come up over and over again in my career: "How do we populate variables on a catalog item or record producer, from the URL?" 

There are a couple of ways to do this, but often you'll see one-off solutions that require custom code for each and every catalog item, which also means that you have to know in advance, when designing the catalog item, what variables might be specified by URL, and how to populate them. 

I got tired of re-engineering the same basic solution over and over again, so I built a generalized tool. This tool adds to your system, a Variable Set. This variable set contains a catalog client script, but no actual variables (this is expected). The variable set is called “Parse sysparm_variables URI param”.

Once you’ve added the variable set to a given catalog item, you can populate any one or more variables in that catalog item, simply by manipulating the URL. Read on to learn more, or click here to jump straight to the tool/download page!

Read more

Outlook for Android Breaks Email Approvals (+Solution)

If you’re an Android user who uses Outlook (and who among us corporate tools is not blighted by that app on a daily basis?) you may have noticed that the Outlook app for Android has recently undergone something of a redesign recently.
I haven’t decided if I love or hate the new design personally, but however you may feel about it, it seems that they’ve done a bit more than just change the aesthetic.

That’s right, despite the fact that it’s been an IETF standard since July 1998 (see: RFC 2368), Microsoft just plum-forgot about one of the most basic functions of an email application - correctly processing mailto: links - and have now verified that this is a confirmed “feature limitation”. They “might consider adding this feature” in future updates, but for now, well, who needs standards, anyway?

Now hold on, because I can hear you saying:
“But Tim, you big dumb jerk with great hair, this is a ServiceNow development blog! Surely ranting about Microsoft is a bit silly here, isn’t it?”
And normally, yes, this would be merely a petty rant - one of my favorite kinds of rants -but in this case, the implications of this are important for us ServiceNow nerds.

Thanks to Nick Simonelli (ServiceNow developer at Chipotle - lucky jerk) for bringing this to my attention in the ServiceNow Slack community!

Read on to learn more (and see the solution)!

Read more