Dave Slusher

Dave Slusher

4 minute read

During our flurry of posts about Madrid features, I posted about some of the changes to Automated Test Framework . There were a few pieces that I didn’t mention so I am going to round that out over time, starting with testable components. Speaking personally, ATF is one of my favorite new development tools of the last three years. What can I say, I love having robots working for me.

Dave Slusher

9 minute read

One of the many exciting features of the Madrid release is that inclusion of JWT (JSON Web Tokens) as a supported authentication type. Before this feature, I had been working with very limited success to help a Box user integrate with ServiceNow via JWT. JWT are non-trivial to construct and require access to cryptographic tools, so having them in the platform is a big step up. I’m going to walk through the steps I took to get an integration working with Box.

Dave Slusher

3 minute read

As we continue our lightning tour of new developer-facing features of the Madrid release, we touch on some that are not net-new but include relevant changes. Today’s post is one of these. The London release featured the first release of Flow Designer APIs that allowed for invoking Flows via JavaScript APIs. That capability has been beefed up in Madrid and we’ll look at that. Server-Side Flow APIs The London release had two APIs, startAsync for Flows and SubFlows.

Dave Slusher

2 minute read

Much of the work for Flow Designer in the Madrid release has been towards achieving feature parity with Workflows. That is to say that any work that could previously be done in a Workflow could now also be done in Flow Designer. Here is one of those features. Do Until Loops This is a common bit of logic that is needed in any programming context, and now it is available in Flows.

Dave Slusher

3 minute read

One of the things that I personally enjoy exploring each release is what has changed in the Automated Test Framework. This is a capability that I love and I like watching it improve to the point where organizations can capture ever more of their testing needs with it. Let’s look at some of what is new in Madrid. Parameterized Tests One of the impediments to using the ATF at scale has been the handling of large quantities of test data.

Dave Slusher

5 minute read

It is quite common when developing and troubleshooting integrations that a ServiceNow developer may need some logging around API access. This logging can be required in both directions - in outbound API access of some external service or when providing an API for an external service to integrate inward to your instance. In this blog post, we will examine strategies for outbound logging. Log Levels There are three levels of Outbound Web Service Logging: Basic, Elevated and All.

Andrew Barnes Dave Slusher

2 minute read

2018 This has been an exciting year at ServiceNow and the Developer Program. We wanted to take a moment to thank all our readers that come visit the blog. From Andrew Joining ServiceNow this year and working with Dave Slusher has been a pleasure and I am looking forward to next year. We have traveled around the world in the last few months visiting with developers and writing blogs in airport lounges.

Dave Slusher

5 minute read

When the Automated Test Framework (ATF) was first released, I published an introductory post about it . I didn’t intend it to be 20 months and several family releases between parts but such is life in the big city. One of the upsides of a slow release schedule is that there are many advances to talk about when you get to Part 2. The introductory post talked about the basics and authoring a test.

Dave Slusher

6 minute read

One of the bits of ServiceNow development I have found the most challenging is dealing with Credentials and Aliases, specifically those for OAuth2. More then one session of Live Coding Happy Hour ended in failure specifically because of my inability to grasp a) what was happening at all in the OAuth and Credentials data model and b) where I should be looking for any specific piece of the puzzle. Compound that by the fact that our prime use of this is in our YouTube spoke where we wanted to have something in the scope and the spoke by default but I wasn’t exactly sure what that should be .

Dave Slusher

2 minute read

Share Spotlight Welcome to the Share Spotlight! Every Friday we will be spotlighting a project from the Share site on the Developer Portal. Bulk Download & Naming of Update Sets In this installment, we are looking at a utility called Bulk Download & Naming of Update Sets. In true shareable code fashion, this solves one discrete problem and solves it quite well. When you export and download an update set, you get a cryptically named file based on the sys_id of the update set record.