Josh Nerius

Josh Nerius

3 minute read

CreatorCon is just around the corner. Right around this time every year, the reality sets in: I HAVE TO PACK! I then start the process of trying to remember all of the things that I wish I’d remembered last year - what to bring, what to wear, what to prepare for. Here’s the rundown on how I enjoy (and survive) Knowledge every year.

Wear Comfy Shoes No, seriously. Everyone has been talking about this for weeks now, but don’t take this lightly.

Josh Nerius

5 minute read

In the first post in this series titled Import Series Part 1 - Getting Started with Import Sets , I set up a simple Import Set to Load and Transform Chicago Park District data into Location records. In that post, we glossed over some big topics. In this post, we’re going to address: Just what exactly is happening when you use the “Load Data” module? How do all of these pieces fit together?

Josh Nerius

2 minute read

YouTube video: https://www.youtube.com/watch?v=8_yHYAPDpvw The live coding team: josh.nerius, ctomasi This week, we returned to the topic of OAuth and learned how to generate OAuth tokens per user instead of per REST Message/Method. When calling some APIs, sharing a single token between every user in ServiceNow is not always appropriate and instead we want each user to have their own token. Examples: Calling the Dropbox API and interacting with the currently logged in user’s files Calling the GitHub API and forking repositories on behalf of the current ServiceNow user Video Index 00:00 - Intro

Josh Nerius

1 minute read

Did you know it’s easy to give your users Unsubscribe and Manage Preferences links in your outbound emails? This can be accomplished using two new macros available with the Istanbul release: ${NOTIF_UNSUB} ${NOTIF_PREFS} To use these macros, simply place them in the body of your notification or Email Layout.

What Users See Here’s an example of what users will see.

Clicking Unsubscribe Clicking Unsubscribe launches the user’s default email client and pre-populates the email with the information needed to unsubscribe.

Josh Nerius

7 minute read

In Inbound OAuth Auth Code Grant Flow Part 1 - Getting Started with Postman, we configured Postman to use the new OAuth functionality available in Istanbul. In this post, we’re going to implement this functionality in a real web application. A Few Notes About the Node.js “My Work” App The ServiceNow Interfaces team has released a series of sample applications that demonstrate the use of ServiceNow APIs. These apps are available on GitHub here, and are great resources for learning more about ServiceNow APIs and getting some example code up and running quickly.

Josh Nerius

5 minute read

This post is the first in a series about Import/Export topics. The goal is to get you up to speed on Import Set concepts and to walk you through the process of setting up an Import Set from scratch. While this initial post is focused on building an import set, we’ll dig into the theory and what happens behind the scenes in future posts. If at any time you get lost on a step, skip ahead and watch the animated GIF summary for that section!

Josh Nerius

4 minute read

As highlighted in What’s New for Developers in Istanbul - Integrations, APIs, Authentication, the Istanbul release introduced Outbound Web Services Logging. This feature is a major quality-of-life enhancement for anyone working with integrations, and some potential benefits include: Write fewer gs.debug/log/info/etc. statements in your code and simplify the debugging process Quickly pinpoint the source of an outbound HTTP request Look at the history of requests made by a particular integration Analyze the volume of requests made by a particular integration What gets logged?

Josh Nerius

4 minute read

As highlighted in my New Integration/API and Authentication Features Blog Post, Istanbul introduces two new inbound OAuth 2.0 flows: Authorization Code Grant Flow Implicit Grant Flow These flows allow you to build apps that interact with ServiceNow APIs without needing to be directly aware of an end user’s username/password. Some possible use cases include: Building a mobile (iOS or Android) app that interacts with task records in a ServiceNow instance Building a web application that interacts with ServiceNow on behalf of your users This blog post is a quick tutorial to:

Josh Nerius

4 minute read

The Istanbul release introduces some very exciting features for APIs and Authentication. This post will bring you up to speed on what’s new, and we’ll follow up with more detailed posts about individual features in the coming days/weeks. New Inbound OAuth 2.0 Features Have you ever tried to build an app that integrates with ServiceNow, only to find that you couldn’t issue API calls on behalf of a specific user unless that user had credentials stored locally in the instance?

Josh Nerius

2 minute read

YouTube video: https://www.youtube.com/watch?v=NyFooBktJNE The Live Coding Team: josh.nerius, dave.slusher, ctomasi In last week’s Live Coding Happy Hour, we picked up where we left off previous week and figured out how to programmatically get an OAuth Access Token from the oauth_credential table for our Bit.ly integration. Video Index 04:04 - Quick recap of what we did last week 06:59 - We want to get the token dynamically 09:13 - Exploring the oauth_credential table 22:16 - We have a working script to retrieve the token!